diff --git a/LuaLibs/ProcessDtMortise.lua b/LuaLibs/ProcessDtMortise.lua index 5dc1717..1dc409a 100644 --- a/LuaLibs/ProcessDtMortise.lua +++ b/LuaLibs/ProcessDtMortise.lua @@ -1,4 +1,4 @@ --- ProcessDtMortise.lua by Egaltech s.r.l. 2021/12/01 +-- ProcessDtMortise.lua by Egaltech s.r.l. 2022/03/23 -- Gestione calcolo mortase a coda di rondine per Travi -- 2021/04/08 Aggiunto controllo massimo materiale lavorabile dalla fresa. -- 2021/04/08 Miglioria scelta lavorazione in presenza di testa da sotto. @@ -91,8 +91,11 @@ local function CalcTopPath( nProcId, AuxId, nAddGrpId, dAltMort, dSideAng, b3Sol local NewAuxId = EgtCopyGlob( AuxId, nAddGrpId) if not NewAuxId then return end -- ne allungo gli estremi - EgtExtendCurveStartByLen( NewAuxId, 100) - EgtExtendCurveEndByLen( NewAuxId, 100) + --EgtExtendCurveStartByLen( NewAuxId, 100) + --EgtExtendCurveEndByLen( NewAuxId, 100) + EgtAddCurveCompoLineTg( NewAuxId, 100, false) + EgtAddCurveCompoLineTg( NewAuxId, 100, true) + EgtMergeCurvesInCurveCompo( NewAuxId) -- eseguo traslazione e offset per portarla sul top local vtMove = EgtCurveExtrusion( AuxId, GDB_RT.GLOB) * ( dAltMort - 10 * GEO.EPS_SMALL) EgtMove( NewAuxId, vtMove, GDB_RT.GLOB)