Correct PartDesign Helix feature negative angles (#11399)

* Correct PartDesign Helix feature negative angles

* Whitespace
This commit is contained in:
bgbsww
2023-11-27 11:51:12 -05:00
committed by GitHub
parent 185e58a219
commit d472927bba

View File

@@ -458,7 +458,7 @@ TopoDS_Shape Helix::generateHelixPath(double startOffset0)
//build the helix path
//TopoShape helix = TopoShape().makeLongHelix(pitch, height, radius, angle, leftHanded);
TopoDS_Shape path = TopoShape().makeSpiralHelix(radius, radiusTop, height, turns, 1, leftHanded);
TopoDS_Shape path = TopoShape().makeSpiralHelix(radius, radiusTop, height, turns, 0, leftHanded);
/*
* The helix wire is created with the axis coinciding with z-axis and the start point at (radius, 0, 0)