EgtMachKernel 2.2g1 :

- corretto controllo percorso piano per interpolare curve composite con molti segmenti piccoli.
This commit is contained in:
Dario Sassi
2020-07-01 10:08:01 +00:00
parent 0bd5163b6a
commit 2494d6784b
2 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -819,7 +819,7 @@ Operation::ApproxWithArcsIfUseful( ICurveComposite* pCompo, bool bCareTempProp)
Frame3d frRef ;
frRef.Set( ORIG, vtExtr) ;
BBox3d b3Crv ;
if ( ! pCompo->GetBBox( frRef, b3Crv) || ! b3Crv.IsEpsilonZ( 100 * EPS_SMALL))
if ( ! pCompo->GetBBox( frRef, b3Crv) || abs( b3Crv.GetMax().z - b3Crv.GetMin().z - dThick) > 100 * EPS_SMALL)
return true ;
// se posso ignorare la proprietà temporanea
if ( ! bCareTempProp) {