10 Commits

Author SHA1 Message Date
Bassam Husain
ae1d31387e Fix moonraker issues. 2025-08-11 00:02:24 -04:00
Bassam Husain
d1819613d6 Remove crowsnest entry moonraker.conf. 2025-07-13 22:05:37 -04:00
Bassam Husain
c3e909145d New pressure_advance. 2025-06-04 20:56:51 -04:00
Bassam Husain
4b861dc21b New pressure_advance. 2025-06-02 13:50:34 -04:00
Bassam Husain
e26f402c12 New shaper. 2025-05-28 14:54:08 -04:00
Bassam Husain
8f3b6c2f4e Adjust personal run_currents. 2025-05-26 23:34:58 -04:00
Bassam Husain
596532691a Turn function that allows prints to start when bed temp is 'target - 1' into a param in _globals. 2025-05-17 20:39:44 -04:00
Bassam Husain
a60fcc71ef Merge branch 'personal' of github.com:bassamanator/Sovol-SV06-firmware into personal 2025-04-01 11:41:12 -04:00
Bassam Husain
417bc4ec69 New nozzle adjustments. 2025-04-01 02:03:06 -04:00
Bassam Husain
e85e82dc06 Merge branch 'personal-dev' into personal 2025-02-20 22:54:54 -05:00
5 changed files with 73 additions and 69 deletions

View File

@@ -20,6 +20,7 @@
"Klipper",
"Klipperized",
"lrwxrwxrwx",
"microsteps",
"moonraker",
"normalsize",
"octahedroflake",

View File

@@ -29,9 +29,11 @@ gcode:
SET_FILAMENT_SENSOR SENSOR=filament_sensor ENABLE=0
[gcode_macro _globals]
# NOTE 0 = false; 1 = true
variable_filament_sensor_enabled: 1 # NOTE Enable(1) or disable(0) the filament sensor, if one is connected
variable_beeping_enabled: 1 # NOTE Enable(1) or disable(0) beeping everywhere except during gantry calibration
variable_bed_temp_over: 10 # NOTE Start print if bed temperature is over by this amount, otherwise wait for temperature drop
variable_bed_temp_not_exact: 1 # NOTE Start print if bed temperature is `target temperature - 1` but continue to heat until target is reached
variable_kamp_enable: 0 # NOTE Enable(1) or disable(0) KAMP (adaptive mesh)
variable_pre_purge_prime_length: 1.40
gcode:
@@ -75,12 +77,20 @@ gcode:
[gcode_macro M190]
rename_existing: M99190
gcode:
#Parameters
# Variables
{% set bedtempNotExact = printer["gcode_macro _globals"].bed_temp_not_exact|default(1)|int %}
# Parameters
{% set s = params.S|float %}
M140 {% for p in params %}{'%s%s' % (p, params[p])}{% endfor %} ; Set bed temp
{% if s != 0 %}
TEMPERATURE_WAIT SENSOR=heater_bed MINIMUM={s} MAXIMUM={s+1} ; Wait for bed temp (within 1 degree)
{% if bedtempNotExact == 1 %}
TEMPERATURE_WAIT SENSOR=heater_bed MINIMUM={s-1} MAXIMUM={s+1} ; set & wait for bed temp (within -1 or +1 degree)
M140 {% for p in params %}{'%s%s' % (p, params[p])}{% endfor %} ; set & don't wait for bed temp
{% else %}
TEMPERATURE_WAIT SENSOR=heater_bed MINIMUM={s} MAXIMUM={s+1} ; Wait for bed temp (within +1 degree)
{% endif %}
{% endif %}
[gcode_macro PURGE_LINE]
@@ -189,12 +199,7 @@ gcode:
M400 ; wait for buffer to clear
G92 E0 ; zero the extruder
{% if printer['pause_resume'].is_paused|int == 0 %}
CONDITIONAL_BEEP i=3 dur=300 freq=400
G1 E-{PRE_PURGE_PRIME_LENGTH} F400 ; retract filament
{% endif %}
G1 E-{PRE_PURGE_PRIME_LENGTH} F400 ; retract filament
G91 ; relative positioning
# Set safe speeds

6
differences.md Normal file
View File

@@ -0,0 +1,6 @@
# Differences
| Property | Marlin | OSS Klipper Config |
| ------------------------- | ------ | ------------------ |
| `stepper_z` `run_current` | 0.800 | 0.900 |
| `microsteps` | 16 | 128 |

View File

@@ -5,21 +5,12 @@ klippy_uds_address: /home/pi/printer_data/comms/klippy.sock
[authorization]
trusted_clients:
10.0.0.0/16
10.0.0.0/8
127.0.0.0/8
169.254.0.0/16
172.16.0.0/12
192.168.0.0/16
FE80::/10
::1/128
# Enter your client IP here or range here
192.168.1.0/24
10.0.0.0/24
cors_domains:
http://*.lan
http://*.local
https://my.mainsail.xyz
http://my.mainsail.xyz
https://app.fluidd.xyz
http://app.fluidd.xyz
# Allow CORS requests for Fluidd
http://app.fluidd.xyz
[octoprint_compat]
@@ -41,20 +32,20 @@ path: ~/mainsail
enable_object_processing: True
# Crowsnest update_manager entry
[update_manager crowsnest]
type: git_repo
path: ~/crowsnest
origin: https://github.com/mainsail-crew/crowsnest.git
managed_services: crowsnest
install_script: tools/pkglist.sh
# [update_manager crowsnest]
# type: git_repo
# path: ~/crowsnest
# origin: https://github.com/mainsail-crew/crowsnest.git
# managed_services: crowsnest
# install_script: tools/pkglist.sh
[update_manager timelapse]
type: git_repo
primary_branch: main
path: ~/moonraker-timelapse
origin: https://github.com/mainsail-crew/moonraker-timelapse.git
managed_services: klipper moonraker
# [update_manager timelapse]
# type: git_repo
# primary_branch: main
# path: ~/moonraker-timelapse
# origin: https://github.com/mainsail-crew/moonraker-timelapse.git
# managed_services: klipper moonraker
[timelapse]
output_path: ~/printer_data/timelapse/
frame_path: /tmp/timelapse/printer
# [timelapse]
# output_path: ~/printer_data/timelapse/
# frame_path: /tmp/timelapse/printer

