EgtExecutor 2.2a4 :
- aggiunta funzione Exe e Lua AutoNestAddHoleToPart - corretto nome funzione ExeAddAnotherOutlineToPart in ExeAutoNestAddAnotherOutlineToPart.
This commit is contained in:
+17
-1
@@ -139,7 +139,23 @@ ExeAutoNestAddPart( int nPartId, int nOutlineId, bool bCanFlip, bool bCanRotate,
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeAddAnotherOutlineToPart( int nPartId, int nAnotherOutlineId)
|
||||
ExeAutoNestAddHoleToPart( int nPartId, int nHoleId)
|
||||
{
|
||||
if ( IsNull( s_pAutoNester))
|
||||
return false ;
|
||||
IGeomDB* pGeomDB = GetCurrGeomDB() ;
|
||||
VERIFY_GEOMDB( pGeomDB, false)
|
||||
// recupero un buco del pezzo
|
||||
PolyArc Hole ;
|
||||
if ( ! MyGetOutline( pGeomDB, nHoleId, Hole))
|
||||
return false ;
|
||||
// aggiungo un buco al pezzo
|
||||
return s_pAutoNester->AddHoleToPart( nPartId, Hole) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeAutoNestAddAnotherOutlineToPart( int nPartId, int nAnotherOutlineId)
|
||||
{
|
||||
if ( IsNull( s_pAutoNester))
|
||||
return false ;
|
||||
|
||||
Reference in New Issue
Block a user