DataBeam :

- in profilo di testa corretta finitura gradini quando feature è sotto la trave.
This commit is contained in:
Dario Sassi
2020-10-28 12:21:50 +00:00
parent d720a98ac0
commit aa0e483456
+2 -2
View File
@@ -517,7 +517,7 @@ function ProcessProfHead.Make( Proc, nPhase, nRawId, nPartId, dCurrOvmH)
local dLen = Proc.Box:getDimX()
local dDep = EgtIf( nSide == 1, Proc.Box:getDimZ(), Proc.Box:getDimY())
-- se più alta che lunga o da sotto con il parametro Q abilitato
if (dDep > dLen) or ( nSide == -1 and EgtGetInfo( Proc.Id, sMachFacesUnderneath, 'i') == 1) then
if ( dDep > dLen) or ( nSide == -1 and EgtGetInfo( Proc.Id, sMachFacesUnderneath, 'i') == 1) then
for i = 1, #vAngs do
sName = 'ProfV'.. tostring( i)..'_'..( EgtGetName( Proc.Id) or tostring( Proc.Id))
local nMchV2Id = EgtAddMachining( sName, sMilling)
@@ -555,7 +555,7 @@ function ProcessProfHead.Make( Proc, nPhase, nRawId, nPartId, dCurrOvmH)
end
end
-- altrimenti
else
elseif nSide ~= -1 then
for i = 1, #vAngs do
sName = 'ProfV'.. tostring( i)..'_'..( EgtGetName( Proc.Id) or tostring( Proc.Id))
local nMchVId = EgtAddMachining( sName, sMilling)