- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I am looking for somebody with experience using the 'tool orientation' feature in CAM, maybe using aggregates on the machine. Myself I have been using Fusion for a few years now, and was aware that the 'tool orientation' feature exists. I am working now on a project that requires this feature, and I assumed it would be not too much trouble to get it working. In fact, within Fusion everything works just great, toolpaths get generated correctly and the simulation looks all good to go.
However, once I tried to postprocess these toolpaths, the following picture unfolded. My postprocessor failed to execute and bailed out with an error message, as do most other standard post processors. There are 17 standard postprocessors in the list which don't bail out, eight of them generate G-code which my machine controller can digest, and I tried every single one of them.
The result is that these eight postprocessors simply ignore the error most postprocessors detect correctly and simply output a G-code file as if the tool orientation was 'standard'. So no help here at all.
I then ran the the toolpaths through the 'Dumper' postprocessor to check out what Fusion is actually spitting out. The following is from the created .dmp file:
335: onSection()
currentSection.unit=1
currentSection.workOrigin=(0, 0, 0)
currentSection.workPlane=[[1, 0, 0], [0, 0, -1], [0, 1, 0]]
currentSection.wcsOrigin=(0, 0, 0)
currentSection.wcsPlane=[[1, 0, 0], [0, 1, 0], [0, 0, 1]]
currentSection.workOffset=0
currentSection.dynamicWCSOrigin=(0, 0, 0)
currentSection.dynamicWCSPlane=[[1, 0, 0], [0, 1, 0], [0, 0, 1]]
currentSection.dynamicWorkOffset=0
currentSection.fcsOrigin=(214.232, 36.6666, -5.70985e-14)
currentSection.fcsPlane=[[1, 0, 0], [0, 1, 0], [0, 0, 1]]
The highlighted line in red correctly lists the rotation of my WCS by 90º, so Fusion appears to output all the information a post would need to create the correct G-code file. It just appears that not a single post in the list of standard posts takes the work plane information, creates a rotation matrix and rotates the coordinates accordingly (strictly speaking one would want a proper 4x4 coord transform which includes the origin transformation as well). I get that implementing this will slow the post down marginally for the 99% of users who use standard tool orientation, but I image that there must be some users out there with a machine with aggregate heads? Anybody?
If there is anybody out there who has worked out how to make this work (maybe I'm missing something here), or if there is somebody out there who extended a G-code post to include the coordinate transformation for aggregates please get in contact with me. Alternatively, if you are a crack postprocessor coder and fancy creating a generic G-code post which is aggregate ready and you feel generous with your time I would love to hear from you!
Many thanks!
Cheers,
Jochen
PS: I am aware that circular and helical motions won't be able to be translated in any other way than linear approximations, but that would do me just fine. I just need the machine to run this path, even if the G-code file is lengthy.
Solved! Go to Solution.