Jump to content
Ultimaker Community of 3D Printing Experts

Post processing script to park extruder at Z during layer change


Recommended Posts

Posted · Post processing script to park extruder at Z during layer change
Post processing script to park extruder at Z during layer change

I realize that in the post-processing script "pause at layer height" I have the ability to park the extruder at both x location and y location. Is there a post-processing script like this that allows me to park the extruder to z height at layer change?

  • Link to post
    Share on other sites
    Posted (edited) · Post processing script to park extruder at Z during layer change

    Sorry to comment my own post, I basically need a script to bounce the extruder to a certain z location at a certain layer height, and then return to printing without pausing.

    Edited by FlightofthrCGal
  • Link to post
    Share on other sites
    Posted · Post processing script to park extruder at Z during layer change

    So I need to move to z 249 before printing the support interface, which shows up in layer 157 and in this chunk of code. Its alright if x and y are maintained in position, all I require is moving upward, and then downward.

    ;LAYER:157

    G1 F1200 E2121.33654

    G1 F600 Z27.6

    G92 E0

    T1

    G92 E0

    M109 S190

    M104 T0 S175

    M106 S127.5

    M204 S5000

    G1 F1200 E9.5

    G1 F600 Z27.6

    G0 F9000 X241.99 Y35.25 Z27.6

    M104 S200

    M204 S500

    M205 X5 Y5

    ;TYPE:SUPPORT-INTERFACE

    G1 F600 Z25.6

    G1 F2700 E16

    G1 F1500 X112.003 Y35.25 E20.53955

    G1 X112.162 Y35.091 E20.54741

    G1 X167.005 Y35.092 E22.4627

    G1 X241.235 Y35.091 E25.05504

    G1 X241.811 Y35.094 E25.07516

    G1 X241.984 Y35.228 E25.0828

    M204 S5000

    M205 X30 Y30

    G1 F2700 E18.5828

    G0 F9000 X241.243 Y31.79

    G0 X112.003 Y31.79

    G0 X112.003 Y35.25

    M204 S500

    M205 X5 Y5

    G1 F2700 E25.0828

    G1 F1500 X111.977 Y35.275 E25.08406

    G1 X111.973 Y36 E25.10938

    G1 X242.028 Y36 E29.65131

    G1 X242.028 Y36.75 E29.6775

    The G1 code trails on from here...

     

  • Link to post
    Share on other sites
    Posted · Post processing script to park extruder at Z during layer change

    arrows point to what i'm injecting

    -->G0 F9000 X241.99 Y35.25 Z249: this raises to z 249

    G0 F9000 X241.99 Y35.25 Z27.6: this lowers back down to starting position

    M104 S200: starts heater

    M204 S500: starts acceleration

    M205 X5 Y5: starts advanced motion TYPE:SUPPORT-INTERFACE

    G1 F600 Z25.6

    G1 F2700 E16

  • Link to post
    Share on other sites
    Posted · Post processing script to park extruder at Z during layer change

    It looks like it should have worked.  Did it move up and not want to come back down (or vice versa)?

    You didn't mention the printer or firmware so I'm guessing here, and what I'm guessing is that it doesn't like the 9000 speed for a Z move (although it should move but at whatever the max Z speed is in M203).

    I would suggest you take out the line you added and try this:

    G1 F600 Z27.6

    G0 F9000 X241.99 Y35.25 Z27.6

    G0 F1200 Z249

    G0 Z27.6

    G0 F9000

    M104 S200

    I don't know your max Z speed but the Z hop speed of 600 is pretty slow so I jacked it up to 1200.  You could leave it at your Z hop speed of 600 which although slow has the virtue that you know it works.

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