- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
currently searching for a way to output Z height from toolpaths in my post processor previously I just set it to leave 3mm of stock to avoid hitting pods (3 axis pod and rail cnc) but I'm finding I'm often inputting correct heights in fusion and neglecting to modify them after post processing to the proper heights, I've tried reading the source but with it being based on javascript (a language without strong typing) its a little hard to follow logically when the variable could well be anything. I've attached my current post, "konturfrasen" is the field in OnClose() that I'm trying to modify to output the correct Z height. (the post processor does not output gcode, it outputs mpr format files (ZA is the height field)
I've tried variations of machining[i].p.z, m.p.z, copying the declaration for xyz, all result in undefined. but it shouldn't be out of scope. I'm unsure what the root object is for obtaining the xyz coordinates from tool paths.
any help at all would be amazing, outside of this one quirk the post processor works flawlessly.
Thanks in advance.
edit:
To be clear on what I'm trying to achieve if I have a 3/4" workpiece and I set a contour to make a pass at say 12.7mm I would like to obtain the 12.7mm value to write in the post processor
Solved! Go to Solution.