diff --git a/Essetre-90480023_XS-MW.mlde b/Essetre-90480023_XS-MW.mlde index c1822c2..a65e451 100644 --- a/Essetre-90480023_XS-MW.mlde +++ b/Essetre-90480023_XS-MW.mlde @@ -8,7 +8,7 @@ require( 'EmtGenerator') EgtEnableDebug( false) if not EmtModifyHeadAuxDirection then error( 'A newer version of the program is required (minimum 2.3j5)') end -PP_VER = '3.1d1_DEV15' +PP_VER = '3.1d1_DEV16' PP_NVER = '2.7.4.1' -- Parametri macchina @@ -36,7 +36,7 @@ MinZ2 = -770.0 MaxZ2 = 0.0 SawOffsX = 110.0 SawOffsY = 0 -SawOffsZ = -149.55 +SawOffsZ = -150.3 SawC1Offs = 0 SawB1Offs = 0 SawOffs = 0.0 diff --git a/Essetre-WALL.NUM.mlpe b/Essetre-WALL.NUM.mlpe index d8d8517..c266224 100644 --- a/Essetre-WALL.NUM.mlpe +++ b/Essetre-WALL.NUM.mlpe @@ -144,7 +144,8 @@ function OnDispositionEnd() if nLoad90 > 0 then nLoad90 = 4 else nLoad90 = 1 end EmtOutput( 'M26 E30054='..EgtNumToString( nLoad90, 0)) -- Posizione cuffia - local dHCuff = b3Raw:getDimZ() + 32 + local dHeightSubPiece = EMT.RAWPOS[3] or 0 + local dHCuff = dHeightSubPiece + b3Raw:getDimZ() + 32 EmtOutput( 'E30039=' .. EgtNumToString( dHCuff * 1000, 0)) -- Eventuale salto a lavorazione in corso EmtOutput( 'G79 NE80000') @@ -236,7 +237,7 @@ end function OnPathEnd() if IsNailingHead( EMT.HEAD) then local dStep = GetValNotes( EgtGetMachiningParam( MCH_MP.USERNOTES), 'Par', 'd') or 100 - local dSafeZ = max( EgtGetMachiningParam( MCH_MP.STARTPOS), 10) or 20 + local dSafeZ = EMT.NAIL_START_L3 + ( max( EgtGetMachiningParam( MCH_MP.STARTPOS), 10) or 20) --local dSafeZ = EgtMdbGetGeneralParam( MCH_GP.SAFEZ) if EMT.HEAD == 'H21' or EMT.HEAD == 'H22' or EMT.HEAD == 'H23' then EmtOutput( 'G124 X'..EmtLenToString( EMT.NAIL_START_L1, 3)..' Y'..EmtLenToString( EMT.NAIL_START_L2, 3)..' Z'..EmtLenToString( EMT.NAIL_START_L3, 3).. diff --git a/THolders/Saw.nge b/THolders/Saw.nge index 1689dc8..5d6b54b 100644 Binary files a/THolders/Saw.nge and b/THolders/Saw.nge differ diff --git a/Wall/WallData.lua b/Wall/WallData.lua index b0c8aa8..41b0ddd 100644 --- a/Wall/WallData.lua +++ b/Wall/WallData.lua @@ -28,11 +28,12 @@ local WallData = { MILL_OVERLAP = 5, -- sovrapposizione tra due mezze fresature MAX_CLEAN_CRN30 = 60, -- massimo spessore per pulitura angolo con fresa 30deg MAX_CLEAN_CRN60 = 150, -- massimo spessore per pulitura angolo con fresa 60deg - MILL_MAX_DEPTH_AS_MAT = false, -- massimo affondamento frese uguale ad altezza tagliente (max materiale) + MILL_MAX_DEPTH_AS_MAT = false, -- massimo affondamento frese uguale ad altezza tagliente (max materiale) RAWCOL = { 255, 160, 32, 30}, -- colore del grezzo - SIMUL_VIEW_DIR = 2, -- direzione di vista predefinita per la simulazione (1=NW, 2=SW, 3=NE, 4=SE) + DEFAULT_RAW_NO_EXTRA_WIDTH = true, + SIMUL_VIEW_DIR = 4, -- direzione di vista predefinita per la simulazione (1=NW, 2=SW, 3=NE, 4=SE) ORIG_CORNER = 'BL', -- posizione origine (TL,BL,TR,BR,TM,BM) - RAWPART_ROT = 0, -- rotazione del pannello grezzo rispetto alla descrizione BTL + RAWPART_ROT = 180, USE_POSY = true -- utilizzare POSY di BTL (spostamento sullo spessore per pareti a layer) }