Jump to content

Assign new parameters to material properties


qwertymodo

Recommended Posts

Posted · Assign new parameters to material properties

I have been reading up on the "stack" structure of Cura's print settings and how it layers things like base config, machine config, material config, quality config, and user overrides, and I think I at least have a basic understanding of how that all interacts.  However, I can't seem to find any way to change which "layer" of the "stack" a particular settings change goes into.  For example, I am using the Linear Advance Setting Plugin to add linear advance K-factor control to my gcode.  However, the only way to save this setting seems to be as a custom quality profile.  This doesn't really make sense, since the linear advance K-factor is tied to the material, regardless of quality settings.  This basically means that 1) I can no longer use the built-in quality settings and 2) I have to create a whole new settings profile for every single material, since they each have a unique K-factor.  Is there any way that the linear advance settings can be assigned to the material instead of the quality profile?  Ideally it would be really nice if it could be added into the "manage materials" GUI window, but if that's not possible, even manual config file editing would at least be something.  This is pretty annoying, because wanting to add this one extra parameter to my slicing, which greatly enhances the quality of my prints, basically means I have to bypass the entire intended workflow of the config stack and just create custom quality profiles for everything.

  • Link to post
    Share on other sites

    Posted · Assign new parameters to material properties

    Poking around in the config files, it looks like material properties are stored in materials\*.xml.fdm_material, and setting key names use spaces, whereas *.def.json files and *.inst.cfg files use underscores.  It also appears that the *.def.json and *.inst.cfg files prepend "material_" to the material properties, so if I want to move the key "material_linear_advance_factor" from its current place in my *.inst.cfg (quality settings) files, it should go into *.xml.fdm_material as <setting key="linear advance factor"> is that right?

  • Link to post
    Share on other sites

    Posted (edited) · Assign new parameters to material properties

    The great @ahoeben created a plugin for exactly what you want: https://marketplace.ultimaker.com/app/cura/plugins/fieldofview/MaterialSettingsPlugin

     

    If you like his work, don't forget to donate something to him. He's not getting paid for making these plugins, so if you can spare something, i'm sure he'd appreciate it.

    Edited by nallath
    • Like 1
    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.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
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...