Jump to content
UltiMaker Community of 3D Printing Experts

Writing a custom Cura package


ZachRose

Recommended Posts

Posted · Writing a custom Cura package

I am trying to write a plugin similar to the Dremel plugin in the Cura marketplace. I it want to install the printer definition, quality profiles, etc. via a plugin. Looking at the Dremel plugin, when downloaded it is stored in the cache as a .curapackage and then installed the next time Cura is run. What is the best way for me to get Cura to do a similar thing for my plugin?

 

I have tried various ways of imitating the way Cura installs the Dremel plugin when downloaded to the marketplace but to no avail.

 

Eventually I want to submit it to the marketplace but I want to test the installation to debug my code before I do. I'm sorry if this is an amateur question, I'm very new to writing plugins for Cura.

  • Link to post
    Share on other sites

    Posted (edited) · Writing a custom Cura package

    The most reliable way of creating a curapackage is to create an account at https://contribute.ultimaker.com

    That is the portal to submit a plugin to the Marketplace, and its backend actually creates the curapackage from your sources (which you upload as a zip) and some metadata you fill in to a form. Before you "submit" the package for inclusion in the Marketplace, you can download and test your curapackage.

    Edited by ahoeben
    • Like 1
    • Thanks 1
    Link to post
    Share on other sites

    Posted (edited) · Writing a custom Cura package

    Thank you @ahoeben! Sorry if I continue to ask really basic questions, but now that I have the .curapackage file, how do I make Cura install it? When I download them from the marketplace, Cura automatically fills out the packages.json with relevant metadata and then installs in on next launch. Should I just fill that information in manually or is there a better way to test it?

     

    Also @Smithy if you go to the bottom and use the sign in with Ultimaker Forum button everything should work fine!

    Edited by ZachRose
  • Link to post
    Share on other sites

    Posted · Writing a custom Cura package

    Just drop the curapackage into the Cura window. I think you can also use File -> Open, but never tried that.

  • Link to post
    Share on other sites

    Posted · Writing a custom Cura package
    32 minutes ago, ZachRose said:

    Also @Smithy if you go to the bottom and use the sign in with Ultimaker Forum button everything should work fine!

    Thanks for the hint, will give it a try.

  • Link to post
    Share on other sites

    Posted · Writing a custom Cura package
    On 1/5/2019 at 12:44 PM, ahoeben said:

    The most reliable way of creating a curapackage is to create an account at https://contribute.ultimaker.com

    That is the portal to submit a plugin to the Marketplace, and its backend actually creates the curapackage from your sources (which you upload as a zip) and some metadata you fill in to a form. Before you "submit" the package for inclusion in the Marketplace, you can download and test your curapackage.

    I created an account for https://contribute.ultimaker.com

    and I started with "New Plugin" button.

    I saw this: Sdk versions (7.2.0 | 4.6.0+)
    where can i get this sdk package?

    Thanks.
    Best regards.

  • Link to post
    Share on other sites

    Posted · Writing a custom Cura package
    10 hours ago, ersinkecis said:

    I created an account for https://contribute.ultimaker.com

    and I started with "New Plugin" button.

    I saw this: Sdk versions (7.2.0 | 4.6.0+)
    where can i get this sdk package?

    Thanks.
    Best regards.

     

    The SDK versions determine which versions of Cura your package will be compatible with. It goes like this: (SDK|Cura version)

     

    5.0.0 | 3.5.0+

    6.0.0 | 4.0.0+ 6.1.0 | 4.1.0+ 6.2.0 | 4.2.0+ 6.3.0 | 4.3.0+ 7.0.0 | 4.4.0+ 7.1.0 | 4.5.0+ 7.2.0 | 4.6.0+

     

     

    EDIT: just found a bug in our forum I think 😄

  • Link to post
    Share on other sites

    Posted · Writing a custom Cura package
    12 hours ago, ersinkecis said:

    where can i get this sdk package?

     

    It is not an SDK in the traditional sense of there being a downloadable package. The SDK is already part of Cura. I would have called it an API.

    • Like 1
    Link to post
    Share on other sites

    Posted · Writing a custom Cura package
    On 6/17/2020 at 2:37 PM, ahoeben said:

     

    It is not an SDK in the traditional sense of there being a downloadable package. The SDK is already part of Cura. I would have called it an API.

    ok. I understand. thx.

  • 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.3 stable released
        In this stable release, Cura 5.3 achieves yet another huge leap forward in 3D printing thanks to material interlocking! As well as introducing an expanded recommended print settings menu and lots of print quality improvements. Not to mention, a whole bunch of new printer profiles for non-UltiMaker printers!
          • Thanks
        • 21 replies
      • Here it is. The new UltiMaker S7
        The UltiMaker S7 is built on the success of the UltiMaker S5 and its design decisions were heavily based on feedback from customers.
         
         
        So what’s new?
        The obvious change is the S7’s height. It now includes an integrated Air Manager. This filters the exhaust air of every print and also improves build temperature stability. To further enclose the build chamber the S7 only has one magnetically latched door.
         
        The build stack has also been completely redesigned. A PEI-coated flexible steel build plate makes a big difference to productivity. Not only do you not need tools to pop a printed part off. But we also don’t recommend using or adhesion structures for UltiMaker materials (except PC, because...it’s PC). Along with that, 4 pins and 25 magnets make it easy to replace the flex plate perfectly – even with one hand.
         
        The re-engineered print head has an inductive sensor which reduces noise when probing the build plate. This effectively makes it much harder to not achieve a perfect first layer, improving overall print success. We also reversed the front fan direction (fewer plastic hairs, less maintenance), made the print core door magnets stronger, and add a sensor that helps avoid flooding.
         

         
        The UltiMaker S7 also includes quality of life improvements:
        Reliable bed tilt compensation (no more thumbscrews) 2.4 and 5 GHz Wi-Fi A 1080p camera (mounted higher for a better view) Compatibility with 280+ Marketplace materials Compatibility with S5 project files (no reslicing needed) And a whole lot more  
        Curious to see the S7 in action?
        We’re hosting a free tech demo on February 7.
        It will be live and you can ask any questions to our CTO, Miguel Calvo.
        Register here for the Webinar
          • Like
        • 18 replies
      • UltiMaker Cura Alpha 🎄 Tree Support Spotlight 🎄
        Are you a fan of tree support, but dislike the removal process and the amount of filament it uses? Then we would like to invite you to try this special release of UltiMaker Cura. Brought to you by our special community contributor @thomasrahm
         
        We generated a special version of Cura 5.2 called 5.3.0 Alpha + Xmas. The only changes we introduced compared to UltiMaker Cura 5.2.1 are those which are needed for the new supports. So keep in mind, this is not a sneak peek for Cura 5.3 (there are some really cool new features coming up) but a spotlight release highlighting this new version of tree supports.  
          • Like
        • 22 replies
    ×
    ×
    • Create New...