01-29-2019
09:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
01-29-2019
09:29 AM
Did you modify the post for spiral moves?
I've done this mod in my posts but it's not done correctly in yours as there should be a tolerance test. This should be the first test in onCircular and you have the maximumCircularRadiiDifference and Spiraltolerance variables but the code below is missing.
if (isSpiral()) {
var startRadius = getCircularStartRadius();
var endRadius = getCircularRadius();
var dr = Math.abs(endRadius - startRadius);
if (dr > maximumCircularRadiiDifference) { // maximum limit
linearize(Spiraltolerance); // or alternatively use other G-codes for spiral motion
return;
}
}
Your onCircular should look like this.
Mark
Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Fusion