EgtMachKernel :
- aggiunta gestione macchine di tipo Robot, le altre sono ora definite di tipo Center.
This commit is contained in:
+6
-3
@@ -1792,9 +1792,12 @@ Milling::ProcessPath( int nPathId, int nPvId, int nClId)
|
||||
bool bSplitArcs = ( nSplitArcs == SPLAR_ALWAYS ||
|
||||
( nSplitArcs == SPLAR_NO_XY_PLANE && ! vtTool.IsZplus()) ||
|
||||
( nSplitArcs == SPLAR_GEN_PLANE && vtTool.IsGeneric())) ;
|
||||
if ( bSplitArcs && ! ApproxWithLines( pCompo)) {
|
||||
m_pMchMgr->SetLastError( 2313, "Error in Milling : Linear Approx not computable") ;
|
||||
return false ;
|
||||
if ( bSplitArcs) {
|
||||
double dMaxLen = ( m_pMchMgr->GetCurrIsRobot() ? 5 : 0) ;
|
||||
if ( ! ApproxWithLines( pCompo, dMaxLen)) {
|
||||
m_pMchMgr->SetLastError( 2313, "Error in Milling : Linear Approx not computable") ;
|
||||
return false ;
|
||||
}
|
||||
}
|
||||
|
||||
// verifiche sull'ampiezza dell'angolo al centro degli eventuali archi
|
||||
|
||||
Reference in New Issue
Block a user