Skip to content

Commit 5906ee0

Browse files
adamsdvEmperorArthur
authored andcommitted
Tab style inconsistency fixed
Tab style was only being applied to top-left division and no scoop was possible
1 parent 6ec36fc commit 5906ee0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

gridfinity-rebuilt-lite.scad

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,16 @@ divy = 2;
3838
enable_zsnap = false;
3939
// how should the top lip act
4040
style_lip = 0; //[0: Regular lip, 1:remove lip subtractively, 2: remove lip and retain height]
41+
// scoop weight percentage. 0 disables scoop, 1 is regular scoop. Any real number will scale the scoop.
42+
scoop = 0; //[0:0.1:1]
4143

4244
/* [Other] */
4345
// determine what the variable "gridz" applies to based on your use case
4446
gridz_define = 0; // [0:gridz is the height of bins in units of 7mm increments - Zack's method,1:gridz is the internal height in millimeters, 2:gridz is the overall external height of the bin in millimeters]
4547
// the type of tabs
4648
style_tab = 1; //[0:Full,1:Auto,2:Left,3:Center,4:Right,5:None]
49+
// which divisions have tabs
50+
place_tab = 1; // [0:Everywhere-Normal,1:Top-Left Division]
4751

4852
/* [Base] */
4953
// thickness of bottom layer
@@ -74,9 +78,8 @@ grid_dimensions = GRID_DIMENSIONS_MM / (half_grid ? 2 : 1);
7478
color("tomato")
7579
render()
7680
gridfinityLite(gridx, gridy, gridz, gridz_define, style_lip, enable_zsnap, grid_dimensions, hole_options, only_corners || half_grid) {
77-
cutEqual(n_divx = divx, n_divy = divy, style_tab = style_tab, scoop_weight = 0);
81+
cutEqual(n_divx = divx, n_divy = divy, style_tab = style_tab, scoop_weight = scoop, place_tab = place_tab);
7882
}
79-
8083
// ===== CONSTRUCTION ===== //
8184

8285
module gridfinityLite(gridx, gridy, gridz, gridz_define, style_lip, enable_zsnap, grid_dimensions, style_hole, only_corners) {

0 commit comments

Comments
 (0)