mirror of
https://github.com/ervanalb/keygen.git
synced 2025-12-19 14:45:38 +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
|
# openscad.py
|
||||||
|
|
||||||
@@ -240,7 +240,7 @@ class OpenSCAD( inkex.Effect ):
|
|||||||
help="The active tab when Apply was pressed" )
|
help="The active tab when Apply was pressed" )
|
||||||
|
|
||||||
self.OptionParser.add_option('--smoothness', dest='smoothness',
|
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)' )
|
help='Curve smoothing (less for more)' )
|
||||||
|
|
||||||
self.OptionParser.add_option('--fname', dest='fname',
|
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>
|
use <keygen.scad>
|
||||||
include <sc4_polygons.scad>
|
include <sc4.gen.scad>
|
||||||
|
|
||||||
key_blank(outline_points,
|
key_blank(outline_points,
|
||||||
warding_points,
|
warding_points,
|
||||||
@@ -8,4 +8,4 @@ key_blank(outline_points,
|
|||||||
emboss_right_paths=emboss_paths,
|
emboss_right_paths=emboss_paths,
|
||||||
emboss_left_points=emboss_points,
|
emboss_left_points=emboss_points,
|
||||||
emboss_left_paths=emboss_paths,
|
emboss_left_paths=emboss_paths,
|
||||||
offset=-outline_points[187]);
|
offset=-outline_points[187]);
|
||||||
|
|||||||
Reference in New Issue
Block a user