EgtExecutor 2.3l3 :

- aggiunte funzioni Exe e Lua AutoNestSetStripYconstraintToPart e AutoNestSetStripXconstraintToPart.
This commit is contained in:
DarioS
2021-12-19 18:45:04 +01:00
parent d8235f5ca9
commit c388ce32fc
3 changed files with 64 additions and 1 deletions
+20
View File
@@ -229,6 +229,26 @@ ExeAutoNestSetRestrictedZoneToPart( int nPartId, int nRzConstrId)
return s_pAutoNester->SetRestrictedZoneToPart( nPartId, nRzConstrId) ;
}
//-----------------------------------------------------------------------------
bool
ExeAutoNestSetStripYconstraintToPart( int nPartId, const Point3d& ptRef, double dStripStart, double dStripRepeat)
{
if ( IsNull( s_pAutoNester))
return false ;
// aggiungo il vincolo di punto su linee parallele a Y costante (parallele ad asse X) al pezzo
return s_pAutoNester->SetStripYconstraintToPart( nPartId, ptRef, dStripStart, dStripRepeat) ;
}
//-----------------------------------------------------------------------------
bool
ExeAutoNestSetStripXconstraintToPart( int nPartId, const Point3d& ptRef, double dStripStart, double dStripRepeat)
{
if ( IsNull( s_pAutoNester))
return false ;
// aggiungo il vincolo di punto su linee parallele a X costante (parallele ad asse Y) al pezzo
return s_pAutoNester->SetStripXconstraintToPart( nPartId, ptRef, dStripStart, dStripRepeat) ;
}
//-----------------------------------------------------------------------------
bool
ExeAutoNestSetInterpartGap( double dGap)