Skip to content

Commit 8b06dd1

Browse files
committed
Update Gridfinity rebuilt bins configured builds
1 parent a9854a5 commit 8b06dd1

File tree

1 file changed

+208
-15
lines changed

1 file changed

+208
-15
lines changed

gridfinity/rebuilt-bins/SConscript

+208-15
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Params = namedtuple(
2424
"Div_Axis",
2525
"Div_Mult_X",
2626
"Div_Mult_Y",
27+
"Div_Mult_Point",
2728
"Lip_Grips",
2829
"args",
2930
"render_name",
@@ -46,6 +47,7 @@ Params = namedtuple(
4647
"y",
4748
1.0,
4849
1.0,
50+
0.5,
4951
"xy",
5052
N(),
5153
None,
@@ -72,7 +74,8 @@ bins = [
7274
gridz=3,
7375
divx=2,
7476
divy=1,
75-
d_wall=1.6,
77+
d_wall=2.6,
78+
d_div=1.6,
7679
a_tab=30,
7780
d_tabh=13.4725,
7881
),
@@ -92,7 +95,17 @@ bins = [
9295
Params(gridx=2, gridy=2, gridz=3, divx=4, divy=1),
9396
Params(gridx=2, gridy=2, gridz=3, divx=4, divy=2, h_cut_extra_single=1.4),
9497
Params(gridx=2, gridy=2, gridz=3, divx=5, divy=1),
95-
Params(gridx=2, gridy=2, gridz=3, divx=6, divy=1),
98+
Params(
99+
gridx=2,
100+
gridy=2,
101+
gridz=3,
102+
divx=6,
103+
divy=1,
104+
d_wall=2.6,
105+
d_div=1.6,
106+
a_tab=5,
107+
d_tabh=23,
108+
),
96109
Params(
97110
gridx=2,
98111
gridy=2,
@@ -120,7 +133,7 @@ bins = [
120133
divx=1,
121134
divy=1,
122135
scoop=0.5,
123-
d_wall=1.6,
136+
d_wall=2.6,
124137
a_tab=36,
125138
d_tabh=12.68,
126139
h_cut_extra=1.4,
@@ -151,6 +164,16 @@ bins = [
151164
d_tabh=13.4725,
152165
h_cut_extra=1.4,
153166
),
167+
Params(
168+
gridx=2,
169+
gridy=2,
170+
gridz=6,
171+
divx=4,
172+
divy=2,
173+
scoop=0.5,
174+
d_wall=2.6,
175+
d_div=1.6,
176+
),
154177
Params(
155178
gridx=2,
156179
gridy=2,
@@ -198,13 +221,11 @@ bins = [
198221
gridx=2,
199222
gridy=4,
200223
gridz=3,
201-
divx=1,
202-
divy=6,
203-
scoop=1,
204-
d_wall=2.6,
224+
divx=4,
225+
divy=4,
226+
d_wall=1.6,
205227
d_div=1.6,
206-
h_cut_extra=1.4,
207-
style_tab=5,
228+
h_cut_extra_single=1.4,
208229
),
209230
# 2x4x6
210231
Params(
@@ -265,20 +286,87 @@ bins = [
265286
h_cut_extra=1.4,
266287
style_tab=5,
267288
),
289+
Params(
290+
gridx=4,
291+
gridy=2,
292+
gridz=3,
293+
divx=8,
294+
divy=1,
295+
scoop=0,
296+
d_div=1.6,
297+
d_wall=2.6,
298+
a_tab=5,
299+
d_tabh=23,
300+
h_cut_extra=1.4,
301+
),
302+
Params(
303+
gridx=4,
304+
gridy=2,
305+
gridz=3,
306+
divx=10,
307+
divy=1,
308+
scoop=0,
309+
d_div=1.6,
310+
d_wall=2.6,
311+
a_tab=5,
312+
d_tabh=23,
313+
h_cut_extra=1.4,
314+
),
268315
Params(
269316
gridx=4,
270317
gridy=2,
271318
gridz=3,
272319
divx=12,
273320
divy=1,
274-
d_div=1.2,
275-
d_wall=1.2,
276-
a_tab=20,
277-
d_tabh=14.265,
321+
scoop=0,
322+
d_div=1.6,
323+
d_wall=2.6,
324+
a_tab=5,
325+
d_tabh=23,
326+
h_cut_extra=1.4,
327+
),
328+
Params(
329+
gridx=4,
330+
gridy=2,
331+
gridz=3,
332+
divx=14,
333+
divy=1,
334+
scoop=0,
335+
d_div=1.6,
336+
d_wall=2.6,
337+
a_tab=5,
338+
d_tabh=23,
339+
h_cut_extra=1.4,
340+
),
341+
Params(
342+
gridx=4,
343+
gridy=2,
344+
gridz=3,
345+
divx=16,
346+
divy=1,
347+
scoop=0,
348+
d_div=1.6,
349+
d_wall=2.6,
350+
a_tab=5,
351+
d_tabh=23,
352+
h_cut_extra=1.4,
353+
),
354+
Params(
355+
gridx=4,
356+
gridy=2,
357+
gridz=3,
358+
divx=8,
359+
divy=2,
360+
scoop=1,
361+
d_wall=2.6,
362+
d_div=1.6,
278363
h_cut_extra=1.4,
364+
Compartment_Style="default_multiple",
365+
Div_Axis="x",
366+
Div_Mult_X=1,
367+
Div_Mult_Y=2,
279368
),
280369
# 4x2x6
281-
Params(divx=4, divy=2, gridz=6, scoop=0.5, d_wall=1.6, d_div=1.6),
282370
Params(
283371
gridx=4,
284372
gridy=2,
@@ -322,6 +410,75 @@ bins = [
322410
h_cut_extra=1.4,
323411
style_tab=5,
324412
),
413+
Params(
414+
gridx=4,
415+
gridy=2,
416+
gridz=6,
417+
divx=8,
418+
divy=2,
419+
scoop=1,
420+
d_wall=2.6,
421+
d_div=1.6,
422+
h_cut_extra=1.4,
423+
h_cut_extra_single=1.4,
424+
),
425+
Params(
426+
gridx=4,
427+
gridy=2,
428+
gridz=6,
429+
divx=4,
430+
divy=1,
431+
scoop=1,
432+
d_wall=2.6,
433+
d_div=1.6,
434+
h_cut_extra=1.4,
435+
h_cut_extra_single=1.4,
436+
),
437+
Params(
438+
gridx=4,
439+
gridy=2,
440+
gridz=6,
441+
divx=8,
442+
divy=1,
443+
scoop=1,
444+
d_wall=2.6,
445+
d_div=1.6,
446+
h_cut_extra=1.4,
447+
h_cut_extra_single=1.4,
448+
),
449+
Params(
450+
gridx=4,
451+
gridy=2,
452+
gridz=6,
453+
divx=8,
454+
divy=2,
455+
scoop=1,
456+
d_wall=2.6,
457+
d_div=1.6,
458+
h_cut_extra=1.4,
459+
h_cut_extra_single=1.4,
460+
Compartment_Style="default_multiple",
461+
Div_Axis="x",
462+
Div_Mult_X=1,
463+
Div_Mult_Y=2,
464+
),
465+
Params(
466+
gridx=4,
467+
gridy=2,
468+
gridz=6,
469+
divx=8,
470+
divy=2,
471+
scoop=1,
472+
d_wall=2.6,
473+
d_div=1.6,
474+
h_cut_extra=1.4,
475+
h_cut_extra_single=1.4,
476+
Compartment_Style="default_multiple",
477+
Div_Axis="x",
478+
Div_Mult_X=1,
479+
Div_Mult_Y=2,
480+
Div_Mult_Point=0.75,
481+
),
325482
# 4x2x9
326483
Params(
327484
gridx=4,
@@ -345,6 +502,20 @@ bins = [
345502
h_cut_extra=1.4,
346503
style_tab=5,
347504
),
505+
Params(
506+
gridx=4,
507+
gridy=2,
508+
gridz=9,
509+
divx=8,
510+
divy=1,
511+
scoop=0.5,
512+
d_wall=2.6,
513+
d_div=1.6,
514+
h_cut_extra=1.4,
515+
h_cut_extra_single=1.4,
516+
a_tab=30,
517+
d_tabh=13.4725,
518+
),
348519
# 4x4x3
349520
Params(
350521
gridx=4,
@@ -383,6 +554,20 @@ bins = [
383554
d_div=1.6,
384555
h_cut_extra_single=1.4,
385556
),
557+
# 6x2x3
558+
Params(
559+
gridx=6,
560+
gridy=2,
561+
gridz=3,
562+
divx=24,
563+
divy=1,
564+
scoop=0,
565+
d_div=1.6,
566+
d_wall=2.6,
567+
a_tab=5,
568+
d_tabh=23,
569+
h_cut_extra=1.4,
570+
),
386571
# 6x2x9
387572
Params(
388573
gridx=6,
@@ -450,7 +635,15 @@ for opts in GenerateOptions(b=[[b] for b in bins]):
450635
else (
451636
(f"-{p.divx}x,{p.divy}y" if p.divx and p.divy else "")
452637
if p.Compartment_Style == "default"
453-
else f"-{p.Compartment_Style}"
638+
else (
639+
(
640+
f"-{p.divx}x,{p.divy}y"
641+
f"-{p.Div_Axis}@{p.Div_Mult_Point}"
642+
f",{p.Div_Mult_X}mx,{p.Div_Mult_Y}my"
643+
)
644+
if p.Compartment_Style == "default_multiple"
645+
else f"-{p.Compartment_Style}"
646+
)
454647
)
455648
)
456649
label_fn = "-nolabel" if p.style_tab == 5 else ""

0 commit comments

Comments
 (0)