Part: Allow helix primitive with negative Angle
This commit is contained in:
@@ -74,7 +74,7 @@
|
||||
|
||||
|
||||
namespace Part {
|
||||
const App::PropertyQuantityConstraint::Constraints apexRange = {0.0,90.0,0.1};
|
||||
const App::PropertyQuantityConstraint::Constraints apexRange = {-90.0,90.0,0.1};
|
||||
const App::PropertyQuantityConstraint::Constraints torusRangeV = {-180.0,180.0,1.0};
|
||||
const App::PropertyQuantityConstraint::Constraints angleRangeU = {0.0,360.0,1.0};
|
||||
const App::PropertyQuantityConstraint::Constraints angleRangeV = {-90.0,90.0,1.0};
|
||||
@@ -801,7 +801,7 @@ Helix::Helix(void)
|
||||
Height.setConstraints(&quantityRange);
|
||||
ADD_PROPERTY_TYPE(Radius,(1.0),"Helix",App::Prop_None,"The radius of the helix");
|
||||
Radius.setConstraints(&quantityRange);
|
||||
ADD_PROPERTY_TYPE(Angle,(0.0),"Helix",App::Prop_None,"If angle is > 0 a conical otherwise a cylindircal surface is used");
|
||||
ADD_PROPERTY_TYPE(Angle,(0.0),"Helix",App::Prop_None,"If angle is != 0 a conical otherwise a cylindircal surface is used");
|
||||
Angle.setConstraints(&apexRange);
|
||||
ADD_PROPERTY_TYPE(LocalCoord,(long(0)),"Coordinate System",App::Prop_None,"Orientation of the local coordinate system of the helix");
|
||||
LocalCoord.setEnums(LocalCSEnums);
|
||||
|
||||
Reference in New Issue
Block a user