Jump to content

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

      • 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
          • Like
        • 2 replies
      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 26 replies
    ×
    ×
    • Create New...