lib/svgcode/gcode/program.rb in svgcode-0.6.0 vs lib/svgcode/gcode/program.rb in svgcode-0.6.1
- old
+ new
@@ -155,10 +155,12 @@
self << Command.cubic_spline(i, j, _p, q, x, y)
end
end
def arc!(x, y, i)
- self << Command.arc(x, y, i)
+ perform_cut(x, y) do
+ self << Command.arc(x, y, i)
+ end
end
def pos
Svgcode::SVG::Point.new(@x, @y)
end