- in NestProcess corretta creazione outline che in precedenza funzionava (modificata la gestione tolleranza nella funzione EgtGetSurfTmSilhouette con aggiornamenti DLL recenti)
This commit is contained in:
+3
-5
@@ -1539,7 +1539,7 @@ local function AddParts(RawParts, vPartsDoneManually)
|
||||
EgtBeamCalcSolid( nPartId, true)
|
||||
SolidId = EgtBeamGetSolid( nPartId)
|
||||
end
|
||||
nOutline, nCnt = EgtGetSurfTmSilhouette( SolidId, Z_AX(), 10, nOutlineLayer, GDB_RT.GLOB)
|
||||
nOutline, nCnt = EgtGetSurfTmSilhouette( SolidId, Z_AX(), 0.1, nOutlineLayer, GDB_RT.GLOB)
|
||||
EgtBeamShowSolid( nPartId, false)
|
||||
|
||||
for nInd = 0, nCnt - 1 do
|
||||
@@ -1626,10 +1626,8 @@ local function AddParts(RawParts, vPartsDoneManually)
|
||||
-- Eventuali vincoli StripX e StripY
|
||||
local bOnEdge = EgtGetInfo(nPartId, "NestOnEdge", 'b')
|
||||
local bOnAngle = EgtGetInfo(nPartId, "NestOnAngle", 'b')
|
||||
if bOnEdge or bOnAngle then
|
||||
local nBoxLayerId = EgtGetFirstNameInGroup( nPartId, "Box")
|
||||
local nBoxId = EgtGetFirstNameInGroup( nBoxLayerId, "Box")
|
||||
local b3Part = EgtGetBBoxGlob(nBoxId, GDB_BB.STANDARD)
|
||||
if bOnEdge or bOnAngle then
|
||||
local b3Part = EgtGetBBoxGlob( nOutline, GDB_BB.STANDARD)
|
||||
|
||||
-- punto di riferimento sul pezzo
|
||||
local ptRef
|
||||
|
||||
Reference in New Issue
Block a user