diff --git a/Essetre-WALL.NUM.mlpe b/Essetre-WALL.NUM.mlpe index 14c6dfb..050d5b7 100644 --- a/Essetre-WALL.NUM.mlpe +++ b/Essetre-WALL.NUM.mlpe @@ -207,7 +207,7 @@ function OnMachiningStart() -- gestione eventuale lavorazione in doppio local nDouType = EgtGetValInNotes( EMT.MCHUSERNOTES, 'DOUBLE', 'i') if nDouType == 2 or nDouType == 3 then - local sDouTool = EgtGetValInNotes( EMT.TUSERNOTES, 'DOUBLE', 's') or '' + local sDouTool = EgtGetValInNotes( EMT.TUSERNOTES, 'DOUBLE', 's') or EgtGetValInNotes( EMT.MCHUSERNOTES, 'TOOLDOUBLE', 's') or '' local sOldTool = EgtTdbGetCurrToolParam( MCH_TP.NAME) if EgtTdbSetCurrTool( sDouTool) and EgtTdbGetCurrToolParam( MCH_TP.ACTIVE) then -- salvo dati diff --git a/Essetre-WALL.mlpe b/Essetre-WALL.mlpe index 90beff2..4974907 100644 --- a/Essetre-WALL.mlpe +++ b/Essetre-WALL.mlpe @@ -419,7 +419,7 @@ function OnSimulMachiningStart() -- gestione eventuale lavorazione in doppio local nDouType = EgtGetValInNotes( EMT.MCHUSERNOTES, 'DOUBLE', 'i') if nDouType == 2 then - local sDouTool = EgtGetValInNotes( EMT.TUSERNOTES, 'DOUBLE', 's') or '' + local sDouTool = EgtGetValInNotes( EMT.TUSERNOTES, 'DOUBLE', 's') or EgtGetValInNotes( EMT.MCHUSERNOTES, 'TOOLDOUBLE', 's') or '' local sOldTool = EgtTdbGetCurrToolParam( MCH_TP.NAME) if EgtTdbSetCurrTool( sDouTool) and EgtTdbGetCurrToolParam( MCH_TP.ACTIVE) then local sDouHead = 'H7' diff --git a/ToolNotes.ini b/ToolNotes.ini new file mode 100644 index 0000000..0aeed88 --- /dev/null +++ b/ToolNotes.ini @@ -0,0 +1,29 @@ +; Commento per evitare BOM con UTF-8 +; Index, Type, Description, Value +; Index = 0,1,..,n +; Type : d=double, l=lenght, s=string, b=boolean, dr=double recalc, sr= string recalc, lr=lenght recalc, br=boolean recalc, th=ToolHolders +; Description : STEP, SIDESTEP, ... + +[DRILL_STD] +0=d,STEP, +1=d,SIDESTEP, +2=th,TH, + +[SAW_FLAT] +0=d,STEP, +1=d,SIDESTEP, +2=th,TH, +3=b,SQUARING, + +[MILL_STD] +0=th,TH, +1=b,SQUARING, + +[MILL_NOTIP] +0=d,STEP, +1=d,SIDESTEP, +2=th,TH, +3=b,SQUARING, + +[MORTISE_STD] +0=th,TH, \ No newline at end of file diff --git a/Wall/NestingData.ini b/Wall/NestingData.ini new file mode 100644 index 0000000..1170507 --- /dev/null +++ b/Wall/NestingData.ini @@ -0,0 +1,4 @@ +[WALL] +Kerf=30 +Offset=0 +Range1=30,421 diff --git a/Wall/WallData.lua b/Wall/WallData.lua index 2e36606..25827a4 100644 --- a/Wall/WallData.lua +++ b/Wall/WallData.lua @@ -42,7 +42,14 @@ local WallData = { DOUBLE_HEAD_DRILLING = true, -- flag abilitazione forature in doppio DOUBLE_HEAD_MILLCORNER = true, -- flag per abilitazione puliture angoli in doppio DOUBLE_HEAD_POCKET_TOLERANCE = 0.5, -- tolleranza ricerca tasche in doppio - DOUBLE_HEAD_DRILLING_TOLERANCE = 0.1 -- tolleranza ricerca forature in doppio + DOUBLE_HEAD_DRILLING_TOLERANCE = 0.1, -- tolleranza ricerca forature in doppio + SQUARING_TYPE = 0, -- master panel squaring: 0 = disabled, 1 = on rawpart, 2 = shrink to parts + SQUARING_TOOL = 0, -- 0 = auto, 1 = double diskmill, 2 = double diskmill+blade, 3 = double blade, 4 = diskmill, 5 = blade, 6 = double mill, 7 = mill + SQUARING_USE_ZIGZAG = true, -- false = oneway, true = zigzag. For mill only + SQUARING_STARTS_ON_REFERENCE = true, -- false = squaring starts near machine parking, true = squaring starts on reference edge + SQUARING_OFFSET_XY = 0, -- > 0 = larger rectangle, < 0 = smaller rectangle. Only with squaring on rawpart + SQUARING_EXTEND_Z = 0, -- > 0 = squaring extends below Z0, < 0 = squaring stops above Z0 + SQUARING_MAX_OVERMATERIAL = 40, -- max overmaterial before squaring } -- Aggiornamento con dati da TechnoEssetre7