Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Filament config, z-offset and pressure advance

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    1
    1
    110
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nirinundefined
      nirin
      last edited by

      Hi there! New here so am still playing catchup on a lot of the differences between reprap and what I'm used to.

      I'm looking to set up some filament profiles for my new printer, and one of the things I want to set up is automatic pressure advance. I'm just not sure the best way / the correct syntax. (I've also added a line for the correct z-offset for the petg, hopefully correctly).

      In my head, it would be something like (this is an example of the logic, I have no idea the correct syntax or grammar for it, I just hope it makes sense) -

      PETG config file
      nozzle_size = global.nozzleDiameterInstalled
      if nozzle_size = 0.4 {M572 D0 S0.045}
      else if nozzle_size = 0.6 {M572 D0 S0.015}
      G31 K0 P500 X0.0 Y25.0 Z2.05 ; z-offset

      Also.. reading the wiki for this feature, it seems that the config requires calling M703 from tpost.g, but without any parameters... so how does it know which filament config to load?

      Thanks and sorry for the potentially stupid questions!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Unless otherwise noted, all forum content is licensed under CC-BY-SA