lib/svgcode/gcode/converter.rb in svgcode-0.2.0 vs lib/svgcode/gcode/converter.rb in svgcode-0.3.0
- old
+ new
@@ -65,10 +65,11 @@
@program.comment!(str)
end
def finish
unless @finished
- @program.home!
+ @program.clear!
+ @program.go!(0, 0)
@program.stop!
@finished = true
end
end