EgtExecutor :
- aggiunta funzione Exe/Lua AddAnotherOutlineToPart - in ExeAutomaticPac aggiunta gestione di pezzi con tagli inclinati.
This commit is contained in:
@@ -137,6 +137,22 @@ ExeAutoNestAddPart( int nPartId, int nOutlineId, bool bCanFlip, bool bCanRotate,
|
||||
return true ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeAddAnotherOutlineToPart( int nPartId, int nAnotherOutlineId)
|
||||
{
|
||||
if ( IsNull( s_pAutoNester))
|
||||
return false ;
|
||||
IGeomDB* pGeomDB = GetCurrGeomDB() ;
|
||||
VERIFY_GEOMDB( pGeomDB, false)
|
||||
// recupero un contorno aggiuntivo del pezzo
|
||||
PolyArc AnotherOutline ;
|
||||
if ( ! MyGetOutline( pGeomDB, nAnotherOutlineId, AnotherOutline))
|
||||
return false ;
|
||||
// aggiungo un contorno aggiuntivo al pezzo
|
||||
return s_pAutoNester->AddAnotherOutlineToPart( nPartId, AnotherOutline) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeAutoNestAddToolOutlineToPart( int nPartId, int nToolOutlineId)
|
||||
|
||||
Reference in New Issue
Block a user