EgtMachKernel :
- aggiunta possibilità di scalare la tavola - migliorata NewName (se si propone Nome_1 ora se già esiste prova con Nome_2, Nome_3 e non Nome_1_1, ...) - in milling curve composite gestite come entità atomiche per sequenziamento - in milling gestito offset longitudinale - in milling migliorato calcolo elevazione per attacchi/uscite - in simulazione tolto reset iniziale utensili.
This commit is contained in:
+9
-1
@@ -192,7 +192,8 @@ Machine::AdjustAuxGeometry( const STRVECTOR& vsAux, int nLay)
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
Machine::LoadMachineTable( const string& sName, const string& sParent, int nType,
|
||||
const Point3d& ptRef1, const string& sGeo, const STRVECTOR& vsAux)
|
||||
const Point3d& ptRef1, double dCoeffX, double dCoeffY, double dCoeffZ,
|
||||
const string& sGeo, const STRVECTOR& vsAux)
|
||||
{
|
||||
// recupero pezzo e layer della geometria originale della tavola
|
||||
string sPart, sLay ;
|
||||
@@ -215,6 +216,13 @@ Machine::LoadMachineTable( const string& sName, const string& sParent, int nType
|
||||
// aggiusto la posizione della tavola
|
||||
if ( ! AdjustTable( nLay, ptRef1))
|
||||
return false ;
|
||||
// eseguo eventuale scalatura
|
||||
if ( abs( dCoeffX - 1.0) > EPS_ZERO ||
|
||||
abs( dCoeffY - 1.0) > EPS_ZERO ||
|
||||
abs( dCoeffZ - 1.0) > EPS_ZERO) {
|
||||
if ( ! m_pGeomDB->ScaleGlob( nLay, Frame3d( ptRef1), dCoeffX, dCoeffY, dCoeffZ))
|
||||
return false ;
|
||||
}
|
||||
// recupero l'area valida
|
||||
int nAreaId = m_pGeomDB->GetFirstNameInGroup( nLay, MCH_TAREA + "1") ;
|
||||
BBox3d b3Area1 ;
|
||||
|
||||
Reference in New Issue
Block a user