EgtMachKernel :
- correzioni a collegamenti tra passate ZigZag di Fresature con Utensili NoTip - aggiunta in interfaccia MachMgr funzione GetExitId - in simulazione VirtualMilling aggiunta gestione utensile Chisel.
This commit is contained in:
+4
-3
@@ -2934,8 +2934,9 @@ Milling::AddZigZagMilling( const ICurveComposite* pCompo, const Vector3d& vtTool
|
||||
m_pMchMgr->SetLastError( 2324, "Error in Milling : LeadOut must be out of rawpart") ;
|
||||
bOk = false ;
|
||||
}
|
||||
// aggiungo opportuna retrazione
|
||||
if ( ! AddSawBladeSideRetract( ptP1, vtRetr, vtTool, dSafeZ, dSawEndElev, dEndElev, dAppr)) {
|
||||
// se finale oppure dentro il materiale, aggiungo opportuna retrazione
|
||||
if ( ( k == nStep || ! bUnderEnd) &&
|
||||
! AddSawBladeSideRetract( ptP1, vtRetr, vtTool, dSafeZ, dSawEndElev, dEndElev, dAppr)) {
|
||||
m_pMchMgr->SetLastError( 2312, "Error in Milling : Retract not computable") ;
|
||||
return false ;
|
||||
}
|
||||
@@ -4602,7 +4603,7 @@ Milling::AddSawBladeSideRetract( const Point3d& ptP, const Vector3d& vtRetr, con
|
||||
}
|
||||
}
|
||||
|
||||
if ( bAddExtract &&
|
||||
if ( bAddExtract && ! AreSameVectorEpsilon( vtRetr, vtTool, LIM_SIN_DIFF_DIR) &&
|
||||
( ! AreSameVectorEpsilon( vtMove, vtTool, LIM_SIN_DIFF_DIR) || dEndElev + dSafeZ > dMove + 10 * EPS_SMALL)) {
|
||||
Point3d ptCurr ;
|
||||
if ( ! GetCurrPos( ptCurr))
|
||||
|
||||
Reference in New Issue
Block a user