- in LeadInOutLib correzione nel calcolo di ptStartAtDepth e ptEndAtDepth
This commit is contained in:
@@ -67,8 +67,8 @@ function LeadInOutLib.CalculateLeadInOut( sLeadInOutType, Parameters)
|
||||
local dDepthToMachineNext = dDepthToMachine / abs( vtEdgeNextLoc:getY())
|
||||
|
||||
-- punti di inizio e fine lavorazione alla profondità di lavoro reale
|
||||
local ptStartAtDepth = Edge.ptStart + ( -EdgePrevious.vtEdge) * ( EdgePrevious.dLength - dDepthToMachinePrevious)
|
||||
local ptEndAtDepth = Edge.ptEnd + EdgeNext.vtEdge * ( EdgeNext.dLength - dDepthToMachineNext)
|
||||
local ptStartAtDepth = Edge.ptStart + Edge.vtN * ( Edge.dElevation - dDepthToMachine)
|
||||
local ptEndAtDepth = Edge.ptEnd + Edge.vtN * ( Edge.dElevation - dDepthToMachine)
|
||||
|
||||
-- distanza dai punti di inizio e fine lavorazione reali al pezzo, nelle direzioni dei lati adiacenti
|
||||
-- TODO bisogna controllare bOk???
|
||||
|
||||
Reference in New Issue
Block a user