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

      • 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...