- lievi correzioni

This commit is contained in:
luca.mazzoleni
2023-09-11 09:56:22 +02:00
parent b2fdd27130
commit 9f014c70f7
2 changed files with 3 additions and 10 deletions
-5
View File
@@ -192,24 +192,19 @@ function WallExec.CollectFeatures( PartId, b3Raw)
Proc.TaskId = nTaskId
Proc.Box = EgtGetBBoxGlob( ProcId, GDB_BB.STANDARD)
Proc.IsOutline = ( Proc.Prc == 251 or Proc.Prc == 252)
if b3Raw then
-- recupero l'elenco delle facce della parte interessate dalla feature
Proc.AffectedFaces = WL.GetProcessAffectedFaces( Proc)
-- recupero le distanze tra la feature e le altre parti più vicine
Proc.DistanceToNearestParts = WL.GetProcessDistanceToNearestParts( Proc)
-- recupero le distanze tra la feature e il grezzo
Proc.DistanceToRawPart = WL.GetProcessDistanceToRawPart( Proc, b3Raw)
-- recupero informazioni sulle facce della feature
Proc.Face = {}
for i = 1, Proc.Fct do
Proc.Face[i] = { Id = i - 1, VtN = EgtSurfTmFacetNormVersor( Proc.Id, i - 1, GDB_ID.ROOT ), Elevation = WL.GetFaceElevation( Proc.Id, i - 1, PartId)}
end
end
if Proc.Box and not Proc.Box:isEmpty() then
table.insert( vProc, Proc)
-- se foro