Jump to content
ZachRose

Writing a custom Cura package

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.

Share this post


Link to post
Share on other sites
Posted · Writing a custom Cura package

I have no idea but I am sure our "Master of Cura Plugins" @ahoeben can help you with your question.

Share this post


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

Share this post


Link to post
Share on other sites
Posted · Writing a custom Cura package
3 hours ago, ahoeben said:

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

 

Is the login at contribute.ultimaker.com with the community user supposed to work? I e.g. only get an error message.

Share this post


Link to post
Share on other sites
Posted · Writing a custom Cura package

The accounts for the Backup plugin and the community are not the same, I also struggled into that problem some weeks ago.

Share this post


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

Share this post


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.

Share this post


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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Our picks

    • Ultimaker Cura 4.0 | Stable available!
      Ultimaker Cura 4.0 is mainly focused on the improved user interface and cloud integration.
      As always, we want to collect your user feedback for this release. If there are any improvements you can think of, feel free to mention it here and help us to shape the next release.
      • 87 replies
×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!