andrea.villa
2025-04-01 10:01:43 +02:00
+26 -7
View File
@@ -218,12 +218,17 @@ local function GetBlockedAxis( sHead, nToolType, sBlockedAxis)
end
BeamData.GetBlockedAxis = GetBlockedAxis
---------------------------------------------------------------------
local function GetMinNzTopBladeDownUp( b3Raw, vtNFace, vtToolDirection)
return -0.484
end
---------------------------------------------------------------------
local function GetSetupInfo( sHead)
local SetupInfo = {}
-- dati comuni
SetupInfo.bIsCSymmetric = true
SetupInfo.bIsCSymmetrical = true
SetupInfo.dCAxisEncumbrance = 180
SetupInfo.bToolOnAggregate = false
@@ -231,33 +236,47 @@ local function GetSetupInfo( sHead)
if sHead == 'H11' then
SetupInfo.HeadType = { bTop = true, bBottom = false}
SetupInfo.PreferredSide = {}
SetupInfo.dMaxNegativeAngle = sin( -35)
SetupInfo.GetMinNz = function() return sin( -35) end
-- lama su aggregato testa 5 assi da sopra
elseif sHead == 'H12' then
SetupInfo.HeadType = { bTop = true, bBottom = false}
SetupInfo.PreferredSide = {}
SetupInfo.dMaxNegativeAngle = sin( -35)
SetupInfo.GetMinNz = function() return sin( -35) end
-- se con aggregato si considera non simmetrico
SetupInfo.bIsCSymmetrical = false
-- riduzione massimo materiale se usato in tagli orizzontali con affondamento verticale
SetupInfo.dMaxMatDecrease = 25
SetupInfo.GetMinNzDownUp = GetMinNzTopBladeDownUp
-- seconda lama su aggregato testa 5 assi da sopra
elseif sHead == 'H16' then
SetupInfo.HeadType = { bTop = true, bBottom = false}
SetupInfo.PreferredSide = {}
SetupInfo.dMaxNegativeAngle = sin( -35)
SetupInfo.GetMinNz = function() return sin( -35) end
-- se con aggregato si considera non simmetrico
SetupInfo.bIsCSymmetrical = false
-- riduzione massimo materiale se usato in tagli orizzontali con affondamento verticale
SetupInfo.dMaxMatDecrease = 25
SetupInfo.GetMinNzDownUp = GetMinNzTopBladeDownUp
-- motosega
elseif sHead == 'H13' then
SetupInfo.HeadType = { bTop = true, bBottom = false}
SetupInfo.PreferredSide = {}
SetupInfo.dMaxNegativeAngle = 0
SetupInfo.GetMinNz = function() return 0 end
SetupInfo.dZSafeDelta = 60
-- testa 5 assi da sotto
elseif sHead == 'H21' then
SetupInfo.HeadType = { bTop = false, bBottom = true}
SetupInfo.PreferredSide = {}
SetupInfo.dMaxPositiveAngle = sin( 25)
SetupInfo.GetMaxNz = function() return sin( 25) end
-- lama su aggregato testa 5 assi da sotto
elseif sHead == 'H22' then
SetupInfo.HeadType = { bTop = false, bBottom = true}
SetupInfo.PreferredSide = {}
SetupInfo.dMaxPositiveAngle = sin( 25)
SetupInfo.GetMaxNz = function() return sin( 25) end
-- se con aggregato si considera non simmetrico
SetupInfo.bIsCSymmetrical = false
-- riduzione massimo materiale se usato in tagli orizzontali con affondamento verticale
SetupInfo.dMaxMatDecrease = 25
end
return SetupInfo