Merge pull request #4726 from chennes/openscadLinearExtrudeAngleFix
[OpenSCAD] Fix twist angle to not limit to 360 deg
This commit is contained in:
@@ -390,12 +390,13 @@ class Twist:
|
||||
def __init__(self, obj,child=None,h=1.0,angle=0.0,scale=[1.0,1.0]):
|
||||
obj.addProperty("App::PropertyLink","Base","Base",
|
||||
"The base object that must be transformed")
|
||||
obj.addProperty("App::PropertyAngle","Angle","Base","Twist Angle in degrees") #degree or rad
|
||||
obj.addProperty("App::PropertyQuantity","Angle","Base","Twist Angle")
|
||||
obj.Angle = App.Units.Angle # assign the Angle unit
|
||||
obj.addProperty("App::PropertyDistance","Height","Base","Height of the Extrusion")
|
||||
obj.addProperty("App::PropertyFloatList","Scale","Base","Scale to apply during the Extrusion")
|
||||
|
||||
obj.Base = child
|
||||
obj.Angle = angle
|
||||
obj.Angle = angle
|
||||
obj.Height = h
|
||||
obj.Scale = scale
|
||||
obj.Proxy = self
|
||||
|
||||
Reference in New Issue
Block a user