Skip to content

Commit 657fc15

Browse files
committed
Move some parameters from the top tab
1 parent c001531 commit 657fc15

2 files changed

Lines changed: 18 additions & 11 deletions

File tree

editor.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ display-condition = {js = "numbering"}
135135
help-link = "https://github.com/yawkat/GridFlock/blob/main/README.md#squeezed-number"
136136
display-condition = {js = "numbering"}
137137

138+
[model.tab-metadata."Chamfer"]
139+
collapsed = true
140+
138141
[model.tab-metadata."Plate wall"]
139142
collapsed = true
140143
[model.param-metadata.plate_wall_thickness]

gridflock.scad

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,6 @@ include <paths/puzzle.scad>
66
plate_size = [371, 254];
77
// The bed size of the printer, e.g. 250x220 for the Prusa Core One
88
bed_size = [250, 220];
9-
// Thickness of the optional solid base
10-
solid_base = 0;
11-
// Chamfer at the bottom edge of the plate. Configurable for each edge individually (clockwise: north, east, south, west)
12-
bottom_chamfer = [0, 0, 0, 0];
13-
// Chamfer at the top edge of the plate. Configurable for each edge individually (clockwise: north, east, south, west)
14-
top_chamfer = [0, 0, 0, 0];
15-
// Padding alignment. The first value is the x direction (east/west), the second value the y direction (north/south). When padding is added to the build plate, this alignment is used to distribute it. A lower value will move the grid towards the west/south direction, adding more padding to the east/north
16-
alignment = [0.5, 0.5]; // [0:0.1:1]
179

1810
/* [Magnets] */
1911

@@ -96,13 +88,16 @@ edge_puzzle_height_male_delta = 0.25; // 0.25
9688

9789
/* [Filler] */
9890

91+
// When there is not enough room for a full cell, fill the remaining space with a half-width or dynamic width cell (x direction)
9992
filler_x = 1; // [0:None, 1:Integer Fraction, 2:Dynamic]
100-
93+
// When there is not enough room for a full cell, fill the remaining space with a half-width or dynamic width cell (y direction)
10194
filler_y = 1; // [0:None, 1:Integer Fraction, 2:Dynamic]
102-
95+
// Integer fraction of the reduced size cells, e.g. a value of 2 produces half-width cells, a value of 3 produces third-width cells
10396
filler_fraction = [2, 2];
104-
97+
// Minimum size of filler cells in dynamic mode. If a filler cell would be smaller than this value, it is added to the previous cell instead, producing a cell that is larger than 42mm
10598
filler_minimum_size = [15, 15];
99+
// Padding alignment. The first value is the x direction (east/west), the second value the y direction (north/south). When padding is added to the build plate, this alignment is used to distribute it. A lower value will move the grid towards the west/south direction, adding more padding to the east/north
100+
alignment = [0.5, 0.5]; // [0:0.1:1]
106101

107102
/* [Numbering] */
108103

@@ -117,6 +112,13 @@ number_font = "sans-serif";
117112
// When a segment is very narrow, use this reduced number size. Should rarely be relevant
118113
number_squeeze_size = 2; // 0.5
119114

115+
/* [Chamfer] */
116+
117+
// Chamfer at the bottom edge of the plate. Configurable for each edge individually (clockwise: north, east, south, west)
118+
bottom_chamfer = [0, 0, 0, 0];
119+
// Chamfer at the top edge of the plate. Configurable for each edge individually (clockwise: north, east, south, west)
120+
top_chamfer = [0, 0, 0, 0];
121+
120122
/* [Plate wall] */
121123

122124
// Plate wall thickness. Can be specified for each direction individually (north, east, south, west). Note that this is *added* to the plate_size
@@ -166,6 +168,8 @@ x_column_count_first = 0;
166168

167169
/* [Advanced] */
168170

171+
// Thickness of the optional solid base
172+
solid_base = 0;
169173
// Corner radius of the generated plate. The default of 4mm matches the corner radius of the gridfinity cell
170174
plate_corner_radius = 4;
171175
// Edge adjustment values (clockwise: north, east, south, west). These values are *added* to the plate size as padding, i.e. the final plate will end up different than configured in plate_size. This allows you to customize the padding to be asymmetrical. You can also use negative values to "cut" the plate edges if you want to squeeze an extra square out of limited space.

0 commit comments

Comments
 (0)