From 2494d6784bb7c8d949e72da03c04df9b527b6286 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Wed, 1 Jul 2020 10:08:01 +0000 Subject: [PATCH] EgtMachKernel 2.2g1 : - corretto controllo percorso piano per interpolare curve composite con molti segmenti piccoli. --- EgtMachKernel.rc | Bin 11774 -> 11774 bytes Operation.cpp | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/EgtMachKernel.rc b/EgtMachKernel.rc index 76ccbd9c0cc080e402bf66fc7fc4320cc1a02591..d009d28462d2e8fd9254c6741914dfdbc02ed26d 100644 GIT binary patch delta 121 zcmewt{V#gMH#Syt1|0^&&A-{KnVHiW3@1O7)ZLuM)x!c8zsNNCgkT;*P6$a3MUMyL R=2g-z%(yjz6ex#q0RVBoCa3@a delta 121 zcmewt{V#gMH#Sx?1|0^A&A-{KnVHiVEG9pc)ZLuM)x!c8zsNNCgkT;*P6$a3MUMyL R=2g-z%(yjz6ex#q0RVloCfEP~ diff --git a/Operation.cpp b/Operation.cpp index 30816ce..4a06dc0 100644 --- a/Operation.cpp +++ b/Operation.cpp @@ -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) {