[PartDesign] Improve Helix calculation for straight shape (#7674)
This commit is contained in:
@@ -241,8 +241,11 @@ App::DocumentObjectExecReturn* Helix::execute()
|
||||
mkPS.SetTolerance(Precision::Confusion());
|
||||
mkPS.SetTransitionMode(BRepBuilderAPI_Transformed);
|
||||
|
||||
//mkPS.SetMode(true); //This is for frenet
|
||||
mkPS.SetMode(TopoDS::Wire(auxpath), true); // this is for auxiliary
|
||||
if (Angle.getValue() == 0) {
|
||||
mkPS.SetMode(true); //This is for frenet
|
||||
} else {
|
||||
mkPS.SetMode(TopoDS::Wire(auxpath), true); // this is for auxiliary
|
||||
}
|
||||
|
||||
for (TopoDS_Wire& wire : wires) {
|
||||
wire.Move(invObjLoc);
|
||||
|
||||
Reference in New Issue
Block a user