+ fix bug in spiral creation

This commit is contained in:
wmayer 2014-04-02 10:46:13 +02:00
parent 8a14564883
commit 8c91a78703

View File

@ -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()