- in HeadCut e Split i tagli aggiuntivi di spezzatura sono ora con attacco perpendicolare e OutRaw=3 (non tornano ogni volta indietro fino al grezzo ipotetico); risolto, presumibilmente, il caso dei rulli che si chiudono

- modificate di conseguenza Cut e FacesBySaw
This commit is contained in:
luca.mazzoleni
2025-06-20 17:59:14 +02:00
parent ab6ed79a0e
commit 1e2f559937
4 changed files with 48 additions and 29 deletions
+8 -2
View File
@@ -597,8 +597,14 @@ local function MakeFromTop( sCutting, Proc, nPhase, nRawId, nPartId, dOvmHead, b
vtOrthoOAlternative = - vtOrthoO
end
local sLeadInOutTypeFbs = 'Calculated'
if ( sLeadInOutType == 'Tangent') and ( ( i % 2) ~= 0) then
sLeadInOutTypeFbs = 'Tangent'
if ( ( i % 2) ~= 0) then
if ( sLeadInOutType == 'Tangent') then
sLeadInOutTypeFbs = 'Tangent'
elseif ( sLeadInOutType == 'Perpendicular') then
sLeadInOutTypeFbs = 'Perpendicular'
elseif ( sLeadInOutType == 'PerpendicularOutraw') then
sLeadInOutTypeFbs = 'PerpendicularOutraw'
end
end
local bOk, sErr = Fbs.MakeOne( vCuts[i][j], 0, sCutting, dSawDiam, vtOrthoO, dVzLimDwnUp, dExtraCut, BD.CUT_SIC, 0, 0, 0, sNotes, b3Raw, nil, nil, bSpecialTangentLeadInOut, sLeadInOutTypeFbs, vtOrthoOAlternative)
if not bOk then return bOk, sErr end