Turge08 / print_area_bed_mesh

Create bed mesh for print area only
209 stars 40 forks source link

Can't get it to work, need a little help #46

Open JekleFPV opened 1 year ago

JekleFPV commented 1 year ago

I'm probably missing something, or misunderstanding something here, but I can't seem to get this to work. It just does the default bed mesh and not the smaller mesh as intended. I've installed the macro, included in my printer.cfg, added it to the update manager, installed and activated the post-process script, so I think I must be misreading something in step 4/5?

My start Gcode in Cura: BED_MESH_CALIBRATE PRINT_MIN=%MINX%,%MINY% PRINT_MAX=%MAXX%,%MAXY% start_print My start_print macro in printer.cfg: [gcode_macro START_PRINT] gcode: {% set BED_TEMP = params.BED_TEMP|default(60)|float %} {% set EXTRUDER_TEMP = params.EXTRUDER_TEMP|default(200)|float %} # Start bed heating (but don't wait for it) M140 S{BED_TEMP} # Use absolute coordinates G90 # Reset the G-Code Z offset (adjust Z offset if needed) SET_GCODE_OFFSET Z=0.0 # Home the printer G28 # Move the nozzle near the bed G1 Z5 F3000 # Wait for bed to reach temperature M190 S{BED_TEMP} # Calibrate the bed before every print # M104 S{EXTRUDER_TEMP} # BED_MESH_CALIBRATE PRINT_MIN={params.PRINT_MIN} PRINT_MAX={params.PRINT_MAX} FORCE_NEW_MESH=True # Set and wait for nozzle to reach temperature M109 S{EXTRUDER_TEMP}

WadeAlex commented 9 months ago

There's a Cura plugin you need to populate MINX, MINY, MAXX, and MAXY.

*(Cura slicer plugin) To make the macro to work in Cura slicer, you need to install the post process plugin by frankbags - In cura menu Help -> Show configuration folder. - Copy the python script from the above link in to scripts folder. - Restart Cura - In cura menu Extensions -> Post processing and select Mesh Print Size