make paths2openscad more command-line friendly

This commit is contained in:
Eric Van Albert
2017-06-09 21:07:43 -04:00
parent 4c906e3d54
commit 11a9169d4f
3 changed files with 8 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
# openscad.py
@@ -240,7 +240,7 @@ class OpenSCAD( inkex.Effect ):
help="The active tab when Apply was pressed" )
self.OptionParser.add_option('--smoothness', dest='smoothness',
type='float', default=float( 0.2 ), action='store',
type='float', default=float( 0.02 ), action='store',
help='Curve smoothing (less for more)' )
self.OptionParser.add_option('--fname', dest='fname',

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,5 @@
use <keygen.scad>
include <sc4_polygons.scad>
include <sc4.gen.scad>
key_blank(outline_points,
warding_points,
@@ -8,4 +8,4 @@ key_blank(outline_points,
emboss_right_paths=emboss_paths,
emboss_left_points=emboss_points,
emboss_left_paths=emboss_paths,
offset=-outline_points[187]);
offset=-outline_points[187]);