diff --git a/EXE_NstPartNesting.cpp b/EXE_NstPartNesting.cpp index 5a7939c..62d985d 100644 --- a/EXE_NstPartNesting.cpp +++ b/EXE_NstPartNesting.cpp @@ -328,6 +328,12 @@ ExeCreateReferenceRegion( int nParentId, int nOutCrvId, bool bBottomUp) // prossimo punto bFound = PL.GetNextUPoint( &dPar, &ptQ, true) ; } + // verifiche su box del lato a sinistra + const double MAX_WIDTH_SIDE = 200 ; + double dLeftDimX = b3Left.GetMax().x - b3Left.GetMin().x ; + if ( dLeftDimX > MAX_WIDTH_SIDE) { + b3Left.Translate( Vector3d( -dLeftDimX + 0.25 * MAX_WIDTH_SIDE, 0, 0)) ; + } // costruisco la regione di riferimento PolyLine PL2 ; if ( bBottomUp) { diff --git a/EgtExecutor.rc b/EgtExecutor.rc index ddf24f2..1482f84 100644 Binary files a/EgtExecutor.rc and b/EgtExecutor.rc differ