-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbase_settings.yml
102 lines (93 loc) · 3.14 KB
/
base_settings.yml
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
98
99
100
101
102
# Character
# (also available as CLI option)
character: 好
# Scale of the part (max size = scale * 60x60mm)
# (also available as CLI option)
scale: 1
# Parts to generate, necessary when generating strokes / plate,pillars separately
# (also available as CLI option)
parts: ["strokes", "plate", "pillars", "connectors", "debug"]
# Draw connectors between the tail of a stroke and the head of the next stroke
enable_connectors: false
# Draw a pillar underneath each stroke and make an insert on the underside of each stroke
enable_pillars: false
# Draw a round plate underneath the structure
enable_plate: false
# Space the heads of each stroke evenly
flat_mode: true
# Extrude the strokes to the plate
to_bottom_mode: false
# Calculate average tilt and undo it
untilted_mode: false
general_options:
# How many parts to divide a stroke unit in
parts_per_stroke_unit: 80
# When not in flat mode, Z distance between head and tail of strokes
distance_between_strokes: 0
# Extrusion height of each stroke
thickness: 90
# Slope of each stroke
stretch: 160
# XY-centering: 'box' takes the center from the character data
# 'average_medians' recalculates the center
centering_method: "box"
# Smoothen the curve to improve splitting into parts
smoothen_curve: true
# How much to smoothen the curve
smoothen_curve_amount: 1
# Smoothen the surface by averaging the shear
smoothen_surface: true
# How much to remember the shears of previous parts and average
smoothen_surface_amount: 1
# Ensure overlap between parts for 3d model
part_offset: 1
# Add extra width (a stroke) to the stroke
stroke_extra_width: 0
untilted_options:
# For untilting, bottom detection is not perfect yet, so adjust the margin here
bottom_margin: 70
# Draw original and untilted axes
debug_axis: false
connector_options:
# Force the connectors to be parallel to the XY plane
force_horizontal: false
# Diameter of each connector
thickness: 20
# Distance to the head/tail of the stroke relative to the stroke length
end_distance: 0.1
# Circular segments for the connector, 4 for a square connector
n_segments: 20
flat_mode_options:
# In flat mode, space between head of stroke and head of next stroke
spacing: 5
plate_options:
# Height of the plate
height: 50
# Z-distance lowest stroke can be sunk in the plate
overlap: 0
pillar_options:
# Diameter of each pillar
thickness: 20
# Margin between insert on pillar and insert in stroke (for 3D printing)
insert_margin: 3
# Circular segments of an insert, 4 for square, 6 for hexagon
insert_n_segments: 4
# Angle at which the pillar insert intersects the stroke
insert_angle: 45
# Ratio of insert size to pillar thickness
insert_multiplier: 1.2 # sqrt(2)
# Distance to the head/tail of the stroke relative to the stroke length
pillar_end_distance: 0.5
# How much the pillar will be in the plate (default: half)
plate_insertion: 0.5
debug_options:
enable_plot: false
show_plot: true
plot_window_zoom: 1
# Debug voronoi and strokes using matplotlib
plot_voronoi: false
plot_medians: false
plot_stroke: false
plot_orig_medians: false
plot_zoom: 1
per_stroke_options: {}