DataDoors :

- piccolo riordino del codice.
This commit is contained in:
Dario Sassi
2025-05-07 09:20:16 +02:00
parent c9141e4f7a
commit 638e20883c
+13 -12
View File
@@ -1412,7 +1412,19 @@ function VisionCutOut.Draw( tVisPar, bPreview, bRunByCompo, nDrawMach)
EgtErase( hint_ofs)
end
end
if MId then
EgtModifyCurveThickness( MId, -T)
EgtInvertCurve( MId)
if bl then
EgtSetName( MId, LBM)
EgtSetInfo( MId, 'ByBlade', bl)
else
EgtSetName( MId, LM)
end
end
-- eventuale antischeggia per split (validi se rotazione utensile di split oraria)
if split and T2 and LA then
local bHoriz = ( dir ~= '0')
@@ -1441,17 +1453,6 @@ function VisionCutOut.Draw( tVisPar, bPreview, bRunByCompo, nDrawMach)
EgtSetName( As2Id, LA)
end
if MId then
EgtModifyCurveThickness( MId, -T)
EgtInvertCurve( MId)
if bl then
EgtSetName( MId, LBM)
EgtSetInfo( MId, 'ByBlade', bl)
else
EgtSetName( MId, LM)
end
end
elseif split == nil then
EC = (ErrorBase+5)
EM = EgtDoorsMsg[408] -- mancano i parametri delle dimensioni