New fusion posts processor

New Home Forum Software Development New fusion posts processor

This topic contains 9 replies, has 6 voices, and was last updated by Profile photo of Martin DB Martin DB 1 month ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #23338
    Profile photo of Martin DB
    Martin DB
    Participant

    In the lasts weeks I was learning a lot of cnc, milling, and mpcnc itself. Also CAD and CAM with Fusion 360. I was playing with fusion posts processors (a kind of javascripts plugin that write Gcode from the CAM operations), and in order to learn more, I decided to write one posts processor from scratch, taking some great ideas from the other posts processors and from users suggestions in the forum.

    Right now I’ve a version that I was using in the last week to laser cutting/engraving and 2D milling (sorry, not 2.5D milling tested yet) without issues.

    Some design points:
    – Setup operation types: Milling, Water/Laser/Plasma
    – Only support MM units (inches may work with custom start gcode – NOT TESTED)
    – XY and Z independent travel speeds. Rapids are done with G1.
    – Arcs support on XY plane
    – Tested in Marlin 1.1.0RC8
    – Tested with LCD display and SD card (built in tool change require printing from SD and LCD to restart)
    – Support for 3 different laser power using “cutting modes” (through, etch, vaporize)

    Please, have in mind that it MAY have bugs and/or errors, please take with care. It’s a work in progress, I’ll be adding functionality as my next projects (tool probe for example) need them, or new ideas comes.

    I’ve published it in github if you want to fork/collaborate:
    https://github.com/martindb/mpcnc_posts_processor

    #23342
    Profile photo of vicious1
    vicious1
    Keymaster

    Wow! I’ll try it out today I hope, nice work.

    #23354
    Profile photo of Leo69
    Leo69
    Participant

    Nice clean code. I won’t have time to test but I think this will be a good base to build on. The code is well documented and easy to follow plus all the functionality from V10 is there too. Good Job Martin!

    #23360
    Profile photo of Martin DB
    Martin DB
    Participant

    Thanks Vicious, Leo!

    #23390
    Profile photo of Neil
    Neil
    Participant

    Much appreciated Martin! I will most likely give this a go today.
    Neil

    #24989
    Profile photo of Martin DB
    Martin DB
    Participant

    Thanks to Karl for finding some errors with the custom properties that prevents the posts processor to run in some machines (windows?).

    Code updated in git repository and attached here last version.

    #24992
    Profile photo of Karl Hagström
    Karl Hagström
    Participant

    Just tried to process some files with your code and it really reduces the amount of gcode-commands compared with version V9 – I guess it’s because it enables the Circular G-commands (G2, G3)!
    This project went from ~26 800 lines to ~19 700 (73 %)!

    Another plus is the clean code -easily changeable to my own needs!
    Keep up the good work!
    /Kalle

    #25005
    Profile photo of vicious1
    vicious1
    Keymaster

    Double check how it handles small circles with actual cuts. I think marlin RC7 either is not tuned well for arcs or the code is bad. Small circles tend to get odd shaped. RC8 was supposed to have either fixed or optimized arcs.

    #25975
    Profile photo of rkrammes
    rkrammes
    Participant

    Are there any sources for what the process would look like for laser cutting on the MPCNC with this post processor. I’m familiar with CAD sketches and all that but I don’t know what the workflow would look like. What kind of set up should we do before post processing and which properties should we be tweaking?

    #25989
    Profile photo of Martin DB
    Martin DB
    Participant

    You have to enable the laser preview function in fusion. Then use the water jet/laser/plasma path in the cam section.

    Here you have more details

    https://www.vicious1.com/forum/topic/fusion-360/page/4/#post-21221

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.