View File

@@ -39,7 +39,7 @@ homing_retract_dist: 0
[tmc2209 stepper_x]
uart_pin: PC1
run_current: 0.900
run_current: 0.900 # 0.860 marlin & master
stealthchop_threshold: 0
interpolate: False
sense_resistor: 0.150
@@ -82,7 +82,7 @@ homing_speed: 5
[tmc2209 stepper_z]
uart_pin: PA15
run_current: 0.900
run_current: 0.800 # 0.900 prev personal # 0.800 marlin # 1.000 master
stealthchop_threshold: 0
interpolate: False
sense_resistor: 0.150
@@ -108,7 +108,7 @@ min_temp: 0
max_temp: 300
max_extrude_only_distance: 150.0
max_extrude_cross_section: 5 # NOTE Needed for KAMP purge
pressure_advance: 0.031 # 0.0435 # 0.0465 # 0.044
pressure_advance: 0.026 # 0.031 # 0.0435 # 0.0465 # 0.044
[tmc2209 extruder]
uart_pin: PC14
@@ -184,10 +184,11 @@ encoder_pins: ^PB14, ^PB10
click_pin: ^!PB2
[input_shaper]
shaper_freq_x: 50.4 # 55.8 # 55.2 # 53.4 # 56.0 # 56.6 # 55.0 ; recommend accel <7500; 9200
shaper_type_x: mzv
shaper_freq_y: 41.4 # 42.4 # 43.2 # 45.4 # 48.4 ; recommend accel < 5000;5300
shaper_type_y: mzv
# try X: mzv 54.6
shaper_type_x = 2hump_ei # mzv
shaper_freq_x = 76.2 # 50.4
shaper_type_y = mzv # mzv
shaper_freq_y = 40.4 # 41.4
[bed_screws]
screw1_name: front left
@@ -250,32 +251,13 @@ runout_gcode:
#*# z_offset = 1.300
#*#
#*# [axis_twist_compensation]
#*# z_compensations = 0.083802, -0.029167, -0.054635
#*# z_compensations = 0.086615, -0.020885, -0.065729
#*# compensation_start_x = 27.0
#*# compensation_end_x = 195.0
#*#
#*# [bed_mesh default-1]
#*# version = 1
#*# points =
#*# 0.017700, 0.039838, 0.034162, 0.012223, -0.046875
#*# -0.056675, -0.012819, 0.009631, -0.006839, -0.086094
#*# -0.116831, -0.054850, -0.040056, -0.055433, -0.120625
#*# -0.121362, -0.051100, -0.034588, -0.050745, -0.111094
#*# -0.059643, 0.010619, 0.036506, 0.014255, -0.039375
#*# min_x = 27.0
#*# max_x = 222.0
#*# min_y = 6.0
#*# max_y = 203.0
#*# x_count = 5
#*# y_count = 5
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = bicubic
#*# tension = 0.2
#*#
#*# [bed_mesh default-0]
#*# version = 1
#*# points =
#*# 0.038482, 0.061556, 0.047131, 0.009098, -0.055469
#*# -0.033862, 0.002963, 0.008381, -0.014808, -0.099375
#*# -0.095737, -0.047819, -0.040213, -0.062620, -0.132031
@@ -292,14 +274,33 @@ runout_gcode:
#*# algo = lagrange
#*# tension = 0.2
#*#
#*# [bed_mesh default-0]
#*# version = 1
#*# points =
#*# 0.037145, 0.055020, 0.034770, -0.006886, -0.072291
#*# -0.035980, -0.003730, 0.000395, -0.026104, -0.109323
#*# -0.095512, -0.047480, -0.047261, -0.073292, -0.135573
#*# -0.091918, -0.042793, -0.043824, -0.073136, -0.132760
#*# -0.026449, 0.032520, 0.031801, -0.001886, -0.079010
#*# min_x = 27.0
#*# max_x = 222.0
#*# min_y = 6.0
#*# max_y = 203.0
#*# x_count = 5
#*# y_count = 5
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = lagrange
#*# tension = 0.2
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 0.037145, 0.055020, 0.034770, -0.006886, -0.072291
#*# -0.035980, -0.003730, 0.000395, -0.026104, -0.109323
#*# -0.095512, -0.047480, -0.047261, -0.073292, -0.135573
#*# -0.091918, -0.042793, -0.043824, -0.073136, -0.132760
#*# -0.026449, 0.032520, 0.031801, -0.001886, -0.079010
#*# 0.029919, 0.051593, 0.042329, -0.005485, -0.076198
#*# -0.035550, 0.010968, 0.015923, -0.012203, -0.101979
#*# -0.095706, -0.038564, -0.032827, -0.059860, -0.134323
#*# -0.098988, -0.036220, -0.031733, -0.060641, -0.127292
#*# -0.035238, 0.039718, 0.042954, 0.004047, -0.067135
#*# x_count = 5
#*# y_count = 5
#*# mesh_x_pps = 2