Skip to content

Commit

Permalink
+ fix bug in spiral creation
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Apr 2, 2014
1 parent 8a14564 commit 8c91a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Part/App/PrimitiveFeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ App::DocumentObjectExecReturn *Spiral::execute(void)
BRepLib::BuildCurves3d(wire);

Handle_Geom_Plane aPlane = new Geom_Plane(gp_Pnt(0.0,0.0,0.0), gp::DZ());
Standard_Real range = (myNumRot+1) * myGrowth + 1;
Standard_Real range = (myNumRot+1) * myGrowth + 1 + myRadius;
BRepBuilderAPI_MakeFace mkFace(aPlane, -range, range, -range, range
#if OCC_VERSION_HEX >= 0x060502
, Precision::Confusion()
Expand Down

0 comments on commit 8c91a78

Please sign in to comment.