-
Notifications
You must be signed in to change notification settings - Fork 1
/
default_settings.py
80 lines (61 loc) · 1.99 KB
/
default_settings.py
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
from shapely import Point
default_settings_dict = {
# Offset PCB from (0, 0)
"x_offset": 2,
"y_offset": 2,
### Tool Home positions and latch offset (as absolute values)
"X_latch_offset_distance_in": 188, # ABSOLUTE value
"X_latch_offset_distance_out": 92, # ABSOLUTE value
"attach_detach_time": 5, # the P attribute in Gcode is in seconds
"tool_home_coordinates": {1: Point(165, 0, 10.5),
2: Point(165, 91, 12),
3: Point(165, 185.5, 12)}, # ABSOLUTE values
"tool_offsets": {0: Point(0, 0, 0),
1: Point(0, 0, 0),
2: Point(0, 0, 0),
3: Point(0, 0, 0)}, #TODO: find this value ASAP,
### spindle tweaking values
# Z positions
"router_Z_up_position": 10,
"router_Z_down_position": 13,
# Feedrates
"router_feedrate_XY": 600,
"router_feedrate_Z_drilling": 1,
"router_feedrate_Z_up_from_pcb": 20,
# Power intensities
"spindle_speed": 255,
### Pen Tweaking Values
# Z positions
"pen_down_position": 10,
# Feedrates
"ink_laying_feedrate": 100,
# Tip Thickness in mm
"tip_thickness": 4,
### Laser Module Tweaking Values
# Z positions
"optimum_laser_Z_position": 16, # 44mm from laser head to PCB
# Feedrates
"pcb_trace_feedrate": 400,
# Power intensities
"laser_power": 200,
# Include edge cut in pcb laser marking
"include_edge_cuts": True,
# Laser Gcode Passes
"laser_passes": 1,
# destination
'dest': './default.gcode',
# mirrored
'mirrored': False,
# rotated
'rotated': False,
# Gcode Modes
'all_gcode': False,
'ink': False,
'laser': False,
'holes': False,
# Show Gcode Creation Debugging info and visualization :)
'debug': False,
# other options
'dont_export_gbr': False, # saves the gbr file after recenter and mirror (if settings allow it)
'new_gbr_name': 'mirrored_and_offseted.gbr'
}