Piccole modifiche per demo
This commit is contained in:
@@ -32,6 +32,8 @@ function FeatureLib.GetProcFromTrimesh( idTrimesh, Part, ProcToCopyFrom)
|
||||
Proc.AffectedFaces = BeamLib.GetAffectedFaces( Proc, Part)
|
||||
Proc.AdjacencyMatrix = FaceData.GetAdjacencyMatrix( Proc)
|
||||
Proc.Faces = FaceData.GetFacesInfo( Proc, Part)
|
||||
Proc.NotClampableLength = FeatureLib.CalculateFeatureNotClampableLengths( Proc, Part)
|
||||
Proc.bHindersLaserMeasure = FeatureLib.CalculateFeatureHindersLaserMeasure( Proc, Part)
|
||||
-- TODO servono anche altri dati raccolti nel collect??
|
||||
|
||||
return Proc
|
||||
@@ -85,9 +87,9 @@ function FeatureLib.NeedTopologyFeature( Proc, Part)
|
||||
elseif ID.IsStepJointNotch( Proc) then -- (0-80)
|
||||
return true
|
||||
-- feature con calcolo topologia da geometria SOLO se rispettano certe condizioni, altrimenti riconoscimento specifico
|
||||
elseif ID.IsSawCut( Proc) and Proc.nFct == 1
|
||||
and ( IsFeatureCuttingEntireSection( Proc.b3Box, Part)
|
||||
or IsFeatureCuttingEntireLength( Proc.b3Box, Part)) then -- (0-13)
|
||||
elseif ID.IsSawCut( Proc) and Proc.nFct == 1 then
|
||||
--and ( IsFeatureCuttingEntireSection( Proc.b3Box, Part)
|
||||
--or IsFeatureCuttingEntireLength( Proc.b3Box, Part)) then -- (0-13)
|
||||
return true
|
||||
elseif ID.IsHipValleyRafterNotch( Proc) and Proc.nFct < 4 then -- (0-25)
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user