mirror of
https://github.com/ervanalb/keygen.git
synced 2025-12-16 05:15:28 +00:00
make paths2openscad more command-line friendly
This commit is contained in:
@@ -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
4
sc4.scad
4
sc4.scad
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user