chiark / gitweb /
wip trying skeinforge again
[reprap-play.git] / Makefile
index 628cbf1b5daf70fae90a1dfa614e652726c259a6..a5307298986a1df7a56042f25b62725de27e8070 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,9 @@
 
 HRR=/home/reprap
 SLIC3R=$(HRR)/Slic3r/bin/slic3r
+SKEINFORGE=python $(HRR)/reprappro-software.git/skeinforge/skeinforge_application/skeinforge_utilities/skeinforge_craft.py
+
+CONFIG=slic3r-config.ini
 
 default:
 
@@ -8,5 +11,10 @@ default:
                openscad -o $@ $<
 
 %.gcode:       %.stl
-               $(SLIC3R) --load slic3r-config.ini $< --output $@
+               $(SKEINFORGE) $<
+
+#$(CONFIG) 
+#              $(SLIC3R) --load $^ --output $@
 
+%.gcode:       manual-gcode-generator %.m-g
+               ./$^ >$@.new && mv -f $@.new $@