Hello everyone,
We have a 5 axis machine that we have retrofitted with a chinese controller but unfortunately it does not support tcp for 5 axis machining.
We are using 5axismaker postprocessor and its working great but we have an issue since the machine has a tool changer with different holder.
The 5axismaker postprocessor take in to account only the toolbody and headoffset during 5 axis work but not the holder length.
Hello @infoR7QDP
you can get inspiration from a piece of code from the rs274d multi axis post:
// calculate the ABC angles and adjust the points for multi-axis operations
// rotary heads may require the tool length be added to the pivot length
// so we need to optimize each section individually
if (machineConfiguration.isHeadConfiguration() && compensateToolLength) {
for (var i = 0; i < getNumberOfSections(); ++i) {
var section = getSection(i);
if (section.isMultiAxis()) {
machineConfiguration.setToolLength(section.getTool().overallLength); // define the tool length for head adjustments
section.optimizeMachineAnglesByMachine(machineConfiguration, OPTIMIZE_AXIS);
}
}
} else { // tables and rotary heads with TCP support can be optimized with a single call
optimizeMachineAngles2(OPTIMIZE_AXIS);
}
This particular post, is recently the guinea pig for all improvement to the multiaxis code in our library.
It's the latest version of code we are testing, before trying to replicate on others posts.
regards.
______________________________________________________________
If my post answers your question, please click the "Accept Solution" button. This helps everyone find answers more quickly!
I have the same situation. I run a head head machine and use 5axismaker PP Everything works. However it would be even better if the post P could use tool offset length from my machine controller library not from fusion360 and just add that Height value to the pivot distance specified in my current PP setting ? Is this possible in any way? Or with any Post processors ? Any updates?
Can't find what you're looking for? Ask the community or share your knowledge.