Skip to content

Commit 795f71a

Browse files
committed
directionalize
1 parent a64ab5e commit 795f71a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gcodeplot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,7 @@ def help(error=False):
665665
-L|--stroke-all*: stroke even regions specified by SVG to have no stroke
666666
-O|--shading-avoid-outline*: avoid going over outline twice when shading
667667
-o|--optimization-time=t: max time to spend optimizing (seconds; set to 0 to turn off optimization) [default 60]
668+
-e|--direction=angle: for slanted pens: prefer to draw in given direction (degrees; 0=positive x, 90=positive y, none=no preferred direction) [default none]
668669
-d|--sort*: sort paths from inside to outside for cutting [default off]
669670
-c|--config-file=filename: read arguments, one per line, from filename
670671
-w|--gcode-pause=cmd: gcode pause command [default: @pause]
@@ -955,6 +956,7 @@ def help(error=False):
955956
print('tool-offset=%.3f' % toolOffset)
956957
print('overcut=%.3f' % overcut)
957958
print('simulation' if svgSimulation else 'no-simulation')
959+
print('direction=' + ('none' if directionAngle is None else '%.3f'%directionAngle))
958960

959961
sys.exit(0)
960962

0 commit comments

Comments
 (0)