Jump to content
ahoeben

Material Settings plugin

Recommended Posts

Posted (edited) · Material Settings plugin

I'm working on a new plugin, lets the user add settings to the Print Settings tab for materials on the Materials pane of the preferences. At its simplest, it adds the "Flow" parameter to the list of print settings for materials. The plugin also adds Extensions -> Material Settings -> Configure Material Settings. This will open a dialog that lets you configure what settings will be available, so you can add arbitrary settings such as Z Offset and Linear Advance Factor (both requiring an additional plugin already available in the Marketplace). It may not yet work with all settings, let me know.

 

image.thumb.png.7412347c5025ebcbfbb41241cba51147.png

 

Note that a value set in the sidebar or in a profile still overrides what is set in the material. This plugin does not intend to change that.

 

A testing version of the plugin can be downloaded here:

For Cura 4.0 and 4.1: http://files.fieldofview.com/cura/MaterialSettingsPlugin-v6.0.0-2019-06-14T14_49_58Z.curapackage

For Cura 3.5 and 3.6 (untested): http://files.fieldofview.com/cura/MaterialSettingsPlugin-v5.0.0-2019-06-14T14_49_58Z.curapackage

 

After downloading, just drop the file into a running Cura window, and restart Cura when requested.

Edited by ahoeben

Share this post


Link to post
Share on other sites
Posted · Material Settings plugin

The plugin is now available in the Marketplace.

 

Quite a bit more work needed to be put in this plugin, to get the Print settings in the Material preferences to accept valid values for additional settings. In fact, the plugin now replaces the whole Materials pane of the preferences with a "fixed" version. There is a cosmetic sideeffect to this: the print settings tab now uses the Cura theme, ie if you use a dark theme for Cura, that part of the preferences will now also display using dark theming.

 

I hope you find this plugin useful.

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites
Posted (edited) · Material Settings plugin

Thanks. This is very helpful. Especially for those who print different high temperature materials, like PC.

BTW, how does it work with the existing z-offset plugin?

 

I see, it gives the option to include what option, not providing options directly.

Edited by alexjx

Share this post


Link to post
Share on other sites
Posted · Material Settings plugin

In a future update I will see if I can add a button to the Print settings tab to open the dialog to select which settings are shown.

Share this post


Link to post
Share on other sites
Posted · Material Settings plugin

Is there a way to get it to override sidebar/profile setting? If I save one of the settings once, then I can never get back the material specific toggle.

 

This is probably a more general question of:

How do I, in the UI unset a value? In this case, the undo/round arrow isn't there. I guess I can go edit the profile by hand. I was trying to avoid that.

Share this post


Link to post
Share on other sites
Posted · Material Settings plugin
2 hours ago, Segjin said:

Is there a way to get it to override sidebar/profile setting?

 

No, there is not.

 

2 hours ago, Segjin said:

How do I, in the UI unset a value?

 

That is something that is still missing in Cura. Perhaps I'll one day make a plugin that lets you do this. For now, editing the profile in a text editor is the only way.

Share this post


Link to post
Share on other sites
Posted · Material Settings plugin

Before I take a look, is there a way to mod your sidebar plugin to add an option to the right click context menu of a setting?

 

I might hack away at that. I am pretty new to the UI framework cura uses.

 

Share this post


Link to post
Share on other sites
Posted · Material Settings plugin

Anything is possible in theory. But no, not easily.

 

Also, I would not start hacking away at that plugin to get to know Cura; it does some pretty aweful tricks.

Share this post


Link to post
Share on other sites
Posted · Material Settings plugin

Hello,

 

I have installed the last version of Cura (4.4.0). I do not have access to the extra material parameters anymore. In addition, the plugin is grey scaled in the market window.

Does it have a compatibility issue with Cura 4.4.0 ?

 

Capture.PNG

Share this post


Link to post
Share on other sites
Posted · Material Settings plugin

Same issue here, I just installed Cura 4.4 and the "Material Settings" plugin no longer works.

 

Any chance you can fix this @ahoeben?

Share this post


Link to post
Share on other sites
Posted (edited) · Material Settings plugin

I have a dual extruder machine and have the linear advance code in the machine settings for each extruder's start code to enter "M900 Tx K(value from material settings)".  That works and correctly adds the m900 line ( no comment added by plug-in) at the start of each extruder.  How ever with cura 4.4.0 there is a "type" comment at each section of gcode and the plug-in adds two m900 lines at each of these.  Those m900 lines have the comment "added by linear advance plug-in".  There seems to be an issue with that.  I have a K value > 0 for E0 and 0 for E1 but since cura 4.4.0 using those K values I get no LA on E0.

Edited by pblawler
Corrected typos

Share this post


Link to post
Share on other sites
Posted · Material Settings plugin

Github user @sharkovich had already done the work here: #4

 

I had to make sure that the plugin also works for Cura 3.5-4.3; I can only publish a single version of the plugin that should be compatible with all versions, or the plugin will become unavailable for all older versions of Cura.

 

A version that is compatible with Cura 4.4 is now awaiting approval for the Marketplace.

Share this post


Link to post
Share on other sites
Posted · Material Settings plugin

@pblawler I don't understand. Are you saying this is caused by the Material Settings plugin, or are you reporting an issue for the Linear Advance Setting plugin here?

Share this post


Link to post
Share on other sites
Posted · Material Settings plugin

Excellent news, I am addicted to the Material Settings plugin. My workflow is totally dependent on it. Thank you for making and maintaining this plugin!

Share this post


Link to post
Share on other sites
Posted · Material Settings plugin

If you would be so kind to open a new topic for that Linear Advance issue, that would be great.

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!