- Aggiunto calcolo versore direzione inizio e fine percorso in DTMortise
- Alla funzione PreSimulationLib.CheckOutOfStrokeFromGeometry ora si passa la vtHead direttamente - STR0001 e STR0006 modificate per compatibilità alla CheckOutOfStrokeFromGeometry - STR0007 ristrutturata per contemplare gli extra-corsa. Per ora solo profilo e antischeggia. Extra-corsa su svuotature non ancora gestito.
This commit is contained in:
@@ -237,7 +237,7 @@ end
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
-- check extracorsa da geometria
|
||||
-- TODO da considerare anche gli attacchi
|
||||
function PreSimulationLib.CheckOutOfStrokeFromGeometry( idGeometry, Proc, nSCC, Tool)
|
||||
function PreSimulationLib.CheckOutOfStrokeFromGeometry( idGeometry, vtHead, nSCC, Tool)
|
||||
|
||||
local b3GeomMaxOffset = EgtGetBBoxGlob( idGeometry, GDB_BB.STANDARD)
|
||||
local ptBoxCenter = b3GeomMaxOffset:getCenter()
|
||||
@@ -260,7 +260,7 @@ function PreSimulationLib.CheckOutOfStrokeFromGeometry( idGeometry, Proc, nSCC,
|
||||
-- Z-
|
||||
table.insert( PointsOnToolTipCenter, Point3d( ptBoxCenter - dBoxDimZ / 2 * Z_AX()))
|
||||
|
||||
local bOutOfStroke = PreSimulationLib.CheckOutOfStrokeFromPoints( PointsOnToolTipCenter, Proc.FeatureInfo.vtTenonN, nSCC, Tool)
|
||||
local bOutOfStroke = PreSimulationLib.CheckOutOfStrokeFromPoints( PointsOnToolTipCenter, vtHead, nSCC, Tool)
|
||||
|
||||
return bOutOfStroke
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user