• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
Nozzle auto-clean (GCODE) 3D Printer File Image 1
Nozzle auto-clean (GCODE) 3D Printer File Image 2
Nozzle auto-clean (GCODE) 3D Printer File Image 3
Nozzle auto-clean (GCODE) 3D Printer File Thumbnail 1
Nozzle auto-clean (GCODE) 3D Printer File Thumbnail 2
Nozzle auto-clean (GCODE) 3D Printer File Thumbnail 3

Nozzle auto-clean (GCODE)

gmaks avatargmaks

April 5, 2024

printables-icon
DescriptionCommentsTags

Description

Requirements

Software needed:

  • Klipper
  • Mainsail / Fluidd / Octoprint / etc

Hardware needed:

  • 3d printer (obviously)
  • A brass/steel brush (same material as your nozzle recommended)
  • Glue (optional)

STEP-BY-STEP INSTRUCTION

  1. Create a .CFG file in your machine's files and name it however you want,
  2. Paste the GCODE from the .TXT file into it (you can find it in the files section),
  3. Modify the code according to your machine,
  4. In printer.cfg add [include yourfilename.cfg],
  5. Make sure your nozzle is able to reach the brush by modifying position_max in stepper_x section, in printer.cfg.

GCODE

[gcode_macro CLEAN_NOZZLE]
variable_start_x: 237.5 ;where the nozzle will start
variable_start_y: 18 ;where the bed will start
variable_start_z: 17 ;where the z axi will start
variable_wipe_dist_y: -15 ;how far will the bed move
variable_wipe_qty: 3 ;how many times will it move
variable_wipe_spd: 300 ;wipe speed
variable_raise_distance: 18 ;how much it will be raised
gcode:
{% if "xyz" not in printer.toolhead.homed_axes %}
G28
{% endif %}
G90 ;absolute positioning
;Move nozzle to start position
G1 Z{start_z} F1500
G1 X{start_x} Y{start_y} F6000
;Wipe nozzle
{% for wipes in range(1, (wipe_qty + 1)) %}
;WIPE LEFT
G1 X{start_x + 2} Y{start_y - wipe_dist_y} F{wipe_spd 30}
G1 X{start_x + 2} Y{start_y - wipe_dist_y} F{wipe_spd 30}
G1 X{start_x + 2} Y{start_y - wipe_dist_y} F{wipe_spd 30}
;WIPE RIGHT
G1 X{start_x - 2} Y{start_y + wipe_dist_y} F{wipe_spd 30}
G1 X{start_x - 2} Y{start_y + wipe_dist_y} F{wipe_spd 30}
G1 X{start_x - 2} Y{start_y + wipe_dist_y} F{wipe_spd 30}
{% endfor %}
G1 Z 25 ;raises the z axi
G28 ;homes all axis

 

License:

Creative Commons — Attribution — Noncommercial

Related Models

#3DBenchy - The jolly 3D printing torture-test by CreativeTools.se preview image

#3DBenchy - The jolly 3D printing torture-test by CreativeTools.se

CreativeTools profile image

CreativeTools

90,805

Important information sign for 3D printers / Wichtiges Hinweisschild für 3D-Drucker :) preview image

Important information sign for 3D printers / Wichtiges Hinweisschild für 3D-Drucker :)

Pat_S profile image

Pat_S

Gift Box preview image

Gift Box

roby85r profile image

roby85r

1,491

Self-Watering Planter (Small) preview image

Self-Watering Planter (Small)

parallelgoods profile image

parallelgoods

73,079

X, Y and Z calibration tool for IDEX / dual extruder / dual color 3D printers preview image

X, Y and Z calibration tool for IDEX / dual extruder / dual color 3D printers

Voxel3D_NL profile image

Voxel3D_NL

201

sign: don't touch my 3d printer preview image

sign: don't touch my 3d printer

Izzodesign74 profile image

Izzodesign74

489

All In One 3D Printer test preview image

All In One 3D Printer test

majda107 profile image

majda107

64,434

axes calibrage cube-xyz for 3d printers preview image

axes calibrage cube-xyz for 3d printers

H- printed profile image

H- printed

9

7