EgtMachKernel :

- in PocketingNT pulizia codice e piccola correzione per casi a Spirale.
This commit is contained in:
Riccardo Elitropi
2025-09-16 10:29:56 +02:00
parent 2e5caf2def
commit f2a70b9fe0
2 changed files with 3 additions and 3 deletions
+3 -2
View File
@@ -4013,8 +4013,9 @@ PocketingNT::CalcPaths( STEPINFOPOVECTOR& vStepInfo)
return false ;
}
// definisco il nuovo punto di riferimento per il percorso successivo
// se caso a spirale, il punto di riferimento diventa il punto inziale
if ( int( vStepInfo[i].vPaths.size()) == 1 && vStepInfo[i].vPaths[0].bOptCirle)
// se caso a spirale Open, il punto di riferimento diventa il punto inziale
if ( int( vStepInfo[i].vPaths.size()) == 1 && vStepInfo[i].vPaths[0].bOptCirle &&
vStepInfo[i].vPaths[0].bOutStart)
vStepInfo[i].vPaths[0].pCrvPath->GetStartPoint( ptStartRef) ;
// se l'utensile ha un raggio sotto la tolleranza, allora è il punto finale del percorso attuale
else if ( m_TParams.m_dDiam / 2. < TOOL_RAD_PTSTART)
-1
View File
@@ -116,7 +116,6 @@ class PocketingNT : public Machining
ISurfFlatRegion* GetSfrRawProjection( const ISurfTriMesh* pStmRaw, const ISurfFlatRegion* pSfr, const Vector3d& vtTool) ;
Point3d GetStartPointsFromSteps( const STEPINFOPOVECTOR& vStepInfo, int nCrvType) ;
bool ManageOpenEdges( ISurfFlatRegion* pSfr, const ISurfTriMesh* pStmPart) ;
bool ManageLeadInLeadOutGlideCrvs( STEPINFOPOVECTOR& vStepInfo) ;
bool GetHomogeneousParts( const ICurveComposite* pCrvCompo, ICRVCOMPOPOVECTOR& vpCrvs) const ;
bool ExtendOpenEdges( ISurfFlatRegion* pSfr, const ISurfTriMesh* pStm) ;
bool ChooseCloseOrOpenEdge( ISurfFlatRegion* pSfr, const ISurfTriMesh* pStmExtrusion) ;