EgtMachKernel 1.6k8 :

- modifiche per tagli di lama inclinati.
This commit is contained in:
Dario Sassi
2015-11-20 13:41:10 +00:00
parent 843282c234
commit 8dd67afcb7
10 changed files with 156 additions and 15 deletions
+3 -1
View File
@@ -300,7 +300,9 @@ SawingData::VerifyCurveUse( int nVal) const
bool
SawingData::VerifySideAngle( double dVal) const
{
return ( ( dVal > - EPS_SMALL && dVal < 60 + EPS_SMALL) || fabs( dVal - 99) < EPS_SMALL) ;
const double MAX_SIDE_ANG = 60 + EPS_ANG_SMALL ;
const double AUTO_SIDE_ANG = 99 ;
return ( ( dVal > - MAX_SIDE_ANG && dVal < MAX_SIDE_ANG) || fabs( dVal - AUTO_SIDE_ANG) < EPS_ANG_SMALL) ;
}
//----------------------------------------------------------------------------