forked from Klipper3d/klipper
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
100 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[mcu] | ||
serial: /dev/ttyACM0 | ||
|
||
[virtual_sdcard] | ||
path: /home/ste/uploads | ||
|
||
[display_status] | ||
|
||
[include config/board_stm32f4.cfg] | ||
|
||
[include config/kinematics_300_3.cfg] | ||
[include config/kinematics_tmc.cfg] | ||
[include config/homing.cfg] | ||
|
||
[include config/chamber_2.cfg] | ||
|
||
[include config/printhead.cfg] | ||
[include config/probe_2.cfg] | ||
[include config/probe_fiber_printer.cfg] | ||
|
||
[include config/main_extruder.cfg] | ||
[include config/fiber_extruder_3.cfg] | ||
[include config/fiber_nozzle_offset.cfg] | ||
[include config/extruder_macros.cfg] | ||
[include config/filament_control_2.cfg] | ||
[include config/power_control.cfg] | ||
|
||
[include config/module_3d_300.cfg] | ||
[include config/module_3d_macros.cfg] | ||
[include config/module_5d.cfg] | ||
|
||
[include config/print_macros.cfg] | ||
[include config/variables.cfg] | ||
[include config/diagnostics.cfg] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
[extruder1] | ||
step_pin: second_extruder_step_pin | ||
dir_pin: !second_extruder_dir_pin | ||
enable_pin: !second_extruder_enable_pin | ||
microsteps: 16 | ||
rotation_distance: 40 | ||
nozzle_diameter: 0.6 | ||
filament_diameter: 0.6 | ||
heater_pin: second_extruder_heater_pin | ||
sensor_type: NTC 100K MGB18-104F39050L32 | ||
sensor_pin: second_extruder_sensor_pin | ||
control: pid | ||
pid_Kp: 6.185 | ||
pid_Ki: 0.191 | ||
pid_Kd: 50.04 | ||
min_temp: -150 | ||
max_temp: 320 | ||
max_extrude_only_distance: 300.0 | ||
min_extrude_temp: 0 | ||
max_power: 0.7 | ||
fiber: true | ||
|
||
[gcode_macro T1] | ||
variable_t1_offset_enabled: 0.0 | ||
gcode: | ||
M117 set_extruder1 | ||
SET_GCODE_VARIABLE MACRO=T1 VARIABLE=t1_offset_enabled VALUE=1 | ||
SET_GCODE_OFFSET X_ADJUST={printer["gcode_macro SET_NOZZLE_OFFSET"].offset_x|default(0.0)} Y_ADJUST={printer["gcode_macro SET_NOZZLE_OFFSET"].offset_y|default(0.0)} | ||
{% set current_wcs = printer.gcode_move.current_wcs %} | ||
{% if "x" in printer.toolhead.homed_axes and "y" in printer.toolhead.homed_axes and "z" in printer.toolhead.homed_axes and printer.toolhead.extruder != 'extruder1' %} | ||
G54 | ||
MOVE_DOWN_Z_AXIS Z=5 | ||
G0 X10 Y2 F3600 | ||
{% endif %} | ||
ACTIVATE_EXTRUDER extruder=extruder1 | ||
SET_WCS WCS={current_wcs} | ||
M117 | ||
|
||
[servo cutter_servo] | ||
pin: PB7 | ||
initial_angle: 0 | ||
|
||
[gcode_macro CUT_FIBER] | ||
gcode: | ||
{% if printer.toolhead.extruder == 'extruder1' %} | ||
M400 | ||
SET_SERVO SERVO=cutter_servo ANGLE=90 | ||
G4 P1000 | ||
M400 | ||
SET_SERVO SERVO=cutter_servo ANGLE=0 | ||
M400 | ||
{% endif %} | ||
|
||
[gcode_macro PRIME_FIBER] | ||
gcode: | ||
{% if printer.toolhead.extruder == 'extruder1' %} | ||
M400 | ||
SAVE_GCODE_STATE NAME=prime_fiber_state | ||
{% set e = params.E|default(16) %} | ||
G91 | ||
G0 E{e} F1800 | ||
G90 | ||
RESTORE_GCODE_STATE NAME=prime_fiber_state | ||
M400 | ||
{% endif %} |