EgtExecutor 1.6n4 :

- correzione a ChainCurves
- aggiunte RemoveLastPhase, VerifyRawPartPhase, SplitFlatRawPartWithMachinings, GetOperationPhase, RemoveAllPhaseOperations, ChangeOperationPhase, GetPhaseDisposition
- estesa VerifyCutAsSplitting
- aggiunti nei messaggi gestione "???" per traduzioni da fare.
This commit is contained in:
Dario Sassi
2016-02-15 07:44:15 +00:00
parent 285da9d4e8
commit af4f4633e0
7 changed files with 274 additions and 36 deletions
+10 -10
View File
@@ -1134,16 +1134,16 @@ MyChainCurvesInGroup( int nGroupId, const Point3d& ptNear, bool bAllowInvert, in
while ( nId != GDB_ID_NULL) {
// recupero la curva
ICurve* pCrv = GetCurve( pGeomDB->GetGeoObj( nId)) ;
if ( pCrv == nullptr)
continue ;
// recupero i dati della curva necessari al concatenamento e li assegno
Point3d ptStart, ptEnd ;
Vector3d vtStart, vtEnd ;
if ( ! pCrv->GetStartPoint( ptStart) || ! pCrv->GetStartDir( vtStart) ||
! pCrv->GetEndPoint( ptEnd) || ! pCrv->GetEndDir( vtEnd))
return false ;
if ( ! chainC.AddCurve( nId, ptStart, vtStart, ptEnd, vtEnd))
return false ;
if ( pCrv != nullptr) {
// recupero i dati della curva necessari al concatenamento e li assegno
Point3d ptStart, ptEnd ;
Vector3d vtStart, vtEnd ;
if ( ! pCrv->GetStartPoint( ptStart) || ! pCrv->GetStartDir( vtStart) ||
! pCrv->GetEndPoint( ptEnd) || ! pCrv->GetEndDir( vtEnd))
return false ;
if ( ! chainC.AddCurve( nId, ptStart, vtStart, ptEnd, vtEnd))
return false ;
}
// passo al successivo
nId = pGeomDB->GetNext( nId) ;
}