diff --git a/LuaLibs/WProcessLapJoint.lua b/LuaLibs/WProcessLapJoint.lua index 02fba41..95e736d 100644 --- a/LuaLibs/WProcessLapJoint.lua +++ b/LuaLibs/WProcessLapJoint.lua @@ -1691,13 +1691,7 @@ local function MakeSideGrooveByMill( Proc, nFacet, nRawId, b3Raw, sCustomMach, d dExtraLongEnd = 0 end -- se ho abilitato la lavorazione di fresatura per garantire passaggio gambo utensile, inserisco la lavorazione - local bThroughRaw = false if bEnablePreMill then - -- verifico se feature e' passante - if ((Proc.Box:getMin():getX() < ( b3Raw:getMin():getX() + 50)) and (Proc.Box:getMax():getX() > ( b3Raw:getMax():getX() - 50))) or - ((Proc.Box:getMin():getY() < ( b3Raw:getMin():getY() + 50)) and (Proc.Box:getMax():getY() > ( b3Raw:getMax():getY() - 50))) then - bThroughRaw = true - end -- recupero la lavorazione di taglio local sCuttingGorge = WM.FindCutting( 'Standard') @@ -1745,7 +1739,7 @@ local function MakeSideGrooveByMill( Proc, nFacet, nRawId, b3Raw, sCustomMach, d local bSawInvertSE = false -- se non passante, aggiungo fresatura area della fresa - if not bThroughRaw and nNumStep - 1 > 0 then + if not Proc.IsThrough and nNumStep - 1 > 0 then local SquareId -- Id della composita da fresare local dSawShortening = sqrt( b3Raw:getDimZ() * ( dSawDiam - b3Raw:getDimZ())) -- da calcolare in base a raggio lama e spessore grezzo -- gruppo ausiliario