Merge commit '2b5aacc160c24afa2dc9ca348e57a204992c5880' into svuotature
This commit is contained in:
+2
-2
@@ -958,8 +958,8 @@ Machine::GetMyAngles( const Vector3d& vtDirT, const Vector3d& vtDirA,
|
||||
vtAx2.Invert() ;
|
||||
// calcolo secondo angolo di rotazione
|
||||
nStat = GetRotationComponent( vtDirHn, dCompTSuAxR1, vtAx1, vtAx2, dAngB1, dAngB2, bDet) ;
|
||||
// se indeterminato con richiesta direzione ausiliaria esatta, ricalcolo con direzione aux
|
||||
if ( nStat >= 1 && ! bDet && m_bSolChExact) {
|
||||
// se indeterminato, provo ricalcolo con direzione aux
|
||||
if ( nStat >= 1 && ! bDet) {
|
||||
// componente versore ausiliario desiderato su direzione primo asse rotante
|
||||
Vector3d vtSccDir ;
|
||||
if ( GetSccDir( m_nCalcSolCh, vtDirAn, vtSccDir)) {
|
||||
|
||||
+1
-1
@@ -2804,7 +2804,7 @@ Milling::AddZigZagMilling( const ICurveComposite* pCompo, const Vector3d& vtTool
|
||||
else {
|
||||
bool bStartFeed = ( bOutStart || m_TParams.m_nType == TT_MILL_POLISHING) ;
|
||||
SetFeed( bStartFeed ? GetStartFeed() : GetTipFeed()) ;
|
||||
if ( AddLinearMove( ptP1) == GDB_ID_NULL)
|
||||
if ( ! SameAsCurrPos( ptP1) && AddLinearMove( ptP1) == GDB_ID_NULL)
|
||||
return false ;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user