EgtMachKernel :
- in sgrossatura superfici piccola modifica per Zloc attacchi dei vari livelli con eliche e similari.
This commit is contained in:
+6
-7
@@ -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()) ;
|
||||
|
||||
Reference in New Issue
Block a user