Corretta posizione motosega come WALL_XS0014

This commit is contained in:
andrea.villa
2025-07-11 11:16:08 +02:00
parent 5cced3dcb5
commit 6f08297251
3 changed files with 13 additions and 6 deletions
+2 -5
View File
@@ -115,11 +115,8 @@ function OnToolData()
elseif EMT.HEAD == 'H3' then
if EMT.TDIST and abs( EMT.TDIST) < 0.1 then EMT.TDIST = nil end
local sData = ' P2=' .. EmtLenToString( ( EMT.TDIST or ChSawLen), 3) .. ' P3=' .. EmtLenToString( EMT.TLEN, 3) ..
' P4=' .. EmtLenToString( EMT.SMAX, 3) .. ' P5=' .. EmtLenToString( ( EMT.TDIST or ChSawLen), 3)
EmtOutput( 'M992 P1=101' .. sData)
EmtOutput( 'M992 P1=102' .. sData)
EmtOutput( 'M992 P1=103' .. sData)
EmtOutput( 'M992 P1=104' .. sData)
' P4=' .. EmtLenToString( EMT.SMAX, 3) .. ' P5=' .. EmtLenToString( (EMT.TDIST or ChSawLen), 3)
EmtOutput( 'M992 P1=8' .. sData)
end
end
+1 -1
View File
@@ -8,7 +8,7 @@
require( 'EmtGenerator')
EgtEnableDebug( false)
PP_VER = '2.7g1'
PP_VER = '2.7g2'
PP_NVER = '2.7.7.1'
-- Parametri macchina
+10
View File
@@ -69,6 +69,16 @@ if EgtExistsFile( sData) then
end
end
-------------------------------------------------------------------------------------------------------------
local function GetChainSawBlockedAxis( nInd)
--if nInd == 1 then
return 'A1=270'
--else
-- return 'A1=0'
--end
end
WallData.GetChainSawBlockedAxis = GetChainSawBlockedAxis
-------------------------------------------------------------------------------------------------------------
local function GetOrigCorner( RefPos)
if RefPos == 1 then