- creata LeadInOutLib per attacchi
This commit is contained in:
@@ -14,7 +14,7 @@ local BeamLib = require( 'BeamLib')
|
||||
local FeatureLib = require( 'FeatureLib')
|
||||
local BCS = require( 'BasicCustomerStrategies')
|
||||
local PreSimulationLib = require( 'PreSimulationLib')
|
||||
local FaceData = require ( 'FaceData')
|
||||
local LeadInOutLib = require( 'LeadInOutLib')
|
||||
|
||||
EgtOutLog( ' MachiningLib started', 1)
|
||||
|
||||
@@ -334,7 +334,7 @@ local function TestEngagement( sBladeEngagement, Parameters, OptionalParameters)
|
||||
local LeadInOut = {}
|
||||
|
||||
-- attacco perpendicolare
|
||||
local PerpendicularLeadInOut = PreSimulationLib.CalculateLeadInOut()
|
||||
local PerpendicularLeadInOut = LeadInOutLib.CalculateLeadInOut()
|
||||
local bOutOfStrokePerpendicular = PreSimulationLib.CheckOutOfStroke() -- TODO passare punti custom attacco perpendicolare
|
||||
-- se non è in finecorsa si aggiunge come attacco possibile
|
||||
if not bOutOfStrokePerpendicular then
|
||||
@@ -352,7 +352,7 @@ local function TestEngagement( sBladeEngagement, Parameters, OptionalParameters)
|
||||
end
|
||||
|
||||
-- attacco tangenziale
|
||||
local TangentLeadInOut = PreSimulationLib.CalculateLeadInOut()
|
||||
local TangentLeadInOut = LeadInOutLib.CalculateLeadInOut()
|
||||
local bOutOfStrokeTangent = PreSimulationLib.CheckOutOfStroke() -- TODO passare punti custom attacco tangenziale
|
||||
-- attacco tangenziale non in finecorsa: si verifica se è in collisione
|
||||
if not bOutOfStrokeTangent then
|
||||
|
||||
Reference in New Issue
Block a user