Jump to content
markwal

Cura 2.x User Folder for plugins

Recommended Posts

Posted · Cura 2.x User Folder for plugins

How about:

Windows: %AppData%/cura/plugins

Mac: ~/Library/Application Support/cura/plugins

Linux: ~/.cura/plugins

What do you think? I could do a PR unless there's a philosophical objection.

Share this post


Link to post
Share on other sites
Posted · Cura 2.x User Folder for plugins

I have no issues with that. I would suggest that only "user" plugins are placed there (eg; Not plugins that are defaults, as we tend to update them).

We would also need a way to handle conflicts (what happens if translate tool is put in plugins folder)

Share this post


Link to post
Share on other sites
Posted · Cura 2.x User Folder for plugins

I am fairly certain these locations already work. It is just that the folder doesn't get created automatically.

Share this post


Link to post
Share on other sites
Posted · Cura 2.x User Folder for plugins

Ah. You're right. They do work. I attempted on Windows first and it didn't work (probably because I got the path wrong), but now I was debugging on Mac and yep, it's already in the _plugin_locations. So, never mind.

Share this post


Link to post
Share on other sites
Posted · Cura 2.x User Folder for plugins

I have checked in some code that ensures that the plugins folder is created along with the other folders in the config folder.

Share this post


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

×
×
  • 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!