Skip to content

Commit be4bbed

Browse files
committed
fix add_param('$fn' not converted to segments
Now correctly propagated to scad output. Signed-off-by: Richard Marko <rmarko@fedoraproject.org>
1 parent 23eacb7 commit be4bbed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

solid/solidpython.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,8 @@ def set_parent( self, parent):
532532
self.parent = parent
533533

534534
def add_param(self, k, v):
535+
if k == '$fn':
536+
k = 'segments'
535537
self.params[k] = v
536538
return self
537539

0 commit comments

Comments
 (0)