3 Commits

Author SHA1 Message Date
andrea.villa 3351d3bcdd In simulazione, foratore si muove prima in X-Y e poi Z 2025-08-22 11:46:45 +02:00
luca.mazzoleni d7adf4a829 - in ini si usa flag active invece di setup utensili 2025-06-18 16:40:50 +02:00
andrea.villa 8a6a0b6dfa Corretto direzione taglio e concordanza 2025-06-17 15:36:14 +02:00
4 changed files with 9 additions and 4 deletions
+2 -2
View File
@@ -383,13 +383,13 @@ function OnLinear()
bClimbCut = false
end
end
local sDiscordanza = EgtIf( bClimbCut, ' D0', ' D1')
local sDiscordanza = EgtIf( bClimbCut, ' D1', ' D0')
local sSpeed = ' S' .. EmtLenToString( EMT.S / 1000)
local sToolSelection = GetToolSelectionString( EMT.HEAD, EMT.TCPOS)
local sVertAngle = ' J' .. EmtLenToString( EMT.R2)
-- se taglio in discordanza, si invertono i punti start/end per mantenere direzione testa
if bClimbCut then
if not bClimbCut then
bInvertPoints = true
end
local sLinearAxes
+1
View File
@@ -15,6 +15,7 @@ DrillMaker=MakeWoodDrill.lua
SawbladeMaker=MakeSawblade.lua
MillMaker=MakeWoodCylMill.lua
ChiselMaker=MakeChisel.lua
Active=1
[ToolHolder]
H11.1=HSK-F63_MillWeld12.nge
+2 -2
View File
@@ -4,8 +4,8 @@
require( 'EmtGenerator')
EgtEnableDebug( false)
PP_VER = '2.7f2'
PP_NVER = '2.7.6.2'
PP_VER = '2.7h1'
PP_NVER = '2.7.8.1'
MIN_MACH_VER = '2.5k1'
MACH_NAME = 'MW_Project265'
+4
View File
@@ -382,6 +382,10 @@ end
---------------------------------------------------------------------
function OnSimulMoveStart()
-- se foratore, muovo sempre prima la X-Y e poi gli altri assi
if ( EMT.MOVE == 0 and EMT.FLAG == 1) and EMT.HEAD == 'H21' then
SimulMoveAxis( 'X', EMT.L1, MCH_SIM_STEP.RAPID, 'Y', EMT.L2, MCH_SIM_STEP.RAPID)
end
end
---------------------------------------------------------------------