OpenSCAD import: fixed modifying wrong placment
when centering linear extrusion
This commit is contained in:
parent
801f08a8af
commit
0d2b38c6b4
|
@ -567,11 +567,12 @@ def p_linear_extrude_with_twist(p):
|
|||
else :
|
||||
obj = p[6][0]
|
||||
if t:
|
||||
p[0] = [process_linear_extrude_with_twist(obj,h,t)]
|
||||
newobj = [process_linear_extrude_with_twist(obj,h,t)]
|
||||
else:
|
||||
p[0] = [process_linear_extrude(obj,h)]
|
||||
newobj = [process_linear_extrude(obj,h)]
|
||||
if p[3]['center']=='true' :
|
||||
center(obj,0,0,h)
|
||||
center(newobj,0,0,h)
|
||||
p[0] = newobj
|
||||
if printverbose: print "End Linear Extrude with twist"
|
||||
|
||||
def p_import_file1(p):
|
||||
|
|
Loading…
Reference in New Issue
Block a user