EgtMachKernel :

- in sgrossatura superfici piccola modifica per Zloc attacchi dei vari livelli con eliche e similari.
This commit is contained in:
Dario Sassi
2024-07-08 08:58:16 +02:00
parent bc2baf17a7
commit bc373d2e33
+6 -7
View File
@@ -1853,17 +1853,16 @@ SurfRoughing::AddPocket( const INTINTVECTOR& vPocket, const Vector3d& vtTool, co
}
// altrimenti, approccio di collegamento
else {
// cambio posizione punto per fare elica o similari solo sulla parte con materiale
if ( ( GetLeadInType() == POCKET_LI_ZIGZAG ||
GetLeadInType() == POCKET_LI_HELIX ||
GetLeadInType() == POCKET_LI_GLIDE) && ! bIsSubStep) {
ptP1 -= ( nBasicStep * dStep) * vtTool ;
}
if ( ! AddLinkApproach( ptP1, vtTool, dSafeZ, dStElev, dAppr)) {
m_pMchMgr->SetLastError( 3012, "Error in SurfRoughing : Link not computable") ;
return false ;
}
if ( ! bIsSubStep) {
ptP1 -= ( nBasicStep * dStep) * vtTool ;
SetFeed( GetTipFeed()) ;
SetFlag( 0) ;
if ( AddLinearMove( ptP1) == GDB_ID_NULL)
return false ;
}
}
// aggiungo attacco
SetFeed( GetStartFeed()) ;