5 Commits

Author SHA1 Message Date
andrea.villa f671ca3374 Merge branch 'main' of https://gitlab.steamware.net/egalware-machines/masterwood/masterwood-project265 2025-06-04 17:34:34 +02:00
andrea.villa ebd51b12ea Corretto calcolo lunghezza punta principale per lavorazione con MULTIDRILL 2025-06-04 17:33:56 +02:00
luca.mazzoleni 8db65c5186 - in generazione non si cambia l'estensione del file (versione non modificata) 2025-06-04 11:15:21 +02:00
andrea.villa 7be5cf7ae3 Merge branch 'develop' 2025-06-04 11:05:09 +02:00
andrea.villa 7ef8621388 Merge branch 'develop' 2025-04-30 14:30:50 +02:00
2 changed files with 17 additions and 10 deletions
+15 -8
View File
@@ -24,9 +24,9 @@ end
---------------------------------------------------------------------
function OnEnd()
-- Chiusura file altri processi (qui si passa sempre, anche in caso di errore)
local sNewPath = EgtChangePathExtension( EMT.FILE, '.prg')
EgtEraseFile( sNewPath)
EgtRenameFile( EMT.FILE, sNewPath)
-- local sNewPath = EgtChangePathExtension( EMT.FILE, '.prg')
-- EgtEraseFile( sNewPath)
-- EgtRenameFile( EMT.FILE, sNewPath)
end
---------------------------------------------------------------------
@@ -623,7 +623,15 @@ function MyAdjustLinearAxes()
EMT.L3 = -EMT.L3
-- altrimenti foratore
else
local Len = EMT.TLEN
-- recupero dimensioni utensile principale. E' tutto calcolato su quello.
local sCurrTool = EgtTdbGetCurrToolParam( MCH_TP.NAME)
local nMainExit = EMT.DRACEX[1]
local sMainTool = EgtGetToolsInCurrSetupPos( 'T81')[nMainExit]
EgtTdbSetCurrTool( sMainTool)
local Len = EgtTdbGetCurrToolParam( MCH_TP.LEN)
EgtTdbSetCurrTool( sCurrTool)
local vtE = Vector3d( EMT.TDIR) * Len
-- si compensa utensile
@@ -631,10 +639,9 @@ function MyAdjustLinearAxes()
EMT.L2 = EMT.L2 - vtE:getY()
EMT.L3 = EMT.L3 - vtE:getZ()
local nExit = EMT.DRACEX[1]
EMT.L1 = EMT.L1 + MDRILL[nExit].Pos[1]
EMT.L2 = EMT.L2 + MDRILL[nExit].Pos[2] - EMT.RAWPOS[2] - EMT.HP
EMT.L3 = EMT.L3 + MDRILL[nExit].Pos[3] - EMT.RAWPOS[3] - EMT.TP
EMT.L1 = EMT.L1 + MDRILL[nMainExit].Pos[1]
EMT.L2 = EMT.L2 + MDRILL[nMainExit].Pos[2] - EMT.RAWPOS[2] - EMT.HP
EMT.L3 = EMT.L3 + MDRILL[nMainExit].Pos[3] - EMT.RAWPOS[3] - EMT.TP
EmtAdjustLinearAxes()
-- Y e Z sono invertiti
+2 -2
View File
@@ -4,8 +4,8 @@
require( 'EmtGenerator')
EgtEnableDebug( false)
PP_VER = '2.7f1'
PP_NVER = '2.7.6.1'
PP_VER = '2.7f2'
PP_NVER = '2.7.6.2'
MIN_MACH_VER = '2.5k1'
MACH_NAME = 'MW_Project265'