Initial repository
This commit is contained in:
64
dirs/printer_data/config/.moonraker.conf.bkp
Normal file
64
dirs/printer_data/config/.moonraker.conf.bkp
Normal file
@@ -0,0 +1,64 @@
|
||||
[server]
|
||||
host = 0.0.0.0
|
||||
port = 7126
|
||||
max_upload_size = 1024
|
||||
klippy_uds_address = ~/taz/printer_data_taz/comms/klippy.sock
|
||||
|
||||
[file_manager]
|
||||
enable_object_processing = False
|
||||
|
||||
[authorization]
|
||||
cors_domains =
|
||||
https://my.mainsail.xyz
|
||||
http://my.mainsail.xyz
|
||||
http://*.local
|
||||
http://*.lan
|
||||
trusted_clients =
|
||||
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
|
||||
|
||||
[octoprint_compat]
|
||||
|
||||
[history]
|
||||
|
||||
[announcements]
|
||||
subscriptions =
|
||||
mainsail
|
||||
|
||||
[update_manager]
|
||||
refresh_interval = 168
|
||||
enable_auto_refresh = True
|
||||
|
||||
[update_manager mainsail]
|
||||
type = web
|
||||
channel = stable
|
||||
repo = mainsail-crew/mainsail
|
||||
path = ~/mainsail
|
||||
|
||||
[update_manager mainsail-config]
|
||||
type = git_repo
|
||||
primary_branch = master
|
||||
path = ~/taz/mainsail-config
|
||||
origin = https://github.com/mainsail-crew/mainsail-config.git
|
||||
managed_services = klipper
|
||||
|
||||
[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 sonar]
|
||||
type = git_repo
|
||||
path = ~/sonar
|
||||
origin = https://github.com/mainsail-crew/sonar.git
|
||||
primary_branch = main
|
||||
managed_services = sonar
|
||||
install_script = tools/install.sh
|
||||
|
1
dirs/printer_data/config/.theme
Submodule
1
dirs/printer_data/config/.theme
Submodule
Submodule dirs/printer_data/config/.theme added at b0692e0f79
1
dirs/printer_data/config/.theme_old
Submodule
1
dirs/printer_data/config/.theme_old
Submodule
Submodule dirs/printer_data/config/.theme_old added at 0a1c82a144
47
dirs/printer_data/config/crowsnest.conf
Normal file
47
dirs/printer_data/config/crowsnest.conf
Normal file
@@ -0,0 +1,47 @@
|
||||
#### crowsnest.conf
|
||||
#### This is a typical default config.
|
||||
#### Also used as default in mainsail / MainsailOS
|
||||
#### See:
|
||||
#### https://github.com/mainsail-crew/crowsnest/blob/master/README.md
|
||||
#### for details to configure to your needs.
|
||||
|
||||
|
||||
#####################################################################
|
||||
#### #####
|
||||
#### Information about ports and according URL's #####
|
||||
#### #####
|
||||
#####################################################################
|
||||
#### #####
|
||||
#### Port 8080 equals /webcam/?action=[stream/snapshot] #####
|
||||
#### Port 8081 equals /webcam2/?action=[stream/snapshot] #####
|
||||
#### Port 8082 equals /webcam3/?action=[stream/snapshot] #####
|
||||
#### Port 8083 equals /webcam4/?action=[stream/snapshot] #####
|
||||
#### #####
|
||||
#### Note: These ports are default for most Mainsail #####
|
||||
#### installations. To use any other port would involve #####
|
||||
#### changing the proxy configuration or using directly #####
|
||||
#### http://<ip>:<port>/?action=[stream/snapshot] #####
|
||||
#### #####
|
||||
#####################################################################
|
||||
#### RTSP Stream URL: ( if enabled and supported ) #####
|
||||
#### rtsp://<ip>:<rtsp_port>/stream.h264 #####
|
||||
#####################################################################
|
||||
|
||||
|
||||
[crowsnest]
|
||||
log_path: /home/pi/printer_data/logs/crowsnest.log
|
||||
log_level: verbose # Valid Options are quiet/verbose/debug
|
||||
delete_log: false # Deletes log on every restart, if set to true
|
||||
no_proxy: false
|
||||
|
||||
[cam 1]
|
||||
mode: camera-streamer # ustreamer - Provides mjpg and snapshots. (All devices)
|
||||
# camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only)
|
||||
enable_rtsp: false # If camera-streamer is used, this enables also usage of an rtsp server
|
||||
rtsp_port: 8554 # Set different ports for each device!
|
||||
port: 8080 # HTTP/MJPG Stream/Snapshot Port
|
||||
device: /dev/v4l/by-id/usb-Generic_USB2.0_PC_CAMERA-video-index0 # See Log for available ...
|
||||
resolution: 640x480 # widthxheight format
|
||||
max_fps: 30 # If Hardware Supports this it will be forced, otherwise ignored/coerced.
|
||||
#custom_flags: # You can run the Stream Services with custom flags.
|
||||
#v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.
|
294
dirs/printer_data/config/mainsail.cfg
Normal file
294
dirs/printer_data/config/mainsail.cfg
Normal file
@@ -0,0 +1,294 @@
|
||||
## Client klipper macro definitions
|
||||
##
|
||||
## Copyright (C) 2022 Alex Zellner <alexander.zellner@googlemail.com>
|
||||
##
|
||||
## This file may be distributed under the terms of the GNU GPLv3 license
|
||||
##
|
||||
## !!! This file is read-only. Maybe the used editor indicates that. !!!
|
||||
##
|
||||
## Customization:
|
||||
## 1) copy the gcode_macro _CLIENT_VARIABLE (see below) to your printer.cfg
|
||||
## 2) remove the comment mark (#) from all lines
|
||||
## 3) change any value in there to your needs
|
||||
##
|
||||
## Use the PAUSE macro direct in your M600:
|
||||
## e.g. with a different park position front left and a minimal height of 50
|
||||
## [gcode_macro M600]
|
||||
## description: Filament change
|
||||
## gcode: PAUSE X=10 Y=10 Z_MIN=50
|
||||
## Z_MIN will park the toolhead at a minimum of 50 mm above to bed to make it easier for you to swap filament.
|
||||
##
|
||||
## Client variable macro for your printer.cfg
|
||||
#[gcode_macro _CLIENT_VARIABLE]
|
||||
#variable_use_custom_pos : False ; use custom park coordinates for x,y [True/False]
|
||||
#variable_custom_park_x : 0.0 ; custom x position; value must be within your defined min and max of X
|
||||
#variable_custom_park_y : 0.0 ; custom y position; value must be within your defined min and max of Y
|
||||
#variable_custom_park_dz : 2.0 ; custom dz value; the value in mm to lift the nozzle when move to park position
|
||||
#variable_retract : 1.0 ; the value to retract while PAUSE
|
||||
#variable_cancel_retract : 5.0 ; the value to retract while CANCEL_PRINT
|
||||
#variable_speed_retract : 35.0 ; retract speed in mm/s
|
||||
#variable_unretract : 1.0 ; the value to unretract while RESUME
|
||||
#variable_speed_unretract : 35.0 ; unretract speed in mm/s
|
||||
#variable_speed_hop : 15.0 ; z move speed in mm/s
|
||||
#variable_speed_move : 100.0 ; move speed in mm/s
|
||||
#variable_park_at_cancel : False ; allow to move the toolhead to park while execute CANCEL_PRINT [True/False]
|
||||
#variable_park_at_cancel_x : None ; different park position during CANCEL_PRINT [None/Position as Float]; park_at_cancel must be True
|
||||
#variable_park_at_cancel_y : None ; different park position during CANCEL_PRINT [None/Position as Float]; park_at_cancel must be True
|
||||
## !!! Caution [firmware_retraction] must be defined in the printer.cfg if you set use_fw_retract: True !!!
|
||||
#variable_use_fw_retract : False ; use fw_retraction instead of the manual version [True/False]
|
||||
#variable_idle_timeout : 0 ; time in sec until idle_timeout kicks in. Value 0 means that no value will be set or restored
|
||||
#variable_runout_sensor : "" ; If a sensor is defined, it will be used to cancel the execution of RESUME in case no filament is detected.
|
||||
## Specify the config name of the runout sensor e.g "filament_switch_sensor runout". Hint use the same as in your printer.cfg
|
||||
## !!! Custom macros, please use with care and review the section of the corresponding macro.
|
||||
## These macros are for simple operations like setting a status LED. Please make sure your macro does not interfere with the basic macro functions.
|
||||
## Only single line commands are supported, please create a macro if you need more than one command.
|
||||
#variable_user_pause_macro : "" ; Everything inside the "" will be executed after the klipper base pause (PAUSE_BASE) function
|
||||
#variable_user_resume_macro: "" ; Everything inside the "" will be executed before the klipper base resume (RESUME_BASE) function
|
||||
#variable_user_cancel_macro: "" ; Everything inside the "" will be executed before the klipper base cancel (CANCEL_PRINT_BASE) function
|
||||
#gcode:
|
||||
|
||||
[virtual_sdcard]
|
||||
path: ~/taz/printer_data_taz/gcodes
|
||||
on_error_gcode: CANCEL_PRINT
|
||||
|
||||
[pause_resume]
|
||||
#recover_velocity: 50.
|
||||
# When capture/restore is enabled, the speed at which to return to
|
||||
# the captured position (in mm/s). Default is 50.0 mm/s.
|
||||
|
||||
[display_status]
|
||||
|
||||
[respond]
|
||||
|
||||
[gcode_macro CANCEL_PRINT]
|
||||
description: Cancel the actual running print
|
||||
rename_existing: CANCEL_PRINT_BASE
|
||||
gcode:
|
||||
##### get user parameters or use default #####
|
||||
{% set client = printer['gcode_macro _CLIENT_VARIABLE']|default({}) %}
|
||||
{% set allow_park = client.park_at_cancel|default(false)|lower == 'true' %}
|
||||
{% set retract = client.cancel_retract|default(5.0)|abs %}
|
||||
##### define park position #####
|
||||
{% set park_x = "" if (client.park_at_cancel_x|default(none) is none)
|
||||
else "X=" ~ client.park_at_cancel_x %}
|
||||
{% set park_y = "" if (client.park_at_cancel_y|default(none) is none)
|
||||
else "Y=" ~ client.park_at_cancel_y %}
|
||||
{% set custom_park = park_x|length > 0 or park_y|length > 0 %}
|
||||
##### end of definitions #####
|
||||
# restore idle_timeout time if needed
|
||||
{% if printer['gcode_macro RESUME'].restore_idle_timeout > 0 %}
|
||||
SET_IDLE_TIMEOUT TIMEOUT={printer['gcode_macro RESUME'].restore_idle_timeout}
|
||||
{% endif %}
|
||||
{% if (custom_park or not printer.pause_resume.is_paused) and allow_park %} _TOOLHEAD_PARK_PAUSE_CANCEL {park_x} {park_y} {% endif %}
|
||||
_CLIENT_RETRACT LENGTH={retract}
|
||||
TURN_OFF_HEATERS
|
||||
M106 S0
|
||||
{client.user_cancel_macro|default("")}
|
||||
SET_GCODE_VARIABLE MACRO=RESUME VARIABLE=idle_state VALUE=False
|
||||
# clear pause_next_layer and pause_at_layer as preparation for next print
|
||||
SET_PAUSE_NEXT_LAYER ENABLE=0
|
||||
SET_PAUSE_AT_LAYER ENABLE=0 LAYER=0
|
||||
CANCEL_PRINT_BASE
|
||||
|
||||
[gcode_macro PAUSE]
|
||||
description: Pause the actual running print
|
||||
rename_existing: PAUSE_BASE
|
||||
gcode:
|
||||
##### get user parameters or use default #####
|
||||
{% set client = printer['gcode_macro _CLIENT_VARIABLE']|default({}) %}
|
||||
{% set idle_timeout = client.idle_timeout|default(0) %}
|
||||
{% set temp = printer[printer.toolhead.extruder].target if printer.toolhead.extruder != '' else 0 %}
|
||||
{% set restore = False if printer.toolhead.extruder == ''
|
||||
else True if params.RESTORE|default(1)|int == 1 else False %}
|
||||
##### end of definitions #####
|
||||
SET_GCODE_VARIABLE MACRO=RESUME VARIABLE=last_extruder_temp VALUE="{{'restore': restore, 'temp': temp}}"
|
||||
# set a new idle_timeout value
|
||||
{% if idle_timeout > 0 %}
|
||||
SET_GCODE_VARIABLE MACRO=RESUME VARIABLE=restore_idle_timeout VALUE={printer.configfile.settings.idle_timeout.timeout}
|
||||
SET_IDLE_TIMEOUT TIMEOUT={idle_timeout}
|
||||
{% endif %}
|
||||
PAUSE_BASE
|
||||
{client.user_pause_macro|default("")}
|
||||
_TOOLHEAD_PARK_PAUSE_CANCEL {rawparams}
|
||||
|
||||
[gcode_macro RESUME]
|
||||
description: Resume the actual running print
|
||||
rename_existing: RESUME_BASE
|
||||
variable_last_extruder_temp: {'restore': False, 'temp': 0}
|
||||
variable_restore_idle_timeout: 0
|
||||
variable_idle_state: False
|
||||
gcode:
|
||||
##### get user parameters or use default #####
|
||||
{% set client = printer['gcode_macro _CLIENT_VARIABLE']|default({}) %}
|
||||
{% set velocity = printer.configfile.settings.pause_resume.recover_velocity %}
|
||||
{% set sp_move = client.speed_move|default(velocity) %}
|
||||
{% set runout_resume = True if client.runout_sensor|default("") == "" # no runout
|
||||
else True if not printer[client.runout_sensor].enabled # sensor is disabled
|
||||
else printer[client.runout_sensor].filament_detected %} # sensor status
|
||||
{% set can_extrude = True if printer.toolhead.extruder == '' # no extruder defined in config
|
||||
else printer[printer.toolhead.extruder].can_extrude %} # status of active extruder
|
||||
{% set do_resume = False %}
|
||||
{% set prompt_txt = [] %}
|
||||
##### end of definitions #####
|
||||
#### Printer comming from timeout idle state ####
|
||||
{% if printer.idle_timeout.state|upper == "IDLE" or idle_state %}
|
||||
SET_GCODE_VARIABLE MACRO=RESUME VARIABLE=idle_state VALUE=False
|
||||
{% if last_extruder_temp.restore %}
|
||||
# we need to use the unicode (\u00B0) for the ° as py2 env's would throw an error otherwise
|
||||
RESPOND TYPE=echo MSG='{"Restoring \"%s\" temperature to %3.1f\u00B0C, this may take some time" % (printer.toolhead.extruder, last_extruder_temp.temp) }'
|
||||
M109 S{last_extruder_temp.temp}
|
||||
{% set do_resume = True %}
|
||||
{% elif can_extrude %}
|
||||
{% set do_resume = True %}
|
||||
{% else %}
|
||||
RESPOND TYPE=error MSG='{"Resume aborted !!! \"%s\" not hot enough, please heat up again and press RESUME" % printer.toolhead.extruder}'
|
||||
{% set _d = prompt_txt.append("\"%s\" not hot enough, please heat up again and press RESUME" % printer.toolhead.extruder) %}
|
||||
{% endif %}
|
||||
#### Printer comming out of regular PAUSE state ####
|
||||
{% elif can_extrude %}
|
||||
{% set do_resume = True %}
|
||||
{% else %}
|
||||
RESPOND TYPE=error MSG='{"Resume aborted !!! \"%s\" not hot enough, please heat up again and press RESUME" % printer.toolhead.extruder}'
|
||||
{% set _d = prompt_txt.append("\"%s\" not hot enough, please heat up again and press RESUME" % printer.toolhead.extruder) %}
|
||||
{% endif %}
|
||||
{% if runout_resume %}
|
||||
{% if do_resume %}
|
||||
{% if restore_idle_timeout > 0 %} SET_IDLE_TIMEOUT TIMEOUT={restore_idle_timeout} {% endif %} # restore idle_timeout time
|
||||
{client.user_resume_macro|default("")}
|
||||
_CLIENT_EXTRUDE
|
||||
RESUME_BASE VELOCITY={params.VELOCITY|default(sp_move)}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
RESPOND TYPE=error MSG='{"Resume aborted !!! \"%s\" detects no filament, please load filament and press RESUME" % (client.runout_sensor.split(" "))[1]}'
|
||||
{% set _d = prompt_txt.append("\"%s\" detects no filament, please load filament and press RESUME" % (client.runout_sensor.split(" "))[1]) %}
|
||||
{% endif %}
|
||||
##### Generate User Information box in case of abort #####
|
||||
{% if not (runout_resume and do_resume) %}
|
||||
RESPOND TYPE=command MSG="action:prompt_begin RESUME aborted !!!"
|
||||
{% for element in prompt_txt %}
|
||||
RESPOND TYPE=command MSG='{"action:prompt_text %s" % element}'
|
||||
{% endfor %}
|
||||
RESPOND TYPE=command MSG="action:prompt_footer_button Ok|RESPOND TYPE=command MSG=action:prompt_end|info"
|
||||
RESPOND TYPE=command MSG="action:prompt_show"
|
||||
{% endif %}
|
||||
|
||||
# Usage: SET_PAUSE_NEXT_LAYER [ENABLE=[0|1]] [MACRO=<name>]
|
||||
[gcode_macro SET_PAUSE_NEXT_LAYER]
|
||||
description: Enable a pause if the next layer is reached
|
||||
gcode:
|
||||
{% set pause_next_layer = printer['gcode_macro SET_PRINT_STATS_INFO'].pause_next_layer %}
|
||||
{% set ENABLE = params.ENABLE|default(1)|int != 0 %}
|
||||
{% set MACRO = params.MACRO|default(pause_next_layer.call, True) %}
|
||||
SET_GCODE_VARIABLE MACRO=SET_PRINT_STATS_INFO VARIABLE=pause_next_layer VALUE="{{ 'enable': ENABLE, 'call': MACRO }}"
|
||||
|
||||
# Usage: SET_PAUSE_AT_LAYER [ENABLE=[0|1]] [LAYER=<number>] [MACRO=<name>]
|
||||
[gcode_macro SET_PAUSE_AT_LAYER]
|
||||
description: Enable/disable a pause if a given layer number is reached
|
||||
gcode:
|
||||
{% set pause_at_layer = printer['gcode_macro SET_PRINT_STATS_INFO'].pause_at_layer %}
|
||||
{% set ENABLE = params.ENABLE|int != 0 if params.ENABLE is defined
|
||||
else params.LAYER is defined %}
|
||||
{% set LAYER = params.LAYER|default(pause_at_layer.layer)|int %}
|
||||
{% set MACRO = params.MACRO|default(pause_at_layer.call, True) %}
|
||||
SET_GCODE_VARIABLE MACRO=SET_PRINT_STATS_INFO VARIABLE=pause_at_layer VALUE="{{ 'enable': ENABLE, 'layer': LAYER, 'call': MACRO }}"
|
||||
|
||||
# Usage: SET_PRINT_STATS_INFO [TOTAL_LAYER=<total_layer_count>] [CURRENT_LAYER= <current_layer>]
|
||||
[gcode_macro SET_PRINT_STATS_INFO]
|
||||
rename_existing: SET_PRINT_STATS_INFO_BASE
|
||||
description: Overwrite, to get pause_next_layer and pause_at_layer feature
|
||||
variable_pause_next_layer: { 'enable': False, 'call': "PAUSE" }
|
||||
variable_pause_at_layer : { 'enable': False, 'layer': 0, 'call': "PAUSE" }
|
||||
gcode:
|
||||
{% if pause_next_layer.enable %}
|
||||
RESPOND TYPE=echo MSG='{"%s, forced by pause_next_layer" % pause_next_layer.call}'
|
||||
{pause_next_layer.call} ; execute the given gcode to pause, should be either M600 or PAUSE
|
||||
SET_PAUSE_NEXT_LAYER ENABLE=0
|
||||
{% elif pause_at_layer.enable and params.CURRENT_LAYER is defined and params.CURRENT_LAYER|int == pause_at_layer.layer %}
|
||||
RESPOND TYPE=echo MSG='{"%s, forced by pause_at_layer [%d]" % (pause_at_layer.call, pause_at_layer.layer)}'
|
||||
{pause_at_layer.call} ; execute the given gcode to pause, should be either M600 or PAUSE
|
||||
SET_PAUSE_AT_LAYER ENABLE=0
|
||||
{% endif %}
|
||||
SET_PRINT_STATS_INFO_BASE {rawparams}
|
||||
|
||||
##### internal use #####
|
||||
[gcode_macro _TOOLHEAD_PARK_PAUSE_CANCEL]
|
||||
description: Helper: park toolhead used in PAUSE and CANCEL_PRINT
|
||||
gcode:
|
||||
##### get user parameters or use default #####
|
||||
{% set client = printer['gcode_macro _CLIENT_VARIABLE']|default({}) %}
|
||||
{% set velocity = printer.configfile.settings.pause_resume.recover_velocity %}
|
||||
{% set use_custom = client.use_custom_pos|default(false)|lower == 'true' %}
|
||||
{% set custom_park_x = client.custom_park_x|default(0.0) %}
|
||||
{% set custom_park_y = client.custom_park_y|default(0.0) %}
|
||||
{% set park_dz = client.custom_park_dz|default(2.0)|abs %}
|
||||
{% set sp_hop = client.speed_hop|default(15) * 60 %}
|
||||
{% set sp_move = client.speed_move|default(velocity) * 60 %}
|
||||
##### get config and toolhead values #####
|
||||
{% set origin = printer.gcode_move.homing_origin %}
|
||||
{% set act = printer.gcode_move.gcode_position %}
|
||||
{% set max = printer.toolhead.axis_maximum %}
|
||||
{% set cone = printer.toolhead.cone_start_z|default(max.z) %} ; height as long the toolhead can reach max and min of an delta
|
||||
{% set round_bed = True if printer.configfile.settings.printer.kinematics is in ['delta','polar','rotary_delta','winch']
|
||||
else False %}
|
||||
##### define park position #####
|
||||
{% set z_min = params.Z_MIN|default(0)|float %}
|
||||
{% set z_park = [[(act.z + park_dz), z_min]|max, (max.z - origin.z)]|min %}
|
||||
{% set x_park = params.X if params.X is defined
|
||||
else custom_park_x if use_custom
|
||||
else 0.0 if round_bed
|
||||
else (max.x - 5.0) %}
|
||||
{% set y_park = params.Y if params.Y is defined
|
||||
else custom_park_y if use_custom
|
||||
else (max.y - 5.0) if round_bed and z_park < cone
|
||||
else 0.0 if round_bed
|
||||
else (max.y - 5.0) %}
|
||||
##### end of definitions #####
|
||||
_CLIENT_RETRACT
|
||||
{% if "xyz" in printer.toolhead.homed_axes %}
|
||||
G90
|
||||
G1 Z{z_park} F{sp_hop}
|
||||
G1 X{x_park} Y{y_park} F{sp_move}
|
||||
{% if not printer.gcode_move.absolute_coordinates %} G91 {% endif %}
|
||||
{% else %}
|
||||
RESPOND TYPE=echo MSG='Printer not homed'
|
||||
{% endif %}
|
||||
|
||||
[gcode_macro _CLIENT_EXTRUDE]
|
||||
description: Extrudes, if the extruder is hot enough
|
||||
gcode:
|
||||
##### get user parameters or use default #####
|
||||
{% set client = printer['gcode_macro _CLIENT_VARIABLE']|default({}) %}
|
||||
{% set use_fw_retract = (client.use_fw_retract|default(false)|lower == 'true') and (printer.firmware_retraction is defined) %}
|
||||
{% set length = params.LENGTH|default(client.unretract)|default(1.0)|float %}
|
||||
{% set speed = params.SPEED|default(client.speed_unretract)|default(35) %}
|
||||
{% set absolute_extrude = printer.gcode_move.absolute_extrude %}
|
||||
##### end of definitions #####
|
||||
{% if printer.toolhead.extruder != '' %}
|
||||
{% if printer[printer.toolhead.extruder].can_extrude %}
|
||||
{% if use_fw_retract %}
|
||||
{% if length < 0 %}
|
||||
G10
|
||||
{% else %}
|
||||
G11
|
||||
{% endif %}
|
||||
{% else %}
|
||||
M83
|
||||
G1 E{length} F{(speed|float|abs) * 60}
|
||||
{% if absolute_extrude %}
|
||||
M82
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
RESPOND TYPE=echo MSG='{"\"%s\" not hot enough" % printer.toolhead.extruder}'
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
[gcode_macro _CLIENT_RETRACT]
|
||||
description: Retracts, if the extruder is hot enough
|
||||
gcode:
|
||||
{% set client = printer['gcode_macro _CLIENT_VARIABLE']|default({}) %}
|
||||
{% set length = params.LENGTH|default(client.retract)|default(1.0)|float %}
|
||||
{% set speed = params.SPEED|default(client.speed_retract)|default(35) %}
|
||||
|
||||
_CLIENT_EXTRUDE LENGTH=-{length|float|abs} SPEED={speed|float|abs}
|
||||
|
90
dirs/printer_data/config/moonraker.conf
Normal file
90
dirs/printer_data/config/moonraker.conf
Normal file
@@ -0,0 +1,90 @@
|
||||
[server]
|
||||
host: 0.0.0.0
|
||||
port: 7126
|
||||
# The maximum size allowed for a file upload (in MiB). Default 1024 MiB
|
||||
max_upload_size: 1024
|
||||
# Path to klippy Unix Domain Socket
|
||||
klippy_uds_address: ~/taz/printer_data_taz/comms/klippy.sock
|
||||
|
||||
[file_manager]
|
||||
# post processing for object cancel. Not recommended for low resource SBCs such as a Pi Zero. Default False
|
||||
enable_object_processing: False
|
||||
|
||||
[authorization]
|
||||
cors_domains:
|
||||
https://my.mainsail.xyz
|
||||
http://my.mainsail.xyz
|
||||
http://*.local
|
||||
http://*.lan
|
||||
trusted_clients:
|
||||
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
|
||||
|
||||
# enables partial support of Octoprint API
|
||||
[octoprint_compat]
|
||||
|
||||
# enables moonraker to track and store print history.
|
||||
[history]
|
||||
|
||||
# this enables moonraker announcements for mainsail
|
||||
[announcements]
|
||||
subscriptions:
|
||||
mainsail
|
||||
|
||||
# this enables moonraker's update manager
|
||||
[update_manager]
|
||||
refresh_interval: 168
|
||||
enable_auto_refresh: True
|
||||
|
||||
[update_manager mainsail]
|
||||
type: web
|
||||
channel: stable
|
||||
repo: mainsail-crew/mainsail
|
||||
path: ~/mainsail
|
||||
|
||||
[update_manager mainsail-config]
|
||||
type: git_repo
|
||||
primary_branch: master
|
||||
path: ~/taz/mainsail-config
|
||||
origin: https://github.com/mainsail-crew/mainsail-config.git
|
||||
managed_services: klipper
|
||||
|
||||
### moonraker-timelapse
|
||||
### Don't forget to include timelapse.cfg to your printer.cfg
|
||||
### Uncomment to enable moonraker-timelapse
|
||||
|
||||
|
||||
#[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]
|
||||
### Directory where the generated video will be saved
|
||||
#output_path: ~/timelapse/
|
||||
### Directory where ffmpeg is installed
|
||||
#ffmpeg_binary_path: /usr/bin/ffmpeg
|
||||
|
||||
# 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
|
||||
|
||||
# Sonar update_manager entry
|
||||
[update_manager sonar]
|
||||
type: git_repo
|
||||
path: ~/sonar
|
||||
origin: https://github.com/mainsail-crew/sonar.git
|
||||
primary_branch: main
|
||||
managed_services: sonar
|
||||
install_script: tools/install.sh
|
1
dirs/printer_data/config/old_mainsail.cfg
Symbolic link
1
dirs/printer_data/config/old_mainsail.cfg
Symbolic link
@@ -0,0 +1 @@
|
||||
/home/pi/mainsail-config/mainsail.cfg
|
220
dirs/printer_data/config/printer-20240318_221945.cfg
Normal file
220
dirs/printer_data/config/printer-20240318_221945.cfg
Normal file
@@ -0,0 +1,220 @@
|
||||
# This file contains common pin mappings for RAMBo boards. To use this
|
||||
# config, the firmware should be compiled for the AVR atmega2560.
|
||||
|
||||
# See docs/Config_Reference.md for a description of parameters.
|
||||
[gcode_macro CALIBRATE_NOZZLE_OFFSET]
|
||||
description: Move to center of bed and calibrate nozzle offset
|
||||
gcode:
|
||||
G90
|
||||
G0 X100 Y155 F1500
|
||||
PROBE_CALIBRATE
|
||||
|
||||
[gcode_macro LEVEL_BED]
|
||||
description: "Level the bed manually."
|
||||
gcode:
|
||||
BED_SCREWS_ADJUST
|
||||
|
||||
[gcode_macro CHECK_DEVIATION]
|
||||
description: "Check the deviation of the bed from the last loaded mesh."
|
||||
gcode:
|
||||
SCREWS_TILT_CALCULATE MAX_DEVIATION=0.05
|
||||
|
||||
[gcode_macro LIZ_IS_A_BAKA]
|
||||
description: "Liz is a baka, so here's her start G-Code >.<"
|
||||
gcode:
|
||||
BED_MESH_CALIBRATE
|
||||
BED_MESH_PROFILE SAVE=default
|
||||
|
||||
[gcode_macro _START_GCODE]
|
||||
description: "The gcode that should be called from your slicer at the beginning of a print."
|
||||
gcode:
|
||||
# Ender 3 Custom Start G-code
|
||||
G90
|
||||
G1 X2 Y30 Z30 F1500
|
||||
G1 Z0.28 F240
|
||||
G92 E0
|
||||
G1 Y220 E10 F1500 ; prime the nozzle
|
||||
G1 X2.3 F5000
|
||||
G92 E0
|
||||
G1 Y30 E10 F1200 ; prime the nozzle
|
||||
G92 E0
|
||||
G1 Z5 F1500 ; don't scratch the build plate
|
||||
|
||||
[gcode_macro _END_GCODE]
|
||||
description: "The gcode that should be called from your slicer at the end of a print."
|
||||
gcode:
|
||||
G91 # Relative positioning
|
||||
G1 E-2 F2700 # Retract a bit
|
||||
G1 E-2 Z0.2 F2400 # Retract and raise Z
|
||||
G1 X5 Y5 F3000 # Wipe out
|
||||
G1 Z10 # Raise Z more
|
||||
G90 # Absolute positioning
|
||||
|
||||
G1 X0 Y220 # Present print
|
||||
M106 S0 # Turn-off fan
|
||||
M104 S0 # Turn-off hotend
|
||||
M140 S0 # Turn-off bed
|
||||
|
||||
M84 X Y E # Disable all steppers but Z
|
||||
|
||||
[stepper_x]
|
||||
step_pin: PC0
|
||||
dir_pin: PL1
|
||||
enable_pin: !PA7
|
||||
microsteps: 16
|
||||
# rotation_distance: 40 # Default, seems 3mm short on a 10mm move
|
||||
# rotation_distance: 28 # Test 1, seems to move 1-2mm too far
|
||||
# rotation_distance: 30 # Test 2, seems to move 1mm too far
|
||||
rotation_distance: 33
|
||||
endstop_pin: ^!PB6
|
||||
#endstop_pin: ^PA2
|
||||
position_endstop: 0
|
||||
position_max: 298
|
||||
homing_speed: 50
|
||||
|
||||
[stepper_y]
|
||||
step_pin: PC1
|
||||
dir_pin: !PL0
|
||||
enable_pin: !PA6
|
||||
microsteps: 16
|
||||
rotation_distance: 40 # Default, Seems ok
|
||||
endstop_pin: ^!PB5
|
||||
#endstop_pin: ^PA1
|
||||
position_endstop: 0
|
||||
position_max: 280
|
||||
homing_speed: 50
|
||||
|
||||
[stepper_z]
|
||||
step_pin: PC2
|
||||
dir_pin: PL2
|
||||
enable_pin: !PA5
|
||||
microsteps: 16
|
||||
# rotation_distance: 8 # Default, seems 1mm too short
|
||||
# rotation_distance: 7.2 # Test 1, seems 3mm overshot
|
||||
# rotation_distance: 8.33 # Test 2, still seems 1mm under
|
||||
rotation_distance: 8
|
||||
endstop_pin: probe:z_virtual_endstop
|
||||
#endstop_pin: !PB4
|
||||
#endstop_pin: ^PC7
|
||||
# position_endstop: 0.5
|
||||
position_max: 250
|
||||
|
||||
[bltouch]
|
||||
sensor_pin: ^PB4
|
||||
control_pin: PL5
|
||||
x_offset: -33.0
|
||||
y_offset: 9.0
|
||||
z_offset: 3.0
|
||||
|
||||
[bed_mesh]
|
||||
speed: 120
|
||||
horizontal_move_z: 7
|
||||
mesh_min: 30, 40
|
||||
mesh_max: 280, 270
|
||||
probe_count: 5
|
||||
mesh_pps: 3
|
||||
algorithm: bicubic
|
||||
|
||||
[safe_z_home]
|
||||
home_xy_position: 140, 140
|
||||
speed: 50
|
||||
z_hop: 10
|
||||
z_hop_speed: 5
|
||||
|
||||
[extruder]
|
||||
step_pin: PC3
|
||||
dir_pin: !PL6
|
||||
enable_pin: !PA4
|
||||
microsteps: 16
|
||||
# rotation_distance: 33.500 # Original Setting, seems ??x too small
|
||||
# rotation_distance: 16.75 # Initial test, seems to extrude 1/2 supposed
|
||||
# rotation_distance: 8.375 # Test Two, still seems 1/2
|
||||
rotation_distance: 4.25
|
||||
nozzle_diameter: 0.400
|
||||
heater_pin: PH6
|
||||
filament_diameter: 2.850
|
||||
#filament_diameter: 1.750
|
||||
sensor_type: EPCOS 100K B57560G104F
|
||||
sensor_pin: PF0
|
||||
control: pid
|
||||
pid_Kp: 22.2
|
||||
pid_Ki: 1.08
|
||||
pid_Kd: 114
|
||||
min_temp: 0
|
||||
max_temp: 250
|
||||
|
||||
#[extruder1]
|
||||
#step_pin: PC4
|
||||
#dir_pin: PL7
|
||||
#enable_pin: !PA3
|
||||
#heater_pin: PH4
|
||||
#sensor_pin: PF1
|
||||
#...
|
||||
|
||||
[heater_bed]
|
||||
heater_pin: PE5
|
||||
sensor_type: EPCOS 100K B57560G104F
|
||||
sensor_pin: PF2
|
||||
control: watermark
|
||||
min_temp: 0
|
||||
max_temp: 130
|
||||
max_power: 1.0
|
||||
|
||||
[verify_heater heater_bed]
|
||||
heating_gain: 1
|
||||
check_gain_time: 60
|
||||
|
||||
[fan]
|
||||
pin: PH5
|
||||
|
||||
#[heater_fan heatbreak_cooling_fan]
|
||||
#pin: PH3
|
||||
|
||||
[mcu]
|
||||
serial: /dev/serial/by-id/usb-UltiMachine__ultimachine.com__RAMBo_6403335373035101E171-if00
|
||||
baud: 250000
|
||||
|
||||
[printer]
|
||||
kinematics: cartesian
|
||||
max_velocity: 300
|
||||
max_accel: 3000
|
||||
max_z_velocity: 5
|
||||
max_z_accel: 100
|
||||
|
||||
[ad5206 stepper_digipot]
|
||||
enable_pin: PD7
|
||||
# Scale the config so that the channel value can be specified in amps.
|
||||
# (For Rambo v1.0d boards, use 1.56 instead.)
|
||||
scale: 2.08
|
||||
# Channel 1 is E0, 2 is E1, 3 is unused, 4 is Z, 5 is X, 6 is Y
|
||||
channel_1: 1.34
|
||||
channel_2: 1.0
|
||||
channel_4: 1.1
|
||||
channel_5: 1.1
|
||||
channel_6: 1.1
|
||||
|
||||
# Enable 16 micro-steps on steppers X, Y, Z, E0, E1
|
||||
[static_digital_output stepper_config]
|
||||
pins:
|
||||
PG1, PG0,
|
||||
PK7, PG2,
|
||||
PK6, PK5,
|
||||
PK3, PK4,
|
||||
PK1, PK2
|
||||
|
||||
[static_digital_output yellow_led]
|
||||
pins: !PB7
|
||||
|
||||
# Common EXP1 / EXP2 (display) pins
|
||||
[board_pins]
|
||||
aliases:
|
||||
# Common EXP1/EXP2 headers found on RAMBo v1.4
|
||||
EXP1_1=PE6, EXP1_3=PG3, EXP1_5=PJ2, EXP1_7=PJ7, EXP1_9=<GND>,
|
||||
EXP1_2=PE2, EXP1_4=PG4, EXP1_6=PJ3, EXP1_8=PJ4, EXP1_10=<5V>,
|
||||
# EXP2 header
|
||||
EXP2_1=PB3, EXP2_3=PJ5, EXP2_5=PJ6, EXP2_7=PD4, EXP2_9=<GND>,
|
||||
EXP2_2=PB1, EXP2_4=PB0, EXP2_6=PB2, EXP2_8=PE7, EXP2_10=PH2
|
||||
# Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "spi"
|
||||
|
||||
# See the sample-lcd.cfg file for definitions of common LCD displays.
|
||||
[include mainsail.cfg]
|
228
dirs/printer_data/config/printer-20240321_112054.cfg
Normal file
228
dirs/printer_data/config/printer-20240321_112054.cfg
Normal file
@@ -0,0 +1,228 @@
|
||||
# This file contains common pin mappings for RAMBo boards. To use this
|
||||
# config, the firmware should be compiled for the AVR atmega2560.
|
||||
|
||||
# See docs/Config_Reference.md for a description of parameters.
|
||||
[gcode_macro CALIBRATE_NOZZLE_OFFSET]
|
||||
description: Move to center of bed and calibrate nozzle offset
|
||||
gcode:
|
||||
G90
|
||||
G0 X100 Y155 F1500
|
||||
PROBE_CALIBRATE
|
||||
|
||||
[gcode_macro LEVEL_BED]
|
||||
description: "Level the bed manually."
|
||||
gcode:
|
||||
BED_SCREWS_ADJUST
|
||||
|
||||
[gcode_macro CHECK_DEVIATION]
|
||||
description: "Check the deviation of the bed from the last loaded mesh."
|
||||
gcode:
|
||||
SCREWS_TILT_CALCULATE MAX_DEVIATION=0.05
|
||||
|
||||
[gcode_macro LIZ_IS_A_BAKA]
|
||||
description: "Liz is a baka, so here's her start G-Code >.<"
|
||||
gcode:
|
||||
BED_MESH_CALIBRATE
|
||||
BED_MESH_PROFILE SAVE=default
|
||||
|
||||
[gcode_macro _START_GCODE]
|
||||
description: "The gcode that should be called from your slicer at the beginning of a print."
|
||||
gcode:
|
||||
# Ender 3 Custom Start G-code
|
||||
G90
|
||||
G1 X2 Y30 Z30 F1500
|
||||
G1 Z0.28 F240
|
||||
G92 E0
|
||||
G1 Y220 E10 F1500 ; prime the nozzle
|
||||
G1 X2.3 F5000
|
||||
G92 E0
|
||||
G1 Y30 E10 F1200 ; prime the nozzle
|
||||
G92 E0
|
||||
G1 Z5 F1500 ; don't scratch the build plate
|
||||
|
||||
[gcode_macro _END_GCODE]
|
||||
description: "The gcode that should be called from your slicer at the end of a print."
|
||||
gcode:
|
||||
G91 # Relative positioning
|
||||
G1 E-2 F2700 # Retract a bit
|
||||
G1 E-2 Z0.2 F2400 # Retract and raise Z
|
||||
G1 X5 Y5 F3000 # Wipe out
|
||||
G1 Z10 # Raise Z more
|
||||
G90 # Absolute positioning
|
||||
|
||||
G1 X0 Y220 # Present print
|
||||
M106 S0 # Turn-off fan
|
||||
M104 S0 # Turn-off hotend
|
||||
M140 S0 # Turn-off bed
|
||||
|
||||
M84 X Y E # Disable all steppers but Z
|
||||
|
||||
[stepper_x]
|
||||
step_pin: PC0
|
||||
dir_pin: PL1
|
||||
enable_pin: !PA7
|
||||
microsteps: 16
|
||||
# rotation_distance: 40 # Default, seems 3mm short on a 10mm move
|
||||
# rotation_distance: 28 # Test 1, seems to move 1-2mm too far
|
||||
# rotation_distance: 30 # Test 2, seems to move 1mm too far
|
||||
rotation_distance: 33
|
||||
endstop_pin: ^!PB6
|
||||
#endstop_pin: ^PA2
|
||||
position_endstop: 0
|
||||
position_max: 298
|
||||
homing_speed: 50
|
||||
|
||||
[stepper_y]
|
||||
step_pin: PC1
|
||||
dir_pin: !PL0
|
||||
enable_pin: !PA6
|
||||
microsteps: 16
|
||||
# rotation_distance: 40 # Default, Seems 4mm overshot
|
||||
# rotation_distance: 42 # Test 1, Still seems 3-4mm overshot
|
||||
rotation_distance: 46
|
||||
endstop_pin: ^!PB5
|
||||
#endstop_pin: ^PA1
|
||||
position_endstop: 0
|
||||
position_max: 280
|
||||
homing_speed: 50
|
||||
|
||||
[stepper_z]
|
||||
step_pin: PC2
|
||||
dir_pin: PL2
|
||||
enable_pin: !PA5
|
||||
microsteps: 16
|
||||
# rotation_distance: 8 # Default, seems 1mm too short
|
||||
# rotation_distance: 7.2 # Test 1, seems 3mm overshot
|
||||
# rotation_distance: 8.33 # Test 2, still seems 1mm under
|
||||
rotation_distance: 8
|
||||
endstop_pin: probe:z_virtual_endstop
|
||||
#endstop_pin: !PB4
|
||||
#endstop_pin: ^PC7
|
||||
# position_endstop: 0.5
|
||||
position_max: 250
|
||||
|
||||
[bltouch]
|
||||
sensor_pin: ^PB4
|
||||
control_pin: PL5
|
||||
x_offset: -33.0
|
||||
y_offset: 9.0
|
||||
#z_offset: 3.0
|
||||
|
||||
[bed_mesh]
|
||||
speed: 120
|
||||
horizontal_move_z: 7
|
||||
mesh_min: 30, 40
|
||||
mesh_max: 250, 230
|
||||
probe_count: 5
|
||||
mesh_pps: 3
|
||||
algorithm: bicubic
|
||||
|
||||
[safe_z_home]
|
||||
home_xy_position: 140, 140
|
||||
speed: 50
|
||||
z_hop: 10
|
||||
z_hop_speed: 5
|
||||
|
||||
[extruder]
|
||||
step_pin: PC3
|
||||
dir_pin: !PL6
|
||||
enable_pin: !PA4
|
||||
microsteps: 16
|
||||
# rotation_distance: 33.500 # Original Setting, seems ??x too small
|
||||
# rotation_distance: 16.75 # Initial test, seems to extrude 1/2 supposed
|
||||
# rotation_distance: 8.375 # Test Two, still seems 1/2
|
||||
rotation_distance: 4.25
|
||||
nozzle_diameter: 0.400
|
||||
heater_pin: PH6
|
||||
filament_diameter: 2.850
|
||||
#filament_diameter: 1.750
|
||||
sensor_type: EPCOS 100K B57560G104F
|
||||
sensor_pin: PF0
|
||||
control: pid
|
||||
pid_Kp: 22.2
|
||||
pid_Ki: 1.08
|
||||
pid_Kd: 114
|
||||
min_temp: 0
|
||||
max_temp: 250
|
||||
|
||||
#[extruder1]
|
||||
#step_pin: PC4
|
||||
#dir_pin: PL7
|
||||
#enable_pin: !PA3
|
||||
#heater_pin: PH4
|
||||
#sensor_pin: PF1
|
||||
#...
|
||||
|
||||
[heater_bed]
|
||||
heater_pin: PE5
|
||||
sensor_type: EPCOS 100K B57560G104F
|
||||
sensor_pin: PF2
|
||||
control: watermark
|
||||
min_temp: 0
|
||||
max_temp: 130
|
||||
max_power: 1.0
|
||||
|
||||
[verify_heater heater_bed]
|
||||
heating_gain: 1
|
||||
check_gain_time: 60
|
||||
|
||||
[fan]
|
||||
pin: PH5
|
||||
|
||||
#[heater_fan heatbreak_cooling_fan]
|
||||
#pin: PH3
|
||||
|
||||
[mcu]
|
||||
serial: /dev/serial/by-id/usb-UltiMachine__ultimachine.com__RAMBo_6403335373035101E171-if00
|
||||
baud: 250000
|
||||
|
||||
[printer]
|
||||
kinematics: cartesian
|
||||
max_velocity: 300
|
||||
max_accel: 3000
|
||||
max_z_velocity: 5
|
||||
max_z_accel: 100
|
||||
|
||||
[ad5206 stepper_digipot]
|
||||
enable_pin: PD7
|
||||
# Scale the config so that the channel value can be specified in amps.
|
||||
# (For Rambo v1.0d boards, use 1.56 instead.)
|
||||
scale: 2.08
|
||||
# Channel 1 is E0, 2 is E1, 3 is unused, 4 is Z, 5 is X, 6 is Y
|
||||
channel_1: 1.34
|
||||
channel_2: 1.0
|
||||
channel_4: 1.1
|
||||
channel_5: 1.1
|
||||
channel_6: 1.1
|
||||
|
||||
# Enable 16 micro-steps on steppers X, Y, Z, E0, E1
|
||||
[static_digital_output stepper_config]
|
||||
pins:
|
||||
PG1, PG0,
|
||||
PK7, PG2,
|
||||
PK6, PK5,
|
||||
PK3, PK4,
|
||||
PK1, PK2
|
||||
|
||||
[static_digital_output yellow_led]
|
||||
pins: !PB7
|
||||
|
||||
# Common EXP1 / EXP2 (display) pins
|
||||
[board_pins]
|
||||
aliases:
|
||||
# Common EXP1/EXP2 headers found on RAMBo v1.4
|
||||
EXP1_1=PE6, EXP1_3=PG3, EXP1_5=PJ2, EXP1_7=PJ7, EXP1_9=<GND>,
|
||||
EXP1_2=PE2, EXP1_4=PG4, EXP1_6=PJ3, EXP1_8=PJ4, EXP1_10=<5V>,
|
||||
# EXP2 header
|
||||
EXP2_1=PB3, EXP2_3=PJ5, EXP2_5=PJ6, EXP2_7=PD4, EXP2_9=<GND>,
|
||||
EXP2_2=PB1, EXP2_4=PB0, EXP2_6=PB2, EXP2_8=PE7, EXP2_10=PH2
|
||||
# Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "spi"
|
||||
|
||||
# See the sample-lcd.cfg file for definitions of common LCD displays.
|
||||
[include mainsail.cfg]
|
||||
|
||||
#*# <---------------------- SAVE_CONFIG ---------------------->
|
||||
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
|
||||
#*#
|
||||
#*# [bltouch]
|
||||
#*# z_offset = 2.288
|
249
dirs/printer_data/config/printer-20240329_223756.cfg
Normal file
249
dirs/printer_data/config/printer-20240329_223756.cfg
Normal file
@@ -0,0 +1,249 @@
|
||||
# This file contains common pin mappings for RAMBo boards. To use this
|
||||
# config, the firmware should be compiled for the AVR atmega2560.
|
||||
|
||||
# See docs/Config_Reference.md for a description of parameters.
|
||||
[gcode_macro CALIBRATE_NOZZLE_OFFSET]
|
||||
description: Move to center of bed and calibrate nozzle offset
|
||||
gcode:
|
||||
G90
|
||||
G0 X100 Y155 F1500
|
||||
PROBE_CALIBRATE
|
||||
|
||||
[gcode_macro LEVEL_BED]
|
||||
description: "Level the bed manually."
|
||||
gcode:
|
||||
BED_SCREWS_ADJUST
|
||||
|
||||
[gcode_macro CHECK_DEVIATION]
|
||||
description: "Check the deviation of the bed from the last loaded mesh."
|
||||
gcode:
|
||||
SCREWS_TILT_CALCULATE MAX_DEVIATION=0.05
|
||||
|
||||
[gcode_macro LIZ_IS_A_BAKA]
|
||||
description: "Liz is a baka, so here's her start G-Code >.<"
|
||||
gcode:
|
||||
BED_MESH_CALIBRATE
|
||||
BED_MESH_PROFILE SAVE=default
|
||||
|
||||
[gcode_macro _START_GCODE]
|
||||
description: "The gcode that should be called from your slicer at the beginning of a print."
|
||||
gcode:
|
||||
# Ender 3 Custom Start G-code
|
||||
G90
|
||||
G1 X2 Y30 Z30 F1500
|
||||
G1 Z0.28 F240
|
||||
G92 E0
|
||||
G1 Y220 E10 F1500 ; prime the nozzle
|
||||
G1 X2.3 F5000
|
||||
G92 E0
|
||||
G1 Y30 E10 F1200 ; prime the nozzle
|
||||
G92 E0
|
||||
G1 Z5 F1500 ; don't scratch the build plate
|
||||
|
||||
[gcode_macro _END_GCODE]
|
||||
description: "The gcode that should be called from your slicer at the end of a print."
|
||||
gcode:
|
||||
G91 # Relative positioning
|
||||
G1 E-2 F2700 # Retract a bit
|
||||
G1 E-2 Z0.2 F2400 # Retract and raise Z
|
||||
G1 X5 Y5 F3000 # Wipe out
|
||||
G1 Z10 # Raise Z more
|
||||
G90 # Absolute positioning
|
||||
|
||||
G1 X0 Y220 # Present print
|
||||
M106 S0 # Turn-off fan
|
||||
M104 S0 # Turn-off hotend
|
||||
M140 S0 # Turn-off bed
|
||||
|
||||
M84 X Y E # Disable all steppers but Z
|
||||
|
||||
[stepper_x]
|
||||
step_pin: PC0
|
||||
dir_pin: PL1
|
||||
enable_pin: !PA7
|
||||
microsteps: 16
|
||||
# rotation_distance: 40 # Default, seems 3mm short on a 10mm move
|
||||
# rotation_distance: 28 # Test 1, seems to move 1-2mm too far
|
||||
# rotation_distance: 30 # Test 2, seems to move 1mm too far
|
||||
rotation_distance: 33
|
||||
endstop_pin: ^!PB6
|
||||
#endstop_pin: ^PA2
|
||||
position_endstop: 0
|
||||
position_max: 298
|
||||
homing_speed: 50
|
||||
|
||||
[stepper_y]
|
||||
step_pin: PC1
|
||||
dir_pin: !PL0
|
||||
enable_pin: !PA6
|
||||
microsteps: 16
|
||||
# rotation_distance: 40 # Default, Seems 4mm overshot
|
||||
# rotation_distance: 42 # Test 1, Still seems 3-4mm overshot
|
||||
rotation_distance: 46
|
||||
endstop_pin: ^!PB5
|
||||
#endstop_pin: ^PA1
|
||||
position_endstop: 0
|
||||
position_max: 280
|
||||
homing_speed: 50
|
||||
|
||||
[stepper_z]
|
||||
step_pin: PC2
|
||||
dir_pin: PL2
|
||||
enable_pin: !PA5
|
||||
microsteps: 16
|
||||
# rotation_distance: 8 # Default, seems 1mm too short
|
||||
# rotation_distance: 7.2 # Test 1, seems 3mm overshot
|
||||
# rotation_distance: 8.33 # Test 2, still seems 1mm under
|
||||
rotation_distance: 8
|
||||
endstop_pin: probe:z_virtual_endstop
|
||||
#endstop_pin: !PB4
|
||||
#endstop_pin: ^PC7
|
||||
# position_endstop: 0.5
|
||||
position_max: 250
|
||||
|
||||
[bltouch]
|
||||
sensor_pin: ^PB4
|
||||
control_pin: PL5
|
||||
x_offset: -33.0
|
||||
y_offset: 9.0
|
||||
#z_offset: 3.0
|
||||
|
||||
[bed_mesh]
|
||||
speed: 120
|
||||
horizontal_move_z: 7
|
||||
mesh_min: 30, 40
|
||||
mesh_max: 250, 230
|
||||
probe_count: 5
|
||||
mesh_pps: 3
|
||||
algorithm: bicubic
|
||||
|
||||
[safe_z_home]
|
||||
home_xy_position: 140, 140
|
||||
speed: 50
|
||||
z_hop: 10
|
||||
z_hop_speed: 5
|
||||
|
||||
[extruder]
|
||||
step_pin: PC3
|
||||
dir_pin: !PL6
|
||||
enable_pin: !PA4
|
||||
microsteps: 16
|
||||
# rotation_distance: 33.500 # Original Setting, seems ??x too small
|
||||
# rotation_distance: 16.75 # Initial test, seems to extrude 1/2 supposed
|
||||
# rotation_distance: 8.375 # Test Two, still seems 1/2
|
||||
# rotation_distance: 4.25 # Old Extruder Setup
|
||||
rotation_distance: 7.9797 # Copied from Replimat
|
||||
nozzle_diameter: 0.400
|
||||
heater_pin: PH6
|
||||
# filament_diameter: 2.850
|
||||
filament_diameter: 1.750
|
||||
# sensor_type: EPCOS 100K B57560G104F # Either it's not connecting right, or this is the wronf sensor
|
||||
sensor_type: NTC 100K MGB18-104F39050L32 # Probably just disconnected
|
||||
sensor_pin: PF0
|
||||
control: pid
|
||||
pid_Kp: 22.2
|
||||
pid_Ki: 1.08
|
||||
pid_Kd: 114
|
||||
min_temp: 0
|
||||
max_temp: 990
|
||||
|
||||
#[extruder1]
|
||||
#step_pin: PC4
|
||||
#dir_pin: PL7
|
||||
#enable_pin: !PA3
|
||||
#heater_pin: PH4
|
||||
#sensor_pin: PF1
|
||||
#...
|
||||
|
||||
[heater_bed]
|
||||
heater_pin: PE5
|
||||
sensor_type: EPCOS 100K B57560G104F
|
||||
sensor_pin: PF2
|
||||
control: watermark
|
||||
min_temp: 0
|
||||
max_temp: 130
|
||||
max_power: 1.0
|
||||
|
||||
[verify_heater heater_bed]
|
||||
heating_gain: 1
|
||||
check_gain_time: 60
|
||||
|
||||
[fan]
|
||||
pin: PH3
|
||||
|
||||
[heater_fan heatbreak_cooling_fan]
|
||||
pin: PH5
|
||||
|
||||
[mcu]
|
||||
serial: /dev/serial/by-id/usb-UltiMachine__ultimachine.com__RAMBo_6403335373035101E171-if00
|
||||
baud: 250000
|
||||
|
||||
[printer]
|
||||
kinematics: cartesian
|
||||
max_velocity: 300
|
||||
max_accel: 3000
|
||||
max_z_velocity: 5
|
||||
max_z_accel: 100
|
||||
|
||||
[ad5206 stepper_digipot]
|
||||
enable_pin: PD7
|
||||
# Scale the config so that the channel value can be specified in amps.
|
||||
# (For Rambo v1.0d boards, use 1.56 instead.)
|
||||
scale: 2.08
|
||||
# Channel 1 is E0, 2 is E1, 3 is unused, 4 is Z, 5 is X, 6 is Y
|
||||
channel_1: 1.34
|
||||
channel_2: 1.0
|
||||
channel_4: 1.1
|
||||
channel_5: 1.1
|
||||
channel_6: 1.1
|
||||
|
||||
# Enable 16 micro-steps on steppers X, Y, Z, E0, E1
|
||||
[static_digital_output stepper_config]
|
||||
pins:
|
||||
PG1, PG0,
|
||||
PK7, PG2,
|
||||
PK6, PK5,
|
||||
PK3, PK4,
|
||||
PK1, PK2
|
||||
|
||||
[static_digital_output yellow_led]
|
||||
pins: !PB7
|
||||
|
||||
# Common EXP1 / EXP2 (display) pins
|
||||
[board_pins]
|
||||
aliases:
|
||||
# Common EXP1/EXP2 headers found on RAMBo v1.4
|
||||
EXP1_1=PE6, EXP1_3=PG3, EXP1_5=PJ2, EXP1_7=PJ7, EXP1_9=<GND>,
|
||||
EXP1_2=PE2, EXP1_4=PG4, EXP1_6=PJ3, EXP1_8=PJ4, EXP1_10=<5V>,
|
||||
# EXP2 header
|
||||
EXP2_1=PB3, EXP2_3=PJ5, EXP2_5=PJ6, EXP2_7=PD4, EXP2_9=<GND>,
|
||||
EXP2_2=PB1, EXP2_4=PB0, EXP2_6=PB2, EXP2_8=PE7, EXP2_10=PH2
|
||||
# Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "spi"
|
||||
|
||||
# See the sample-lcd.cfg file for definitions of common LCD displays.
|
||||
[include mainsail.cfg]
|
||||
|
||||
#*# <---------------------- SAVE_CONFIG ---------------------->
|
||||
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
|
||||
#*#
|
||||
#*# [bltouch]
|
||||
#*# z_offset = 2.288
|
||||
#*#
|
||||
#*# [bed_mesh default]
|
||||
#*# version = 1
|
||||
#*# points =
|
||||
#*# -1.065000, -0.857500, -0.817500, -0.865000, -0.927500
|
||||
#*# -0.592500, -0.502500, -0.442500, -0.482500, -0.522500
|
||||
#*# -0.172500, -0.070000, -0.027500, -0.040000, -0.057500
|
||||
#*# 0.182500, 0.265000, 0.312500, 0.302500, 0.332500
|
||||
#*# 0.480000, 0.610000, 0.670000, 0.715000, 0.735000
|
||||
#*# x_count = 5
|
||||
#*# y_count = 5
|
||||
#*# mesh_x_pps = 3
|
||||
#*# mesh_y_pps = 3
|
||||
#*# algo = bicubic
|
||||
#*# tension = 0.2
|
||||
#*# min_x = 30.0
|
||||
#*# max_x = 250.0
|
||||
#*# min_y = 39.989999999999995
|
||||
#*# max_y = 230.0
|
255
dirs/printer_data/config/printer-20240330_002211.cfg
Normal file
255
dirs/printer_data/config/printer-20240330_002211.cfg
Normal file
@@ -0,0 +1,255 @@
|
||||
# This file contains common pin mappings for RAMBo boards. To use this
|
||||
# config, the firmware should be compiled for the AVR atmega2560.
|
||||
|
||||
# See docs/Config_Reference.md for a description of parameters.
|
||||
[gcode_macro CALIBRATE_NOZZLE_OFFSET]
|
||||
description: Move to center of bed and calibrate nozzle offset
|
||||
gcode:
|
||||
G90
|
||||
G0 X100 Y155 F1500
|
||||
PROBE_CALIBRATE
|
||||
|
||||
[gcode_macro LEVEL_BED]
|
||||
description: "Level the bed manually."
|
||||
gcode:
|
||||
BED_SCREWS_ADJUST
|
||||
|
||||
[gcode_macro CHECK_DEVIATION]
|
||||
description: "Check the deviation of the bed from the last loaded mesh."
|
||||
gcode:
|
||||
SCREWS_TILT_CALCULATE MAX_DEVIATION=0.05
|
||||
|
||||
[gcode_macro LIZ_IS_A_BAKA]
|
||||
description: "Liz is a baka, so here's her start G-Code >.<"
|
||||
gcode:
|
||||
BED_MESH_CALIBRATE
|
||||
BED_MESH_PROFILE SAVE=default
|
||||
|
||||
[gcode_macro _START_GCODE]
|
||||
description: "The gcode that should be called from your slicer at the beginning of a print."
|
||||
gcode:
|
||||
# Ender 3 Custom Start G-code
|
||||
G90
|
||||
G1 X2 Y30 Z30 F1500
|
||||
G1 Z0.28 F240
|
||||
G92 E0
|
||||
G1 Y220 E10 F1500 ; prime the nozzle
|
||||
G1 X2.3 F5000
|
||||
G92 E0
|
||||
G1 Y30 E10 F1200 ; prime the nozzle
|
||||
G92 E0
|
||||
G1 Z5 F1500 ; don't scratch the build plate
|
||||
|
||||
[gcode_macro _END_GCODE]
|
||||
description: "The gcode that should be called from your slicer at the end of a print."
|
||||
gcode:
|
||||
G91 # Relative positioning
|
||||
G1 E-2 F2700 # Retract a bit
|
||||
G1 E-2 Z0.2 F2400 # Retract and raise Z
|
||||
G1 X5 Y5 F3000 # Wipe out
|
||||
G1 Z10 # Raise Z more
|
||||
G90 # Absolute positioning
|
||||
|
||||
G1 X0 Y220 # Present print
|
||||
M106 S0 # Turn-off fan
|
||||
M104 S0 # Turn-off hotend
|
||||
M140 S0 # Turn-off bed
|
||||
|
||||
M84 X Y E # Disable all steppers but Z
|
||||
|
||||
[stepper_x]
|
||||
step_pin: PC0
|
||||
dir_pin: PL1
|
||||
enable_pin: !PA7
|
||||
microsteps: 16
|
||||
# rotation_distance: 40 # Default, seems 3mm short on a 10mm move
|
||||
# rotation_distance: 28 # Test 1, seems to move 1-2mm too far
|
||||
# rotation_distance: 30 # Test 2, seems to move 1mm too far
|
||||
rotation_distance: 33
|
||||
endstop_pin: ^!PB6
|
||||
#endstop_pin: ^PA2
|
||||
position_endstop: 0
|
||||
position_max: 298
|
||||
homing_speed: 50
|
||||
|
||||
[stepper_y]
|
||||
step_pin: PC1
|
||||
dir_pin: !PL0
|
||||
enable_pin: !PA6
|
||||
microsteps: 16
|
||||
# rotation_distance: 40 # Default, Seems 4mm overshot
|
||||
# rotation_distance: 42 # Test 1, Still seems 3-4mm overshot
|
||||
rotation_distance: 46
|
||||
endstop_pin: ^!PB5
|
||||
#endstop_pin: ^PA1
|
||||
position_endstop: 0
|
||||
position_max: 280
|
||||
homing_speed: 50
|
||||
|
||||
[stepper_z]
|
||||
step_pin: PC2
|
||||
dir_pin: PL2
|
||||
enable_pin: !PA5
|
||||
microsteps: 16
|
||||
# rotation_distance: 8 # Default, seems 1mm too short
|
||||
# rotation_distance: 7.2 # Test 1, seems 3mm overshot
|
||||
# rotation_distance: 8.33 # Test 2, still seems 1mm under
|
||||
rotation_distance: 8
|
||||
endstop_pin: probe:z_virtual_endstop
|
||||
#endstop_pin: !PB4
|
||||
#endstop_pin: ^PC7
|
||||
# position_endstop: 0.5
|
||||
position_max: 250
|
||||
|
||||
[bltouch]
|
||||
sensor_pin: ^PB4
|
||||
control_pin: PL5
|
||||
x_offset: -44
|
||||
y_offset: 8
|
||||
z_offset: 3.0
|
||||
|
||||
[bed_mesh]
|
||||
speed: 120
|
||||
horizontal_move_z: 7
|
||||
mesh_min: 30, 40
|
||||
mesh_max: 250, 230
|
||||
probe_count: 5
|
||||
mesh_pps: 3
|
||||
algorithm: bicubic
|
||||
|
||||
[safe_z_home]
|
||||
home_xy_position: 140, 140
|
||||
speed: 50
|
||||
z_hop: 10
|
||||
z_hop_speed: 5
|
||||
|
||||
[extruder]
|
||||
step_pin: PC3
|
||||
dir_pin: !PL6
|
||||
enable_pin: !PA4
|
||||
microsteps: 16
|
||||
# rotation_distance: 33.500 # Original Setting, seems ??x too small
|
||||
# rotation_distance: 16.75 # Initial test, seems to extrude 1/2 supposed
|
||||
# rotation_distance: 8.375 # Test Two, still seems 1/2
|
||||
# rotation_distance: 4.25 # Old Extruder Setup
|
||||
rotation_distance: 7.9797 # Copied from Replimat
|
||||
nozzle_diameter: 0.400
|
||||
heater_pin: PH6
|
||||
# filament_diameter: 2.850
|
||||
filament_diameter: 1.750
|
||||
# sensor_type: EPCOS 100K B57560G104F # Either it's not connecting right, or this is the wronf sensor
|
||||
sensor_type: NTC 100K MGB18-104F39050L32 # Probably just disconnected
|
||||
sensor_pin: PF0
|
||||
#control: pid
|
||||
#pid_Kp: 22.2
|
||||
#pid_Ki: 1.08
|
||||
#pid_Kd: 114
|
||||
min_temp: 0
|
||||
max_temp: 990
|
||||
|
||||
#[extruder1]
|
||||
#step_pin: PC4
|
||||
#dir_pin: PL7
|
||||
#enable_pin: !PA3
|
||||
#heater_pin: PH4
|
||||
#sensor_pin: PF1
|
||||
#...
|
||||
|
||||
[heater_bed]
|
||||
heater_pin: PE5
|
||||
sensor_type: EPCOS 100K B57560G104F
|
||||
sensor_pin: PF2
|
||||
control: watermark
|
||||
min_temp: 0
|
||||
max_temp: 130
|
||||
max_power: 1.0
|
||||
|
||||
[verify_heater heater_bed]
|
||||
heating_gain: 1
|
||||
check_gain_time: 60
|
||||
|
||||
[fan]
|
||||
pin: PH3
|
||||
|
||||
[heater_fan heatbreak_cooling_fan]
|
||||
pin: PH5
|
||||
|
||||
[mcu]
|
||||
serial: /dev/serial/by-id/usb-UltiMachine__ultimachine.com__RAMBo_6403335373035101E171-if00
|
||||
baud: 250000
|
||||
|
||||
[printer]
|
||||
kinematics: cartesian
|
||||
max_velocity: 300
|
||||
max_accel: 3000
|
||||
max_z_velocity: 5
|
||||
max_z_accel: 100
|
||||
|
||||
[ad5206 stepper_digipot]
|
||||
enable_pin: PD7
|
||||
# Scale the config so that the channel value can be specified in amps.
|
||||
# (For Rambo v1.0d boards, use 1.56 instead.)
|
||||
scale: 2.08
|
||||
# Channel 1 is E0, 2 is E1, 3 is unused, 4 is Z, 5 is X, 6 is Y
|
||||
channel_1: 1.34
|
||||
channel_2: 1.0
|
||||
channel_4: 1.1
|
||||
channel_5: 1.1
|
||||
channel_6: 1.1
|
||||
|
||||
# Enable 16 micro-steps on steppers X, Y, Z, E0, E1
|
||||
[static_digital_output stepper_config]
|
||||
pins:
|
||||
PG1, PG0,
|
||||
PK7, PG2,
|
||||
PK6, PK5,
|
||||
PK3, PK4,
|
||||
PK1, PK2
|
||||
|
||||
[static_digital_output yellow_led]
|
||||
pins: !PB7
|
||||
|
||||
# Common EXP1 / EXP2 (display) pins
|
||||
[board_pins]
|
||||
aliases:
|
||||
# Common EXP1/EXP2 headers found on RAMBo v1.4
|
||||
EXP1_1=PE6, EXP1_3=PG3, EXP1_5=PJ2, EXP1_7=PJ7, EXP1_9=<GND>,
|
||||
EXP1_2=PE2, EXP1_4=PG4, EXP1_6=PJ3, EXP1_8=PJ4, EXP1_10=<5V>,
|
||||
# EXP2 header
|
||||
EXP2_1=PB3, EXP2_3=PJ5, EXP2_5=PJ6, EXP2_7=PD4, EXP2_9=<GND>,
|
||||
EXP2_2=PB1, EXP2_4=PB0, EXP2_6=PB2, EXP2_8=PE7, EXP2_10=PH2
|
||||
# Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "spi"
|
||||
|
||||
# See the sample-lcd.cfg file for definitions of common LCD displays.
|
||||
[include mainsail.cfg]
|
||||
|
||||
#*# <---------------------- SAVE_CONFIG ---------------------->
|
||||
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
|
||||
#*#
|
||||
#*# [bltouch]
|
||||
#*# z_offset = 2.288
|
||||
#*#
|
||||
#*# [bed_mesh default]
|
||||
#*# version = 1
|
||||
#*# points =
|
||||
#*# -1.065000, -0.857500, -0.817500, -0.865000, -0.927500
|
||||
#*# -0.592500, -0.502500, -0.442500, -0.482500, -0.522500
|
||||
#*# -0.172500, -0.070000, -0.027500, -0.040000, -0.057500
|
||||
#*# 0.182500, 0.265000, 0.312500, 0.302500, 0.332500
|
||||
#*# 0.480000, 0.610000, 0.670000, 0.715000, 0.735000
|
||||
#*# x_count = 5
|
||||
#*# y_count = 5
|
||||
#*# mesh_x_pps = 3
|
||||
#*# mesh_y_pps = 3
|
||||
#*# algo = bicubic
|
||||
#*# tension = 0.2
|
||||
#*# min_x = 30.0
|
||||
#*# max_x = 250.0
|
||||
#*# min_y = 39.989999999999995
|
||||
#*# max_y = 230.0
|
||||
#*#
|
||||
#*# [extruder]
|
||||
#*# control = pid
|
||||
#*# pid_kp = 23.769
|
||||
#*# pid_ki = 1.248
|
||||
#*# pid_kd = 113.201
|
278
dirs/printer_data/config/printer.cfg
Normal file
278
dirs/printer_data/config/printer.cfg
Normal file
@@ -0,0 +1,278 @@
|
||||
# This file contains common pin mappings for RAMBo boards. To use this
|
||||
# config, the firmware should be compiled for the AVR atmega2560.
|
||||
|
||||
# See docs/Config_Reference.md for a description of parameters.
|
||||
[gcode_macro CALIBRATE_NOZZLE_OFFSET]
|
||||
description: Move to center of bed and calibrate nozzle offset
|
||||
gcode:
|
||||
G90
|
||||
G0 X100 Y155 F1500
|
||||
PROBE_CALIBRATE
|
||||
|
||||
[gcode_macro LEVEL_BED]
|
||||
description: "Level the bed manually."
|
||||
gcode:
|
||||
BED_SCREWS_ADJUST
|
||||
|
||||
[gcode_macro CHECK_DEVIATION]
|
||||
description: "Check the deviation of the bed from the last loaded mesh."
|
||||
gcode:
|
||||
SCREWS_TILT_CALCULATE MAX_DEVIATION=0.05
|
||||
|
||||
[gcode_macro LIZ_IS_A_BAKA]
|
||||
description: "Liz is a baka, so here's her start G-Code >.<"
|
||||
gcode:
|
||||
BED_MESH_CALIBRATE
|
||||
BED_MESH_PROFILE SAVE=default
|
||||
|
||||
[gcode_macro _START_GCODE]
|
||||
description: "The gcode that should be called from your slicer at the beginning of a print."
|
||||
gcode:
|
||||
# Ender 3 Custom Start G-code
|
||||
G90
|
||||
G1 X2 Y30 Z30 F1500
|
||||
G1 Z0.28 F240
|
||||
G92 E0
|
||||
G1 Y220 E10 F1500 ; prime the nozzle
|
||||
G1 X2.3 F5000
|
||||
G92 E0
|
||||
G1 Y30 E10 F1200 ; prime the nozzle
|
||||
G92 E0
|
||||
G1 Z5 F1500 ; don't scratch the build plate
|
||||
|
||||
[gcode_macro _END_GCODE]
|
||||
description: "The gcode that should be called from your slicer at the end of a print."
|
||||
gcode:
|
||||
G91 # Relative positioning
|
||||
G1 E-2 F2700 # Retract a bit
|
||||
G1 E-2 Z0.2 F2400 # Retract and raise Z
|
||||
G1 X5 Y5 F3000 # Wipe out
|
||||
G1 Z10 # Raise Z more
|
||||
G90 # Absolute positioning
|
||||
|
||||
G1 X0 Y220 # Present print
|
||||
M106 S0 # Turn-off fan
|
||||
M104 S0 # Turn-off hotend
|
||||
M140 S0 # Turn-off bed
|
||||
|
||||
M84 X Y E # Disable all steppers but Z
|
||||
|
||||
[stepper_x]
|
||||
step_pin: PC0
|
||||
dir_pin: PL1
|
||||
enable_pin: !PA7
|
||||
microsteps: 16
|
||||
# rotation_distance: 40 # Default, seems 3mm short on a 10mm move
|
||||
# rotation_distance: 28 # Test 1, seems to move 1-2mm too far
|
||||
# rotation_distance: 30 # Test 2, seems to move 1mm too far
|
||||
rotation_distance: 33
|
||||
endstop_pin: ^!PB6
|
||||
#endstop_pin: ^PA2
|
||||
position_endstop: 0
|
||||
position_max: 298
|
||||
homing_speed: 50
|
||||
|
||||
[stepper_y]
|
||||
step_pin: PC1
|
||||
dir_pin: !PL0
|
||||
enable_pin: !PA6
|
||||
microsteps: 16
|
||||
# rotation_distance: 40 # Default, Seems 4mm overshot
|
||||
# rotation_distance: 42 # Test 1, Still seems 3-4mm overshot
|
||||
rotation_distance: 46
|
||||
endstop_pin: ^!PB5
|
||||
#endstop_pin: ^PA1
|
||||
position_endstop: 0
|
||||
position_max: 280
|
||||
homing_speed: 50
|
||||
|
||||
[stepper_z]
|
||||
step_pin: PC2
|
||||
dir_pin: PL2
|
||||
enable_pin: !PA5
|
||||
microsteps: 16
|
||||
# rotation_distance: 8 # Default, seems 1mm too short
|
||||
# rotation_distance: 7.2 # Test 1, seems 3mm overshot
|
||||
# rotation_distance: 8.33 # Test 2, still seems 1mm under
|
||||
rotation_distance: 8
|
||||
endstop_pin: probe:z_virtual_endstop
|
||||
#endstop_pin: !PB4
|
||||
#endstop_pin: ^PC7
|
||||
# position_endstop: 0.5
|
||||
position_max: 250
|
||||
|
||||
[bltouch]
|
||||
sensor_pin: ^PB4
|
||||
control_pin: PL5
|
||||
x_offset: -44
|
||||
y_offset: 8
|
||||
#z_offset: 3.0
|
||||
|
||||
[bed_mesh]
|
||||
speed: 120
|
||||
horizontal_move_z: 7
|
||||
mesh_min: 30, 40
|
||||
mesh_max: 250, 230
|
||||
probe_count: 5
|
||||
mesh_pps: 3
|
||||
algorithm: bicubic
|
||||
|
||||
[safe_z_home]
|
||||
home_xy_position: 140, 140
|
||||
speed: 50
|
||||
z_hop: 10
|
||||
z_hop_speed: 5
|
||||
|
||||
[extruder]
|
||||
step_pin: PC3
|
||||
dir_pin: PL6
|
||||
enable_pin: !PA4
|
||||
microsteps: 16
|
||||
# rotation_distance: 33.500 # Original Setting, seems ??x too small
|
||||
# rotation_distance: 16.75 # Initial test, seems to extrude 1/2 supposed
|
||||
# rotation_distance: 8.375 # Test Two, still seems 1/2
|
||||
# rotation_distance: 4.25 # Old Extruder Setup
|
||||
rotation_distance: 7.9797 # Copied from Replimat
|
||||
nozzle_diameter: 0.400
|
||||
heater_pin: PH6
|
||||
# filament_diameter: 2.850
|
||||
filament_diameter: 1.750
|
||||
# sensor_type: EPCOS 100K B57560G104F # Either it's not connecting right, or this is the wronf sensor
|
||||
sensor_type: NTC 100K MGB18-104F39050L32 # Probably just disconnected
|
||||
sensor_pin: PF0
|
||||
#control: pid
|
||||
#pid_Kp: 22.2
|
||||
#pid_Ki: 1.08
|
||||
#pid_Kd: 114
|
||||
min_temp: 0
|
||||
max_temp: 990
|
||||
|
||||
#[extruder1]
|
||||
#step_pin: PC4
|
||||
#dir_pin: PL7
|
||||
#enable_pin: !PA3
|
||||
#heater_pin: PH4
|
||||
#sensor_pin: PF1
|
||||
#...
|
||||
|
||||
[heater_bed]
|
||||
heater_pin: PE5
|
||||
sensor_type: EPCOS 100K B57560G104F
|
||||
sensor_pin: PF2
|
||||
control: watermark
|
||||
min_temp: 0
|
||||
max_temp: 130
|
||||
max_power: 1.0
|
||||
|
||||
[verify_heater heater_bed]
|
||||
heating_gain: 1
|
||||
check_gain_time: 60
|
||||
|
||||
[fan]
|
||||
pin: PH3
|
||||
|
||||
[heater_fan heatbreak_cooling_fan]
|
||||
pin: PH5
|
||||
fan_speed: 1.0
|
||||
# The fan speed (expressed as a value from 0.0 to 1.0) that the fan
|
||||
# will be set to when its associated heater is enabled. The default
|
||||
# is 1.0
|
||||
#max_power:
|
||||
#shutdown_speed:
|
||||
#cycle_time:
|
||||
#hardware_pwm:
|
||||
#kick_start_time:
|
||||
#off_below:
|
||||
#tachometer_pin:
|
||||
#tachometer_ppr:
|
||||
#tachometer_poll_interval:
|
||||
#enable_pin:
|
||||
# See the "fan" section for a description of the above parameters.
|
||||
heater: extruder
|
||||
# Name of the config section defining the heater that this fan is
|
||||
# associated with. If a comma separated list of heater names is
|
||||
# provided here, then the fan will be enabled when any of the given
|
||||
# heaters are enabled. The default is "extruder".
|
||||
heater_temp: 50.0
|
||||
# A temperature (in Celsius) that the heater must drop below before
|
||||
# the fan is disabled. The default is 50 Celsius.
|
||||
|
||||
[mcu]
|
||||
serial: /dev/serial/by-id/usb-UltiMachine__ultimachine.com__RAMBo_6403335373035101E171-if00
|
||||
baud: 250000
|
||||
|
||||
[printer]
|
||||
kinematics: cartesian
|
||||
max_velocity: 300
|
||||
max_accel: 3000
|
||||
max_z_velocity: 5
|
||||
max_z_accel: 100
|
||||
|
||||
[ad5206 stepper_digipot]
|
||||
enable_pin: PD7
|
||||
# Scale the config so that the channel value can be specified in amps.
|
||||
# (For Rambo v1.0d boards, use 1.56 instead.)
|
||||
scale: 2.08
|
||||
# Channel 1 is E0, 2 is E1, 3 is unused, 4 is Z, 5 is X, 6 is Y
|
||||
channel_1: 1.34
|
||||
channel_2: 1.0
|
||||
channel_4: 1.1
|
||||
channel_5: 1.1
|
||||
channel_6: 1.1
|
||||
|
||||
# Enable 16 micro-steps on steppers X, Y, Z, E0, E1
|
||||
[static_digital_output stepper_config]
|
||||
pins:
|
||||
PG1, PG0,
|
||||
PK7, PG2,
|
||||
PK6, PK5,
|
||||
PK3, PK4,
|
||||
PK1, PK2
|
||||
|
||||
[static_digital_output yellow_led]
|
||||
pins: !PB7
|
||||
|
||||
# Common EXP1 / EXP2 (display) pins
|
||||
[board_pins]
|
||||
aliases:
|
||||
# Common EXP1/EXP2 headers found on RAMBo v1.4
|
||||
EXP1_1=PE6, EXP1_3=PG3, EXP1_5=PJ2, EXP1_7=PJ7, EXP1_9=<GND>,
|
||||
EXP1_2=PE2, EXP1_4=PG4, EXP1_6=PJ3, EXP1_8=PJ4, EXP1_10=<5V>,
|
||||
# EXP2 header
|
||||
EXP2_1=PB3, EXP2_3=PJ5, EXP2_5=PJ6, EXP2_7=PD4, EXP2_9=<GND>,
|
||||
EXP2_2=PB1, EXP2_4=PB0, EXP2_6=PB2, EXP2_8=PE7, EXP2_10=PH2
|
||||
# Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "spi"
|
||||
|
||||
# See the sample-lcd.cfg file for definitions of common LCD displays.
|
||||
[include mainsail.cfg]
|
||||
|
||||
#*# <---------------------- SAVE_CONFIG ---------------------->
|
||||
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
|
||||
#*#
|
||||
#*# [bltouch]
|
||||
#*# z_offset = 2.850
|
||||
#*#
|
||||
#*# [bed_mesh default]
|
||||
#*# version = 1
|
||||
#*# points =
|
||||
#*# -1.065000, -0.857500, -0.817500, -0.865000, -0.927500
|
||||
#*# -0.592500, -0.502500, -0.442500, -0.482500, -0.522500
|
||||
#*# -0.172500, -0.070000, -0.027500, -0.040000, -0.057500
|
||||
#*# 0.182500, 0.265000, 0.312500, 0.302500, 0.332500
|
||||
#*# 0.480000, 0.610000, 0.670000, 0.715000, 0.735000
|
||||
#*# x_count = 5
|
||||
#*# y_count = 5
|
||||
#*# mesh_x_pps = 3
|
||||
#*# mesh_y_pps = 3
|
||||
#*# algo = bicubic
|
||||
#*# tension = 0.2
|
||||
#*# min_x = 30.0
|
||||
#*# max_x = 250.0
|
||||
#*# min_y = 39.989999999999995
|
||||
#*# max_y = 230.0
|
||||
#*#
|
||||
#*# [extruder]
|
||||
#*# control = pid
|
||||
#*# pid_kp = 23.769
|
||||
#*# pid_ki = 1.248
|
||||
#*# pid_kd = 113.201
|
17
dirs/printer_data/config/sonar.conf
Normal file
17
dirs/printer_data/config/sonar.conf
Normal file
@@ -0,0 +1,17 @@
|
||||
#### Sonar - A WiFi Keepalive daemon
|
||||
####
|
||||
#### Written by Stephan Wendel aka KwadFan <me@stephanwe.de>
|
||||
#### Copyright 2022
|
||||
#### https://github.com/mainsail-crew/sonar
|
||||
####
|
||||
#### This File is distributed under GPLv3
|
||||
####
|
||||
|
||||
[sonar]
|
||||
enable: false # false to disable till next reboot (will stop again if not set to true)
|
||||
debug_log: false # if set to true, sonar will log ever ping with triptime and date/time
|
||||
persistant_log: false # If true logs in /var/log/sonar.log, false logs to systemd
|
||||
target: auto # IP Address, URL or auto as ping target
|
||||
count: 3 # How often should be pinged?
|
||||
interval: 60 # Ping again after X seconds
|
||||
restart_treshold: 10 # If failed, restart WiFi after X seconds
|
1
dirs/printer_data/config/timelapse.cfg
Symbolic link
1
dirs/printer_data/config/timelapse.cfg
Symbolic link
@@ -0,0 +1 @@
|
||||
/home/pi/moonraker-timelapse/klipper_macro/timelapse.cfg
|
Reference in New Issue
Block a user