- in mlde e BeamDataNew correzioni per sega a catena
This commit is contained in:
@@ -93,7 +93,7 @@ local function GetBlockedAxis( sHead, nToolType, sBlockedAxis)
|
||||
elseif nToolType == MCH_TY.MORTISE_STD then
|
||||
if sHead == 'H3' then
|
||||
if sBlockedAxis == 'parallel' then
|
||||
return 'CS=90'
|
||||
return 'CS=-90'
|
||||
elseif sBlockedAxis == 'perpendicular' then
|
||||
return 'CS=0'
|
||||
end
|
||||
|
||||
@@ -442,8 +442,8 @@ function OnSetHead()
|
||||
local dDist = EgtIf( EMC.DIST and abs( EMC.DIST) > 1, EMC.DIST, ChSawLen)
|
||||
EmtModifyExitPosition( EMC.HEAD, EMC.EXIT, Point3d( 0, 0, -dDist))
|
||||
-- recupero valore asse CS bloccato
|
||||
local sVal = EgtGetMachiningParam( MCH_MP.BLOCKEDAXIS)
|
||||
local dPosCS = tonumber( sVal:sub( 4) or '')
|
||||
local sVal = EgtGetMachiningParam( MCH_MP.BLOCKEDAXIS) or ''
|
||||
local dPosCS = tonumber( sVal:sub( 4)) or 0
|
||||
EmtModifyAxisHome( 'C', GetChainSawCHomeFromVirtualAxis( dPosCS))
|
||||
-- limiti asse A
|
||||
EmtModifyAxisStroke( 'A', { -91, 91})
|
||||
|
||||
Reference in New Issue
Block a user