EgtExecutor 1.9b1 :

- aggiunta funzione Exe e Lua VolZmapAvoidSphere
- aggiunta funzione Lua EgtSetCurrFilePath
- modifiche per pezzi piani nesting con bordi con due tagli sovrapposti a diversa inclinazione.
This commit is contained in:
Dario Sassi
2018-02-05 07:16:03 +00:00
parent f3f16af29f
commit b64ac4314d
8 changed files with 206 additions and 10 deletions
+4 -2
View File
@@ -118,8 +118,10 @@ ExeVerifyMachining( int nMchId, int& nResult)
BBox3d b3Part ;
if ( pGeomDB->GetGlobalBBox( nId, b3Part, BBF_PART_MY_FLAG) &&
b3Mch.OverlapsXY( b3Part)) {
// recupero regione del pezzo
int nRegId = GetFlatPartRegion( pGeomDB, nId) ;
// recupero eventuale regione sopra del pezzo oppure regione del pezzo
int nRegId = GetFlatPartUpRegion( pGeomDB, nId) ;
if ( nRegId == GDB_ID_NULL)
nRegId = GetFlatPartRegion( pGeomDB, nId) ;
if ( nRegId != GDB_ID_NULL)
vOthReg.emplace_back( nRegId) ;
else