+ fix bug in spiral creation

This commit is contained in:
wmayer
2014-04-02 10:46:13 +02:00
parent 49676f1e62
commit f238671b8a

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