fix cam tests
tbh the test seems kind of unstable
This commit is contained in:
committed by
Kacper Donat
parent
62caf967c7
commit
f4f8bd2c81
@@ -1759,7 +1759,7 @@ std::list<AdaptiveOutput> Adaptive2d::Execute(
|
||||
tolerance = min(tolerance, 1.0);
|
||||
|
||||
// 1/"tolerance" = number of min-size adaptive steps per stepover
|
||||
scaleFactor = MIN_STEP_CLIPPER / tolerance / (stepOverFactor * toolDiameter);
|
||||
scaleFactor = MIN_STEP_CLIPPER / tolerance / min(1.0, stepOverFactor * toolDiameter);
|
||||
|
||||
current_region = 0;
|
||||
cout << "Tool Diameter: " << toolDiameter << endl;
|
||||
|
||||
Reference in New Issue
Block a user