better prints, better macros
This commit is contained in:
parent
cdb6651b92
commit
6a099a98ca
3 changed files with 31 additions and 11 deletions
|
@ -105,6 +105,8 @@ gcode:
|
|||
{% set y_min = printer.toolhead.axis_minimum.y + bound %}
|
||||
{% set y_max = printer.toolhead.axis_maximum.y - bound %}
|
||||
|
||||
G28
|
||||
DOCK_PROBE
|
||||
# Save current gcode state (absolute/relative, etc)
|
||||
SAVE_GCODE_STATE NAME=TEST_SPEED
|
||||
|
||||
|
@ -115,7 +117,7 @@ gcode:
|
|||
SET_VELOCITY_LIMIT VELOCITY={speed} ACCEL={accel} ACCEL_TO_DECEL={accel / 2}
|
||||
|
||||
# Home and get position for comparison later:
|
||||
G28
|
||||
G28 X Y
|
||||
# QGL if not already QGLd (only if QGL section exists in config)
|
||||
{% if printer.configfile.settings.quad_gantry_level %}
|
||||
{% if printer.quad_gantry_level.applied == False %}
|
||||
|
@ -158,3 +160,21 @@ gcode:
|
|||
|
||||
# Restore previous gcode state (absolute/relative, etc)
|
||||
RESTORE_GCODE_STATE NAME=TEST_SPEED
|
||||
|
||||
[gcode_macro TEST_Z_DOWN]
|
||||
gcode:
|
||||
{% set amount = params.amount|default(1)|int %}
|
||||
TESTZ Z=-{amount}
|
||||
|
||||
[gcode_macro TEST_Z_UP]
|
||||
gcode:
|
||||
{% set amount = params.amount|default(1)|int %}
|
||||
TESTZ Z=+{amount}
|
||||
|
||||
[gcode_macro TEST_Z_UP_MIDDLE]
|
||||
gcode:
|
||||
TESTZ Z=-+
|
||||
|
||||
[gcode_macro TEST_Z_DOWN_MIDDLE]
|
||||
gcode:
|
||||
TESTZ Z=-
|
||||
|
|
|
@ -45,7 +45,7 @@ gcode:
|
|||
###############################################################################
|
||||
|
||||
[homing_override]
|
||||
axes: xyz
|
||||
axes: z
|
||||
gcode:
|
||||
#LIGHTS_ON
|
||||
SET_GCODE_OFFSET Z=0
|
||||
|
|
18
printer.cfg
18
printer.cfg
|
@ -93,7 +93,7 @@ fade_target: 0
|
|||
pin: PC15
|
||||
x_offset: 0.0
|
||||
y_offset: 34.5
|
||||
z_offset = 6.628
|
||||
z_offset = 6.500
|
||||
speed: 25
|
||||
samples_result: median
|
||||
samples_tolerance: 0.05
|
||||
|
@ -136,8 +136,8 @@ max_power: 1
|
|||
kick_start_time: 0.200
|
||||
shutdown_speed: 0
|
||||
heater: heater_bed
|
||||
heater_temp: 50.0
|
||||
fan_speed: 0.4
|
||||
heater_temp: 40.0
|
||||
fan_speed: 0.6
|
||||
|
||||
[heater_bed]
|
||||
heater_pin: PC9
|
||||
|
@ -160,8 +160,8 @@ temperature3: 300
|
|||
resistance3: 82.78
|
||||
|
||||
[temperature_sensor chamber]
|
||||
sensor_type: chamber_temp
|
||||
#sensor_type: ATC Semitec 104NT-4-R025H42G
|
||||
#sensor_type: chamber_temp
|
||||
sensor_type: ATC Semitec 104NT-4-R025H42G
|
||||
sensor_pin: PA6
|
||||
min_temp: 0
|
||||
max_temp: 200
|
||||
|
@ -200,11 +200,11 @@ cs_pin: rpi:None
|
|||
|
||||
[printer]
|
||||
kinematics: corexz
|
||||
max_velocity: 500
|
||||
max_accel: 10000
|
||||
max_accel_to_decel: 10000
|
||||
max_velocity: 200
|
||||
max_accel: 7000
|
||||
max_accel_to_decel: 2500
|
||||
max_z_velocity: 70
|
||||
max_z_accel: 10000
|
||||
max_z_accel: 7000
|
||||
square_corner_velocity: 8.0
|
||||
|
||||
[static_digital_output usb_pullup_enable]
|
||||
|
|
Loading…
Add table
Reference in a new issue