Added new condition to exclude offsetting non closed part of circle as complete circle
{
if (E.Orientation() == TopAbs_FORWARD)
anOffset *= -1;
+ if (!BRep_Tool::IsClosed(E))
+ {
+ anOffset *= -1;
+ }
gp_Circ2d theCirc = AHC->Circle();
if (anOffset > 0. || Abs(anOffset) < theCirc.Radius())
OC = new Geom2d_Circle (theCirc.Position(), theCirc.Radius() + anOffset);
fit
-checkprops result -l 613.39
+checkprops result -l 644.509
checkshape result
checksection result
fit
-checkprops result -l 644.509
+checkprops result -l 613.39
checkshape result
checksection result
fit
-checkprops result -l 354.958
+checkprops result -l 386.077
checkshape result
checksection result
fit
-checkprops result -l 386.077
+checkprops result -l 354.958
checkshape result
checksection result