-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathSideSwipe config.cfg
97 lines (87 loc) · 2.2 KB
/
SideSwipe config.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[stepper_z]
endstop_pin: probe:z_virtual_endstop #default PC2 for home with Z endstop, Use "probe:z_virtual_endstop" if you want to home with probe
[servo SideSwipe]
pin: PA1 #Probe Connection on SKR mini E3 V2
initial_angle: 0
maximum_servo_angle = 180
minimum_pulse_width = 0.0005
maximum_pulse_width = 0.0024
[probe]
pin: ^PC15 #E0-Stop Connection on SKR mini E3 V2
z_offset: 2.329 #Measure per your specific setup
x_offset: -1
y_offset: -28
speed: 3.0
samples: 2
samples_tolerance_retries: 6
[bed_mesh]
horizontal_move_z: 5
speed: 120
mesh_min: 4,2
mesh_max: 109, 89
probe_count: 3,3
#algorithm: bicubic
relative_reference_index: 4 #Varies based on probe count for 3x3 = 4, for 5x5 = 12
[homing_override] #Use this homing override section only if using probe to home Z (See above [stepper_z])
set_position_z: 5
gcode:
G1 Z10 #Move bed down 10
G28 X0 Y0 #Home x y
G1 X60 Y80 F4000 #Move to center of bed
PROBE_OUT #Deploy Probe
G28 Z0 #Home z with probe
G1 Z10 #Move bed down 10
PROBE_IN #Retract Probe
[gcode_macro PRINT_START]
# Use PRINT_START for the slicer starting script - please customize for your slicer of choice
gcode:
G28
AUTO_BED_MESH
BED_MESH_PROFILE LOAD=default
G1 F8000
G1 X40 Y11 Z5 F3000
G92 E0
G0 Z0.5
G1 X60 Y11 E7 F200
G92 E0
G1 X80 Y11 F5000
[gcode_macro SERVO_OUT] #Debug Deploy Arm
gcode:
SET_SERVO SERVO=SideSwipe ANGLE=90
[gcode_macro SERVO_IN] #Debug Retract Arm
gcode:
SET_SERVO SERVO=SideSwipe ANGLE=0
SET_SERVO SERVO=SideSwipe WIDTH=0
[gcode_macro PROBE_OUT]
gcode:
G1 X60 Y60 Z10 F4000
SET_SERVO SERVO=SideSwipe ANGLE=90
G1 X77 Y36 F4000
G1 X98 Y36 F1000
G4 P300
G1 X61 Y36 F4000
G4 P300
SET_SERVO SERVO=SideSwipe ANGLE=0
SET_SERVO SERVO=SideSwipe WIDTH=0
G1 X60 Y60 F4000
G4 P300
[gcode_macro PROBE_IN]
gcode:
G1 Z10
G1 X61 Y50 F4000
SET_SERVO SERVO=SideSwipe ANGLE=90
G1 X71 Y36 F4000
G1 X98 Y36 F1000
G4 P300
G1 X111 Y36 F2000
G4 P300
G1 X111 Y48 F4000
G1 X60 Y60 F4000
SET_SERVO SERVO=SideSwipe ANGLE=0
SET_SERVO SERVO=SideSwipe WIDTH=0
G4 P300
[gcode_macro AUTO_BED_MESH]
gcode:
PROBE_OUT
BED_MESH_CALIBRATE
PROBE_IN