DataBeam :
- modifiche in lavorazione LapJoint per antischeggia con lama.
This commit is contained in:
@@ -3594,7 +3594,6 @@ local function ManageAntiSplintBySaw( Proc, b3Raw, bIsU, vtN, nFacet, nFacInd, s
|
||||
if abs( vtN:getY()) > 0.996 then
|
||||
nPrefSide = 0
|
||||
elseif abs( vtN:getZ()) > 0.63 or abs( vtN:getY()) > 0.63 then
|
||||
-- elseif abs( vtN:getZ()) > 0.7 or abs( vtN:getY()) > 0.7 then
|
||||
-- se X è negativa allora devo tenere il motore a destra
|
||||
if vtN:getX() < -(10 * GEO.EPS_SMALL) then
|
||||
nPrefSide = 2
|
||||
@@ -4662,9 +4661,12 @@ local function MakeMoreFaces( Proc, nPhase, nRawId, nPartId, dOvmHead, bSinglePa
|
||||
-- se richiesti antischeggia con lama su U trasversale e smusso non esclusivo
|
||||
-- rimane da gestire: se da eseguire con fresa o se richiesto lama ma impossibile utilizzarla, si utilizza fresa
|
||||
-- 2021.04.27 esegue antischeggia di lama se forma U o L con feature passante in Y o Z
|
||||
-- 2021.07.16 Per poter eseguire antischeggia di lama su feature che non sono passanti da faccia a faccia
|
||||
-- ma che sono su un angolo (coinvolgono 2 facce contigue) è stato modificato il confronto in:
|
||||
-- esegue antischeggia di lama se forma U o L con feature passante in Y o Z, oppure se feature a furma U e con 3 facce oppore a forma a L e con 2 facce
|
||||
local bMadeASbyBld = false
|
||||
local bPassThrou = ( Proc.Box:getDimY() > b3Raw:getDimY() - 1 or Proc.Box:getDimZ() > b3Raw:getDimZ() - 1)
|
||||
if nChamfer < 2 and nQAntisplintResult == 1 and (( bIsU or bIsL) and bPassThrou) then
|
||||
if nChamfer < 2 and nQAntisplintResult == 1 and ((( bIsU or bIsL) and bPassThrou) or ( Proc.Fct == 3 and bIsU) or (Proc.Fct == 2 and bIsL)) then
|
||||
local bOk
|
||||
bMadeASbyBld, bOk, sWarn = ManageAntiSplintBySaw( Proc, b3Raw, bIsU, vtN, nFacet, nFacInd, sWarn, bMillDown, true)
|
||||
if not bOk then return false, sWarn end
|
||||
@@ -4788,9 +4790,12 @@ local function MakeMoreFaces( Proc, nPhase, nRawId, nPartId, dOvmHead, bSinglePa
|
||||
-- se richiesti antischeggia con lama su U trasversale e smusso non esclusivo
|
||||
-- rimane da gestire: se da eseguire con fresa o se richiesto lama ma impossibile utilizzarla, si utilizza fresa
|
||||
-- 2021.04.27 esegue antischeggia di lama se forma U o L con feature passante in Y o Z
|
||||
-- 2021.07.16 Per poter eseguire antischeggia di lama su feature che non sono passanti da faccia a faccia
|
||||
-- ma che sono su un angolo (coinvolgono 2 facce contigue) è stato modificato il confronto in:
|
||||
-- esegue antischeggia di lama se forma U o L con feature passante in Y o Z, oppure se feature a furma U e con 3 facce oppore a forma a L e con 2 facce
|
||||
local bMadeASbyBld = false
|
||||
local bPassThrou = ( Proc.Box:getDimY() > b3Raw:getDimY() - 1 or Proc.Box:getDimZ() > b3Raw:getDimZ() - 1)
|
||||
if nChamfer < 2 and nQAntisplintResult == 1 and (( bIsU or bIsL) and bPassThrou) then
|
||||
if nChamfer < 2 and nQAntisplintResult == 1 and ((( bIsU or bIsL) and bPassThrou) or ( Proc.Fct == 3 and bIsU) or (Proc.Fct == 2 and bIsL)) then
|
||||
local bOk
|
||||
bMadeASbyBld, bOk, sWarn = ManageAntiSplintBySaw( Proc, b3Raw, bIsU, vtN, nFacet, nFacInd, sWarn, bMillDown)
|
||||
if not bOk then return false, sWarn end
|
||||
|
||||
Reference in New Issue
Block a user