From 68b003ec39b5097af6facdf93b1ba0f2d4d805a0 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Tue, 3 Mar 2020 09:42:09 +0000 Subject: [PATCH] EgtInterface 2.2c1 : - a EgtAutomaticPackParts aggiunto parametro bGuillotineMode. --- API_Nesting.cpp | 4 ++-- EgtInterface.rc | Bin 11718 -> 11718 bytes 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/API_Nesting.cpp b/API_Nesting.cpp index b8321d1..df8e14c 100644 --- a/API_Nesting.cpp +++ b/API_Nesting.cpp @@ -355,7 +355,7 @@ __stdcall EgtGetPartClusterCenterGlob( int nId[], int nCount, double ptCen[3]) //----------------------------------------------------------------------------- BOOL -__stdcall EgtAutomaticPackParts( int nId[], int nCount, BOOL bMinimizeOnXvsY, BOOL bReducedCut, int nMaxTime) +__stdcall EgtAutomaticPackParts( int nId[], int nCount, BOOL bMinimizeOnXvsY, BOOL bReducedCut, BOOL bGuillotineMode, int nMaxTime) { // verifico if ( nId == nullptr || nCount <= 0) @@ -366,7 +366,7 @@ __stdcall EgtAutomaticPackParts( int nId[], int nCount, BOOL bMinimizeOnXvsY, BO for ( int i = 0 ; i < nCount ; ++ i) vIds[i] = nId[i] ; // eseguo - bool bOk = ExeAutomaticPackParts( vIds, ( bMinimizeOnXvsY != FALSE), ( bReducedCut != FALSE), nMaxTime) ; + bool bOk = ExeAutomaticPackParts( vIds, ( bMinimizeOnXvsY != FALSE), ( bReducedCut != FALSE), ( bGuillotineMode != FALSE), nMaxTime) ; // aggiorno il vettore for ( int i = 0 ; i < nCount ; ++ i) nId[i] = vIds[i] ; diff --git a/EgtInterface.rc b/EgtInterface.rc index 099ffecc323182baeac70fe999b4f027375a70e1..62fbc3e058d000c909dbee1aec89393ec41947f6 100644 GIT binary patch delta 290 zcmX>WeJpyzI%aiGhCGIJh8%`ehGHOAV9;O)W+-7u1ma8}FBB-731Uyas3kpFPd#gM z9Lo$QR$~So2E)xC`A#xTKEheUoXlW2`Jtfh<^rx77Py=vGfaGP0hh&O10J2pcetKx zUL~x<3|9lxzeEzDKR^nu|DqfY{awoU7)fyS!O8b@=1u;jCL)**_M9i!b2&gyC4#)P QSxWeJpyzI%aKGhCGIJh8%`WhGK>c1_cHUhESkLCPN8BDnkm89}HwAf_cT0FKS6| z{=m${%xc7-!(g)cE#FC|$p<)Vn3EVxCL0Q+ZeGIW!UC6bWCn?EHWXTj5Cf`TAc;`l zA_Z4}Rt~COP$`&HM;)AePiNlbS85`>Am@969h}2Z33Be_56oGcr>N^Nqe^YQsP&Zz E0MqM3?EnA(