Jump to content

Creating a custom Cura plugin


DMar
Go to solution Solved by ahoeben,

Recommended Posts

Posted · Creating a custom Cura plugin

Hi guys,

 

I was looking into how to automate some stuff I frequently do in Cura, but I haven't found any reliable, comprehensive documentation on how to do this. The official documentation seems woefully incomplete on this subject and basically says nothing about how to actually make a plugin. Frustratingly, the Cura wiki says check the Uranium wiki for more details, and the Uranium wiki says to check the Cura wiki if you want to make plugins. There are some dummy example plugins but they don't really teach me anything useful.

 

As an example, something I'm trying to do is add a button which automatically adds a new cube mesh of a certain size to any print, which needs to act as a cutting mesh to apply different settings to that area of the print (like how you can do Per Model Settings --> Modify settings for overlaps). Does anyone know if this is possible with a plugin and if so, how I should go about making one? Or at least a good guide/tutorial on how to make plugins?

  • Link to post
    Share on other sites

    • Solution
    Posted · Creating a custom Cura plugin

    There is no "good guide/tutorial on how to make plugins", other than the wiki:

    https://github.com/Ultimaker/Uranium/wiki/Plugins  (and other pages in the same wiki, like https://github.com/Ultimaker/Uranium/wiki/Creating-Plugins)

     

    Honestly the best way to learn how plugins work is to learn by example. What you want to make sounds very similar to the Support Blocker functionality in Cura. You may not be aware that lots of functionality actually is implemented as plugins. The Support Blocker (internally known as SupportEraser, but that's a bad name) is actually a relatively simple plugin. You can find the code here:

    https://github.com/Ultimaker/Cura/tree/main/plugins/SupportEraser

     

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.8 Stable released 🎉
        In the Cura 5.8 stable release, everyone can now tune their Z seams to look better than ever. Method series users get access to new material profiles, and the base Method model now has a printer profile, meaning the whole Method series is now supported in Cura!
        • 3 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
    ×
    ×
    • Create New...