- alcune correzioni nel calcolo approccio retrazione per lavorazioni di coda e split
- in STR0003 aggiunta gestione lavorazioni di coda per sega a catena
This commit is contained in:
@@ -66,9 +66,6 @@ end
|
||||
function MachiningLib.StartsLeftSide( Machining)
|
||||
local bStartsLeftSide = ( Machining.vtEdgeDirection:getX() > 10 * GEO.EPS_SMALL and not Machining.bInvert)
|
||||
or ( not( Machining.vtEdgeDirection:getX() > 10 * GEO.EPS_SMALL) and Machining.bInvert)
|
||||
if Machining.bToolInvert then
|
||||
bStartsLeftSide = not bStartsLeftSide
|
||||
end
|
||||
|
||||
return bStartsLeftSide
|
||||
end
|
||||
@@ -137,6 +134,9 @@ function MachiningLib.GetSplitMachinings( Machinings, vSplittingPoints, Part )
|
||||
|
||||
local dStartAddLength = dOriginalStartAddLength
|
||||
local dEndAddLength = dOriginalEndAddLength
|
||||
if MachiningLib.StartsLeftSide( Machinings[nCurrentMachiningIndex]) then
|
||||
dStartAddLength, dEndAddLength = dEndAddLength, dStartAddLength
|
||||
end
|
||||
if j == 1 then
|
||||
dEndAddLength = - ( vSplittingPoints[j]:getX() - dEdgeMinX) + BeamData.MILL_OVERLAP
|
||||
elseif j == nParts then
|
||||
|
||||
Reference in New Issue
Block a user