Python script for converting dump post to Masterwood CN10 g_codes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I was looking for an Inventor post-processor for Masterwood MW18.35 but couldn't find one.
The machine I have is capable of doing 5-axis work, however, it currently operates in 3-axis mode for 2.5D designs. This is because the only CAM software available is EnRoute with a MasterwoodGC CN10 driver.
Looking at the g-codes produced by EnRoute I found that only G100 - G103 and G172 commands are utilized, which corresponds to drilling and horizontal linear/circular movements.
So I was trying to make these functions available for Inventor. Currently, only the 2D Contour without lead-in/out operation is usable. I haven't figure out the drilling part yet. Also, it requires .dmp files from the dump post as inputs.
It basically parses the dump files to get tool information and toolpath. Currently, a lot of the codes (such as tool library, machine working axis) are hardcoded too.
I attached the script as well as a sample I did.
Thanks.