HEADER_TEXT='%%\n(Generated by thlaser v%s inkscape plugin)\n(based on code from gcode_tools)\n\nG96 S90 (set spindle speed so M3/M5 will work)\n'%VERSION
HEADER_TEXT='%%\n(Generated by thlaser v%s inkscape plugin)\n(based on code from gcode_tools)\n\nG96 S90 (set spindle speed so M3/M5 will work)\n'%VERSION
...
@@ -585,7 +585,7 @@ class Gcode_tools(inkex.Effect):
...
@@ -585,7 +585,7 @@ class Gcode_tools(inkex.Effect):
ifself.options.generate_not_parametric_code:
ifself.options.generate_not_parametric_code:
f=" F%f"%self.options.feed
f=" F%f"%self.options.feed
else:
else:
f=" F#4"
f=" F100"
cwArc="G02"
cwArc="G02"
ccwArc="G03"
ccwArc="G03"
...
@@ -845,11 +845,11 @@ class Gcode_tools(inkex.Effect):
...
@@ -845,11 +845,11 @@ class Gcode_tools(inkex.Effect):
ifnotself.options.generate_not_parametric_code:
ifnotself.options.generate_not_parametric_code:
gcode+="""
gcode+="""
#1 = %f (Scale X - relative to the dimensions shown in svg)
1.0 = %f (Scale X - relative to the dimensions shown in svg)
#2 = %f (Scale Y - relative to the dimensions shown in svg)
1.0 = %f (Scale Y - relative to the dimensions shown in svg)