Filament prime gcode?

Post your prints with the GCode used to help other users achieve a similar result, or get help.
Post Reply
GreggDennison
Noob
Posts: 4
Joined: Mon Jun 29, 2015 12:17 pm

Filament prime gcode?

Post by GreggDennison »

Hey all, I've been looking for a gcode setting for pushing the extruder to one side and extruding some filament before actually printing but have been unsuccessful. Can anyone point me in the right direction or does someone already have this?
User avatar
Jimustanguitar
ULTIMATE 3D JEDI
Posts: 2631
Joined: Sun Mar 31, 2013 1:35 am
Location: Notre Dame area
Contact:

Re: Filament prime gcode?

Post by Jimustanguitar »

Cura does this pretty well. Here's an exerpt of the GCode at the beginnings of my prints.

G28 ;Z0 ;move Z to min endstops
G1 Z15.0 F9000 ;move the platform down 15mm
G92 E0 ;zero the extruded length
G1 F200 E3 ;extrude 3mm of feed stock
G92 E0 ;zero the extruded length again
G1 F9000
;Put printing message on LCD screen
M117 Printing...





And then at the end, it does a similar retract.

;End GCode
M104 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
G91 ;relative positioning
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-5 X-20 Y-20 F9000 ;move Z up a bit and retract filament even more
G28 ;X0 Y0 ;move X/Y to min endstops, so the head is out of the way
M84 ;steppers off
G90 ;absolute positioning




Can you parse out what you were looking for from that?
GreggDennison
Noob
Posts: 4
Joined: Mon Jun 29, 2015 12:17 pm

Re: Filament prime gcode?

Post by GreggDennison »

I believe so. I use both Cura and Simplify3d. I'm still tweaking the settings with Simplify3d tho.

Thanks!
stonewater
Printmaster!
Posts: 345
Joined: Mon Jan 06, 2014 1:24 am

Re: Filament prime gcode?

Post by stonewater »

on that subject, what Gcode would you add to have the bed heat fully before the nozzle heats. that seems to cause most of my problems, the filament oozing out of the nozzle before printing starts.

Tom C
MAX V1
325 MM carbon arms trick trucks effector mount LED ring heat spreader
Corvair750
V6 Hotend
Robo 3D
Flashforge creator
http://WWW.TeslagenX.com" onclick="window.open(this.href);return false; - Bedini experimenter kits, books, DVD's
IMBoring25
Printmaster!
Posts: 616
Joined: Wed Mar 18, 2015 1:11 am

Re: Filament prime gcode?

Post by IMBoring25 »

M190 waits for the bed to reach temperature. You can either pass that by itself after setting the desired temp with M140 S* or you can pass an S variable along with M190.
Post Reply

Return to “GCode & Test Prints”