klipper-macros
A collection of my Klipper G-code macros. (by Desuuuu)
print_area_bed_mesh
Create bed mesh for print area only (by Turge08)
klipper-macros | print_area_bed_mesh | |
---|---|---|
6 | 22 | |
258 | 207 | |
- | - | |
0.0 | 2.6 | |
11 months ago | 6 months ago | |
Shell | ||
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
klipper-macros
Posts with mentions or reviews of klipper-macros.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-13.
-
Incompatible Gcodes: What to Do About Them?
Alternatively, you could try using this macro to try to get Klipper to make use of those M205 commands, but I wouldn't recommend it. Klipper handles acceleration just fine on its own without the slicer controlling it.
-
Ender 5 plus with SKR mini E3 V2 running klipper Z axis config help
[include fluidd.cfg] # This file contains common pin mappings for the BIGTREETECH SKR mini # E3 v2.0. To use this config, the firmware should be compiled for the # STM32F103 with a "28KiB bootloader" and USB communication. Also, # select "Enable extra low-level configuration options" and configure # "GPIO pins to set at micro-controller startup" to "!PA14". # The "make flash" command does not work on the SKR mini E3. Instead, # after running "make", copy the generated "out/klipper.bin" file to a # file named "firmware.bin" on an SD card and then restart the SKR # mini E3 with that SD card. # See docs/Config_Reference.md for a description of parameters. [stepper_x] step_pin: PB13 dir_pin: !PB12 enable_pin: !PB14 microsteps: 16 rotation_distance: 40 endstop_pin: ^PC0 position_endstop: 360 position_max: 360 homing_speed: 50 [tmc2209 stepper_x] uart_pin: PC11 tx_pin: PC10 uart_address: 0 run_current: 0.680 stealthchop_threshold: 999999 [stepper_y] step_pin: PB10 dir_pin: !PB2 enable_pin: !PB11 microsteps: 16 rotation_distance: 40 endstop_pin: ^PC1 position_endstop: 360 position_max: 360 homing_speed: 50 [tmc2209 stepper_y] uart_pin: PC11 tx_pin: PC10 uart_address: 2 run_current: 0.700 stealthchop_threshold: 999999 [stepper_z] step_pin: PB0 dir_pin: !PC5 enable_pin: !PB1 microsteps: 16 rotation_distance: 8 endstop_pin: probe:z_virtual_endstop position_min: -2.7 position_max: 400 [tmc2209 stepper_z] uart_pin: PC11 tx_pin: PC10 uart_address: 1 run_current: 0.800 stealthchop_threshold: 999999 [extruder] step_pin: PB3 dir_pin: !PB4 enable_pin: !PD2 microsteps: 16 rotation_distance: 33.500 nozzle_diameter: 0.400 filament_diameter: 1.750 heater_pin: PC8 sensor_type: EPCOS 100K B57560G104F sensor_pin: PA0 control: pid pid_Kp: 21.527 pid_Ki: 1.063 pid_Kd: 108.982 min_temp: 0 max_temp: 250 [tmc2209 extruder] uart_pin: PC11 tx_pin: PC10 uart_address: 3 run_current: 0.650 stealthchop_threshold: 999999 [heater_bed] heater_pin: PC9 sensor_type: ATC Semitec 104GT-2 sensor_pin: PC3 control: pid pid_Kp: 54.027 pid_Ki: 0.770 pid_Kd: 948.182 min_temp: 0 max_temp: 130 [bltouch] sensor_pin: ^PC2 control_pin: PA1 pin_move_time: 0.675 stow_on_each_sample: False probe_with_touch_mode: True pin_up_touch_mode_reports_triggered: False x_offset: -27.5 y_offset: -2.5 #z_offset: 2.320 speed: 20 lift_speed: 20 samples: 1 sample_retract_dist:5 samples_tolerance_retries: 3 [safe_z_home] home_xy_position: 207.5, 182.5 speed: 200 z_hop: 5 z_hop_speed: 20 [bed_mesh] speed: 200 horizontal_move_z: 5 mesh_min: 40,40 mesh_max: 320,320 probe_count: 5 mesh_pps: 2,2 algorithm: bicubic fade_start: 1 fade_end: 10 fade_target: 0 [heater_fan heatbreak_cooling_fan] pin: PC7 [fan] pin: PC6 [mcu] serial: /dev/serial/by-id/usb-Klipper_stm32f103xe_35FFD8053043553528500951-if00 [printer] kinematics: cartesian max_velocity: 300 max_accel: 3000 max_z_velocity: 5 max_z_accel: 100 [static_digital_output usb_pullup_enable] pins: !PA14 [board_pins] aliases: # EXP1 header EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=, EXP1_2=PA15, EXP1_4=, EXP1_6=PB9, EXP1_8=PB15, EXP1_10=<5V> # See the sample-lcd.cfg file for definitions of common LCD displays. [t5uid1] firmware: dgus_reloaded machine_name: Ender 5 Plus volume: 60 brightness: 50 z_min: 0 z_max: 410 # https://github.com/Desuuuu/klipper-macros # If you want to use these macros, follow the instructions from the repository # and uncomment the following lines. #[save_variables] #filename: ~/variables.cfg # #[delayed_gcode macros_initialize] #initial_duration: 1 #gcode: # INITIALIZE_VARIABLE VARIABLE=park_x VALUE=20 # INITIALIZE_VARIABLE VARIABLE=park_y VALUE=340 # INITIALIZE_VARIABLE VARIABLE=bowden_len VALUE=570 # #[include macros/\.cfg]* #\# <---------------------- SAVE_CONFIG ---------------------->* #\# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.* #\#* #\# [bltouch]* #\# z_offset = 5.010*
-
How to install Desuuuu's Klipper Fork with Fluidd on a CR10S Pro V2 (And other printers too)
# This file contains pin mappings for the Creality CR-10S Pro V2. To use # this config, the firmware should be compiled for the AVR atmega2560. [stepper_x] step_pin: PF0 dir_pin: PF1 enable_pin: !PD7 rotation_distance: 40 microsteps: 16 full_steps_per_rotation: 200 endstop_pin: ^PE5 position_endstop: 0 position_min: 0 position_max: 300 homing_speed: 50 homing_retract_dist: 5 [stepper_y] step_pin: PF6 dir_pin: !PF7 enable_pin: !PF2 rotation_distance: 40 microsteps: 16 full_steps_per_rotation: 200 endstop_pin: ^PJ1 position_endstop: 0 position_min: 0 position_max: 310 homing_speed: 50 homing_retract_dist: 5 [stepper_z] step_pin: PL3 dir_pin: !PL1 enable_pin: !PK0 rotation_distance: 8 microsteps: 16 full_steps_per_rotation: 200 endstop_pin: probe:z_virtual_endstop position_min: -1 position_max: 351 [extruder] step_pin: PA4 dir_pin: PA6 enable_pin: !PA2 rotation_distance: 22.900 microsteps: 16 full_steps_per_rotation: 200 nozzle_diameter: 0.400 filament_diameter: 1.750 max_extrude_only_distance: 500.0 max_extrude_only_velocity: 70.0 max_extrude_only_accel: 1000.0 heater_pin: PB4 sensor_type: EPCOS 100K B57560G104F sensor_pin: PK5 control: pid pid_Kp: 22.2 pid_Ki: 1.08 pid_Kd: 114 min_extrude_temp: 170 min_temp: 5 max_temp: 275 [heater_bed] heater_pin: PH5 sensor_type: EPCOS 100K B57560G104F sensor_pin: PK6 control: pid pid_Kp: 690.34 pid_Ki: 111.47 pid_Kd: 1068.83 min_temp: 5 max_temp: 140 [fan] pin: PH6 [mcu] serial: /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AB0KFEO7-if00-port0 #REPLACE WITH YOUR PRINTER'S SERIAL**** [printer] kinematics: cartesian max_velocity: 200 max_accel: 1500 max_z_velocity: 10 max_z_accel: 100 [bltouch] sensor_pin: ^PD2 control_pin: PB5 stow_on_each_sample: False probe_with_touch_mode: True x_offset: -27 y_offset: -2 z_offset: 0 speed: 4.0 samples: 2 sample_retract_dist: 3.0 [safe_z_home] home_xy_position: 177,155 speed: 80.0 z_hop: 10.0 z_hop_speed: 5.0 [bed_mesh] speed: 120 horizontal_move_z: 5 mesh_min: 5, 5 mesh_max: 268, 305 probe_count: 5,5 fade_start: 1 fade_end: 10 [filament_switch_sensor e0_sensor] switch_pin: PE4 pause_on_runout: False runout_gcode: PAUSE_PARK [pause_resume] [respond] default_type: echo [t5uid1] firmware: dgus_reloaded machine_name: The Replimat volume: 60 brightness: 50 z_min: 0 z_max: 350 [virtual_sdcard] path: ~/gcode_files [display_status] [pause_resume] [gcode_macro PAUSE] description: Pause the actual running print rename_existing: PAUSE_BASE # change this if you need more or less extrusion variable_extrude: 1.0 gcode: ##### read E from pause macro ##### {% set E = printer["gcode_macro PAUSE"].extrude|float %} ##### set park positon for x and y ##### # default is your max posion from your printer.cfg {% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %} {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %} ##### calculate save lift position ##### {% set max_z = printer.toolhead.axis_maximum.z|float %} {% set act_z = printer.toolhead.position.z|float %} {% if act_z < (max_z - 2.0) %} {% set z_safe = 2.0 %} {% else %} {% set z_safe = max_z - act_z %} {% endif %} ##### end of definitions ##### PAUSE_BASE G91 {% if printer.extruder.can_extrude|lower == 'true' %} G1 E-{E} F2100 {% else %} {action_respond_info("Extruder not hot enough")} {% endif %} {% if "xyz" in printer.toolhead.homed_axes %} G1 Z{z_safe} F900 G90 G1 X{x_park} Y{y_park} F6000 {% else %} {action_respond_info("Printer not homed")} {% endif %} [gcode_macro RESUME] description: Resume the actual running print rename_existing: RESUME_BASE gcode: ##### read E from pause macro ##### {% set E = printer["gcode_macro PAUSE"].extrude|float %} #### get VELOCITY parameter if specified #### {% if 'VELOCITY' in params|upper %} {% set get_params = ('VELOCITY=' + params.VELOCITY) %} {%else %} {% set get_params = "" %} {% endif %} ##### end of definitions ##### {% if printer.extruder.can_extrude|lower == 'true' %} G91 G1 E{E} F2100 {% else %} {action_respond_info("Extruder not hot enough")} {% endif %} RESUME_BASE {get_params} [gcode_macro CANCEL_PRINT] description: Cancel the actual running print rename_existing: CANCEL_PRINT_BASE gcode: TURN_OFF_HEATERS CANCEL_PRINT_BASE # https://github.com/Desuuuu/klipper-macros # If you want to use these macros, follow the instructions from the repository # and uncomment the following lines. #[save_variables] #filename: ~/variables.cfg # #[delayed_gcode macros_initialize] #initial_duration: 1 #gcode: # INITIALIZE_VARIABLE VARIABLE=park_x VALUE=20 # INITIALIZE_VARIABLE VARIABLE=park_y VALUE=290 # INITIALIZE_VARIABLE VARIABLE=bowden_len VALUE=400 # #[include macros/*.cfg]
-
how would I pause after g28?
Add a macro for M600 like this one https://github.com/Desuuuu/klipper-macros/blob/master/macros/M600.cfg
-
Ok, Fluidd is pretty fuckin sweet
I took a few maros from this collection that I use daily like Wipe Line and Lazy Home.
-
Cr10s pro klipper config (be sure to change pid, pressure advance, screws_tilt_adjust, input_shaper, bed mesh etc. )
# This is my working Config for the cr10s pro, with Bl touch, and hero me shroud. to use with the DGus LCD Firmware (Volanaro) # This file contains pin mappings for the Creality CR-10S Pro. To use # this config, the firmware should be compiled for the AVR atmega2560. [stepper_x] step_pin: PF0 dir_pin: PF1 enable_pin: !PD7 rotation_distance: 40 microsteps: 16 full_steps_per_rotation: 200 endstop_pin: ^PE5 position_endstop: 0 position_min: 0 position_max: 310 homing_speed: 50 homing_retract_dist: 5 [stepper_y] step_pin: PF6 dir_pin: !PF7 enable_pin: !PF2 rotation_distance: 40 microsteps: 16 full_steps_per_rotation: 200 endstop_pin: ^PJ1 position_endstop: -9 position_min: -9 position_max: 310 homing_speed: 50 homing_retract_dist: 5 [stepper_z] step_pin: PL3 dir_pin: !PL1 enable_pin: !PK0 rotation_distance: 8 microsteps: 16 full_steps_per_rotation: 200 endstop_pin: probe:z_virtual_endstop position_min: -10 position_max: 317 [extruder] step_pin: PA4 dir_pin: PA6 enable_pin: !PA2 rotation_distance: 7.7669902912 microsteps: 16 full_steps_per_rotation: 200 nozzle_diameter: 0.400 filament_diameter: 1.750 max_extrude_only_distance: 500.0 max_extrude_only_velocity: 70.0 max_extrude_only_accel: 1000.0 heater_pin: PB4 sensor_type: EPCOS 100K B57560G104F sensor_pin: PK5 control: pid pid_Kp: 22.2 pid_Ki: 1.08 pid_Kd: 114 min_extrude_temp: 170 min_temp: 5 max_temp: 275 pressure_advance = 0.067 [heater_bed] heater_pin: PH5 sensor_type: EPCOS 100K B57560G104F sensor_pin: PK6 control: pid pid_Kp: 690.34 pid_Ki: 111.47 pid_Kd: 1068.83 min_temp: 5 max_temp: 140 [fan] pin: PH6 [mcu] baud: 250000 serial: /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AL05INK2-if00-port0 [printer] kinematics: cartesian max_velocity: 200 max_accel: 7000 max_z_velocity: 10 max_z_accel: 100 [bltouch] sensor_pin: ^PD3 control_pin: PB5 stow_on_each_sample: False probe_with_touch_mode: True x_offset: -52 y_offset: -13 #z_offset: 0 speed: 4.0 samples: 2 sample_retract_dist: 3.0 [safe_z_home] home_xy_position: 202,160 speed: 80.0 z_hop: 10.0 z_hop_speed: 5.0 [bed_mesh] speed: 120 horizontal_move_z: 5 mesh_min: 5, 5 mesh_max: 250, 290 probe_count: 5,5 fade_start: 1 fade_end: 10 [screws_tilt_adjust] screw1: 81,47 screw1_name: front left screw screw2: 295,47 screw2_name: front right screw screw3: 295,287 screw3_name: rear right screw screw4: 81,287 screw4_name: rear left screw horizontal_move_z: 10 speed: 50 screw_thread: CW-M4 [] shaper_freq_x: 85.1 shaper_freq_y: 70.1 shaper_type: mzv [filament_switch_sensor e0_sensor] switch_pin: PE4 pause_on_runout: False runout_gcode: PAUSE_PARK [pause_resume] [respond] default_type: echo [t5uid1] firmware: dgus_reloaded machine_name: CR-10S Pro #volume: 60 brightness: 50 z_min: 0 z_max: 350 # https://github.com/Desuuuu/klipper-macros # If you want to use these macros, follow the instructions from the repository # and uncomment the following lines. #[save_variables] #filename: ~/variables.cfg # #[delayed_gcode macros_initialize] #initial_duration: 1 #gcode: # INITIALIZE_VARIABLE VARIABLE=park_x VALUE=20 # INITIALIZE_VARIABLE VARIABLE=park_y VALUE=290 # INITIALIZE_VARIABLE VARIABLE=bowden_len VALUE=400 #*# <---------------------- SAVE_CONFIG ----------------------> #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. #*# #*# [bltouch] #*# z_offset = 1.690 #*# #*# [bed_mesh default] #*# version = 1 #*# points = #*# -0.156250, -0.173750, -0.191250, -0.212500, -0.290000 #*# -0.052500, -0.027500, -0.036250, -0.047500, -0.112500 #*# -0.035000, -0.002500, -0.006250, -0.030000, -0.066250 #*# -0.140000, -0.096250, -0.082500, -0.100000, -0.147500 #*# -0.315000, -0.257500, -0.246250, -0.251250, -0.305000 #*# tension = 0.2 #*# min_x = 5.0 #*# algo = lagrange #*# y_count = 5 #*# mesh_y_pps = 2 #*# min_y = 5.0 #*# x_count = 5 #*# max_y = 290.0 #*# mesh_x_pps = 2 #*# max_x = 250.0 #*# #*# [t5uid1] #*# volume = 10
print_area_bed_mesh
Posts with mentions or reviews of print_area_bed_mesh.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-31.
-
Which custom macro of yours are you most proud of, or find most useful?
A macro that only probes the bed area that you are printing in aka dynamic bed mesh probing! https://github.com/Turge08/print_area_bed_mesh
- Z Offset getting old
-
Get temp values from slicer in klipper
Well i just wanted to use this bed mesh plugin https://github.com/Turge08/print_area_bed_mesh
-
Serial Request Trident (Ender 6 Conversion) | Discord Obscured84#8388
print_area_bed_mesh GitHUB
-
Tried to H2 my hurakan and now it's FUCKED
Unparsed config option 'origin: https://github.com/Turge08/print_area_bed_mesh.git' detected in section [update_manager print_area_bed_mesh]. This may be an option no longer available or could be the result of a module that failed to load. In the future this will result in a startup error.
- Advice Needed. So, while calculating my offsets for Screw Tilt Adjust... I came across a problem
-
Printing extrusion multiplier cube using prusa slicer. Printer is Aquila Pro running Klipper. I just got a batch of filament in and noticed this is happening on 3 different colors. Not sure what is causing this. Possibly mechanical just don't know what to look for. This is 12.5mm high
Gives this a try, it wont fix your problem but auto adjust your probed area to your print area. https://github.com/Turge08/print_area_bed_mesh
-
Bed Mesh
If you want to get fancy with it, check out this little gem: print_area_bed_mesh
-
Start/stop macro
By print_size_mesh, do you mean this macro? https://github.com/Turge08/print_area_bed_mesh
-
Why is my bed leveling mesh uneven at these strange points? I’m using an Ender 3 S1 with a 4 point bed (stock). The corners seem perfect but theres these weird bumps and i’m not sure how to even them out.
My main reason to start using it was because of a macro (not this one, but it's a better one) that only generates a mesh for the area you will be printing in. It can also reuse meshes if the new mesh is the same size or smaller than the last. Of course you can just generate one mesh and run with it for awhile, but I like having as fresh a mesh as I can and this saves time.
What are some alternatives?
When comparing klipper-macros and print_area_bed_mesh you can also consider the following projects:
klipper-config - Klipper Firmware config for Ender 3
klipper-macros - A collection of useful macros for the Klipper 3D printer firmware
fluidd - Fluidd, the klipper UI.
common-macros - A collection of macros common to all my printers running Klipper
zippy-klipper_config - Zippy Klipper Config
klipper-led_effect - LED effects plugin for klipper
moonraker-obico
Slicer-profile - Slicer profile for cutom build printer
klipper-orangepi4-Kiauh - Klipper on orangepi 4 using Kiauh, documentation of changes needed . work in progress
klipper-macros vs klipper-config
print_area_bed_mesh vs klipper-macros
klipper-macros vs fluidd
print_area_bed_mesh vs fluidd
klipper-macros vs common-macros
print_area_bed_mesh vs zippy-klipper_config
klipper-macros vs klipper-led_effect
print_area_bed_mesh vs klipper-led_effect
klipper-macros vs moonraker-obico
print_area_bed_mesh vs Slicer-profile
klipper-macros vs klipper-orangepi4-Kiauh
print_area_bed_mesh vs common-macros