- in FaceData, nella ricerca delle MainFaces gestito caso a 1 faccia
- in STR0001 piccole correzioni - in BLADEKEEPWASTE ora se arrivano 2 facce con angoli sbaligati si ritorna non applicabile, invece di dare errore lua
This commit is contained in:
@@ -263,6 +263,8 @@ local function GetBottomFaces( Proc)
|
||||
elseif not ( Proc.Topology.sFamily == 'Rabbet' or Proc.Topology.sFamily == 'VGroove' or Proc.Topology.sFamily == 'Groove' or
|
||||
Proc.Topology.sFamily == 'Pocket' or Proc.Topology.sFamily == 'Bevel') then
|
||||
error( 'GetBottomFace : Topology not implemented')
|
||||
elseif Proc.nFct == 1 then
|
||||
return { Proc.Faces[1]}
|
||||
end
|
||||
|
||||
-- la faccia di fondo ha sempre Fct - 1 adiacenze
|
||||
@@ -346,6 +348,8 @@ local function GetLongFaces( Proc, MainFaces)
|
||||
|
||||
if Proc.nFct > 5 then
|
||||
error( 'GetLongFaces : Topology not implemented')
|
||||
elseif Proc.nFct == 1 then
|
||||
return {}
|
||||
end
|
||||
|
||||
local BottomFace
|
||||
@@ -442,6 +446,8 @@ local function GetSideFaces( Proc, MainFaces)
|
||||
|
||||
if Proc.nFct > 5 then
|
||||
error( 'GetSideFaces : Topology not implemented')
|
||||
elseif Proc.nFct == 1 then
|
||||
return {}
|
||||
end
|
||||
|
||||
local BottomFace
|
||||
@@ -528,7 +534,7 @@ function FaceData.GetMainFaces( Proc, Part)
|
||||
local MainFaces = {}
|
||||
|
||||
-- CASO 1 : Feature tipo LapJoint
|
||||
if Proc.Topology.sFamily == 'Rabbet' or Proc.Topology.sFamily == 'VGroove' or Proc.Topology.sFamily == 'Groove' or
|
||||
if Proc.Topology.sFamily == 'Rabbet' or Proc.Topology.sFamily == 'VGroove' or Proc.Topology.sFamily == 'Groove' or
|
||||
Proc.Topology.sFamily == 'Pocket' or Proc.Topology.sFamily == 'Tunnel' or Proc.Topology.sFamily == 'Bevel' then
|
||||
|
||||
if Proc.Topology.bIsThrough and Proc.Topology.bAllRightAngles and Proc.nFct < 5 then
|
||||
|
||||
Reference in New Issue
Block a user