- in WallData aggiunte variabili squadratura

- in simulazione e generazione permessa la lettura dell'utensile per doppio dalle note lavorazione
- aggiunte ToolNotes e NestingData
This commit is contained in:
luca.mazzoleni
2024-11-15 15:08:15 +01:00
parent fc4f02658a
commit 60d1a5b406
5 changed files with 43 additions and 3 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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'
+29
View File
@@ -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,
+4
View File
@@ -0,0 +1,4 @@
[WALL]
Kerf=30
Offset=0
Range1=30,421
+8 -1
View File
@@ -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