Repository navigation
PRINT_START_SET MESH_ Gcode replacement - Cura #290
Unanswered
SasquatchPlatypus
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi thanks for these macros!
I've had my printer working with Cura for a couple years, and recently, during one of the Cura updates, the search and replace post processing stopped working, and I'm no longer passing the MESH_MIN and MESH_MAX params to the klipper macros, consequently, it doesn't run the fast bed mesh properly.
From what I can tell, the syntax for the MINX, MINY, MAXX, MAXY is correct from Cura, but the Search and Replace isn't searching or replacing. If I manually add in PRINT_START_SET MESH_MIN=x,y, then everything works. Looking in the Gcode, Cura comments in the Search and Replace after a couple initial params are set, so I'm wondering if the newest version of Cura changed up the order, example of a G-code header below. This is the one I added my own limits manually on lines 11 and 12. Ideas on how to make it see those first few lines in Search and Replace? Also, it looks like the BEFORE_LAYER_CHANGE comments got added correctly, but again the Search and Replace doesn't seem to add in the AFTER_LAYER_CHANGE. Ideas? Thanks!!
;FLAVOR:Marlin
;TIME:836
;Filament used: 0.819039m
;Layer height: 0.2
;MINX:137.589
;MINY:137.586
;MINZ:0.3
;MAXX:162.413
;MAXY:162.414
;MAXZ:9.7
PRINT_START_SET MESH_MIN=137.589,137.586
PRINT_START_SET MESH_MAX=162.413,162.414
;TARGET_MACHINE.NAME:Creality CR-10
;POSTPROCESSED
; [SearchAndReplace]
; [SearchAndReplace]
; [InsertAtLayerChange]
; [SearchAndReplace]
;Generated with Cura_SteamEngine 5.10.2
M190 S0
M109 S0
_PRINT_START_PHASE_INIT EXTRUDER=215 BED=70 NOZZLE_SIZE=0.4
; Insert custom gcode here.
_PRINT_START_PHASE_PREHEAT
; Insert custom gcode here.
_PRINT_START_PHASE_PROBING
; Insert custom gcode here.
_PRINT_START_PHASE_EXTRUDER
; Insert custom gcode here.
_PRINT_START_PHASE_PURGE
; This is the place to put slicer purge lines if you haven't set a non-zero
; variable_start_purge_length to have START_PRINT automatically calculate and
; perform the purge (e.g. if using a Mosaic Palette, which requires the slicer
; to generate the purge).
M82 ;absolute extrusion mode
G92 E0
G92 E0
G1 F600 E-0.25
;LAYER_COUNT:47
INIT_LAYER_GCODE LAYERS=47
PRINT_START_SET LAYERS=47
;LAYER:0
;BEFORE_LAYER_CHANGE
M107
M205 X20 Y20
G1 F300 Z0.5
All reactions