chiark / gitweb /
wip trying skeinforge again
[reprap-play.git] / Makefile
index 47cfc9f2c040e7cfbcbc0f1cb67f7ca2ef896712..a5307298986a1df7a56042f25b62725de27e8070 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
 
 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
 
@@ -9,6 +10,11 @@ default:
 %.stl:         %.scad
                openscad -o $@ $<
 
-%.gcode:       $(CONFIG) %.stl
-               $(SLIC3R) --load $^ --output $@
+%.gcode:       %.stl
+               $(SKEINFORGE) $<
 
+#$(CONFIG) 
+#              $(SLIC3R) --load $^ --output $@
+
+%.gcode:       manual-gcode-generator %.m-g
+               ./$^ >$@.new && mv -f $@.new $@