Jump to content
Ultimaker Community of 3D Printing Experts

Assign new parameters to material properties


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 turns 10: A look back
        Ultimaker is turning 10 years old and that means it is story telling time! We'll explore 2010-2014, traveling through the evolution of the business from the Protobox and Ultimaker Original, to the major leaps forward with the Ultimaker 2 and Ultimaker 3.
          • Like
        • 0 replies
      • Ultimaker Transformation Summit
        Visit our virtual showroom and learn more about the Ultimaker ecosystem!
        • 14 replies
      • New here? Register your Ultimaker for free 3D printer onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 4 replies
    ×
    ×
    • Create New...