DataBeam :

- piccola miglioria alla precedente correzione, rimanevano non cancellate delle regioni di uso temporaneo.
This commit is contained in:
Dario Sassi
2023-12-15 17:29:01 +01:00
parent 5ae487cb20
commit 27ee10d1ec
+3 -1
View File
@@ -561,6 +561,7 @@ function BeamLib.GetFaceWithMostAdj( Proc, nPartId, bCompare3Fc, dCosSideAng)
local frOCSMaster = Frame3d( vPtC[i], vvtN[i])
EgtScale( nShadowContourId, frOCSMaster, 1, 1, 0, GDB_RT.GLOB)
EgtModifyCurveExtrusion( nShadowContourId, vvtN[i], GDB_RT.GLOB)
local nShadowSurfFlatId
-- se non troppo ortogonale (almeno 0.5deg di delta)
local dResV = vvtN[i] * vvtN[j]
if abs( dResV) > 0.087 then
@@ -570,8 +571,9 @@ function BeamLib.GetFaceWithMostAdj( Proc, nPartId, bCompare3Fc, dCosSideAng)
if not bShadowSurfIsExternal then
bUcut = true
end
EgtErase( nShadowSurfFlatId)
end
EgtErase( { nMasterSurfFlatId, nShadowSurfFlatId})
EgtErase( nMasterSurfFlatId)
end
EgtErase( { nMasterContourId, nShadowContourId, nShadowFacetId})
end