gridfinity-rebuilt-bins
-testing
+Generates stock bins, with a great number of variations.
+ +Script Parameters
+Parameter | +Range | +Description | +
---|---|---|
gridx | +{ n>0 | n∈R } | +number of bases along the x-axis | +
gridy | +{ n>0 | n∈R } | +number of bases along the y-axis | +
gridz | +{ n>0 | n∈R } | +bin height. See bin height information and "gridz_define" below. | +
length | +{ n>0 | n∈R } | +length of one unit of the base. default: 42 (The Answer to the Ultimate Question of Life, the Universe, and Everything.) |
+
divx | +{ n>0 | n∈Z } | +number of compartments along X | +
divy | +{ n>0 | n∈Z } | +number of compartments along Y | +
enable_scoop | +boolean | +toggles the fillet on bottom edge for easy removal of items | +
enable_zsnap | +boolean | +automatically snap the bin size to the nearest 7mm increment. default: true |
+
enable_lip | +boolean | +if you are not stacking the bin, you can disable the top lip to save space. default: true |
+
gridz_define | +{ n>0 | n∈R } | +determine what the variable "gridz" applies to based on your use case. default: 0. • (0) gridz is the height in # of 7mm increments (Zack) • (1) gridz is the internal height in millimeters • (2) gridz is the overall external height of the bin in millimeters |
+
height_internal | +{ n>0 | n∈R } | +height of the internal block. Can be lower than bin height to save filament on custom bins. default of 0 means use the calculated height. |
+
style_tab | +{ 0, 1, 2, 3, 4, 5 } | +how the tabs for labels are generated. • (0) Full tabs across the entire compartment • (1) automatic tabs - left aligned tabs on the left edge - right aligned tabs on right edge - center tabs otherwise • (2) left aligned tabs • (3) center aligned tabs • (4) right aligned tabs • (5) no tabs |
+
style_hole | +{ 0, 1, 2, 3 } | +the style of holes in the bases • (0) No holes • (1) Magnet holes only • (2) Magnet and screw holes - no printable slit • (3) Magnet and screw holes - with printable slit |
+
div_base_x | +{ n>=0 | n∈Z } | +number of divisions per 1 unit of base along the X axis. (default 1, only use integers. 0 means automatically guess the division) |
+
div_base_y | +{ n>=0 | n∈Z } | +number of divisions per 1 unit of base along the Y axis. (default 1, only use integers. 0 means automatically guess the division) |
+
Modules
-
gridfinityInit (gridx, gridy, height, height_internal, length)
+gridfinityInit (gridx, gridy, height, height_internal, length)
Initializes the top part of the bin (walls and solid section). All bins have to use this module, and have the compartments cut out from it.
length | { n>0 | n∈R } | -length of one unit of the base. default: 42 (The Answer to the Ultimate Question of Life, the Universe, and Everything.) |
+length of one unit of the base. default: 42 (The Answer to the Ultimate Question of Life, the Universe, and Everything.) |
-
height (gridz, gridz_define, enable_lip, enable_zsnap)
+height (gridz, gridz_define, enable_lip, enable_zsnap)
Calculates the proper height for bins.
gridz_define | { n>0 | n∈R } | -determine what the variable "gridz" applies to based on your use case. default: 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 |
+determine what the variable "gridz" applies to based on your use case. default: 0. • (0) gridz is the height in # of 7mm increments (Zack) • (1) gridz is the internal height in millimeters • (2) gridz is the overall external height of the bin in millimeters |
|||||||||
enable_lip | boolean | -if you are not stacking the bin, you can disable the top lip to save space. default: true |
+if you are not stacking the bin, you can disable the top lip to save space. default: true |
|||||||||
enable_zsnap | @@ -192,7 +288,7 @@ height(6); height(30, 1, true, false);
style_tab | { 0, 1, 2, 3, 4, 5 } | -how the tabs for labels are generated. • (0) Full tabs across the entire compartment • (1) automatic tabs, meaning left aligned tabs on the left edge, right aligned tabs on right edge, center tabs otherwise • (2) left aligned tabs • (3) center aligned tabs • (4) right aligned tabs • (5) no tabs |
+how the tabs for labels are generated. • (0) Full tabs across the entire compartment • (1) automatic tabs - left aligned tabs on the left edge - right aligned tabs on right edge - center tabs otherwise • (2) left aligned tabs • (3) center aligned tabs • (4) right aligned tabs • (5) no tabs |
||||
enable_scoop | @@ -278,7 +374,7 @@ gridfinityInit(3, 3, height(6), 0, 42) { }
Height of the compartment, in base units (1 unit = 1 length ) |
||||
t | +style_tab | { 0, 1, 2, 3, 4, 5 } | -how the tabs for labels are generated for this specfic compartment. • (0) Full tabs across the entire compartment • (1) automatic tabs, meaning left aligned tabs on the left edge, right aligned tabs on right edge, center tabs otherwise • (2) left aligned tabs • (3) center aligned tabs • (4) right aligned tabs • (5) no tabs |
+how the tabs for labels are generated for this compartment. • (0) Full tabs across the entire compartment • (1) automatic tabs - left aligned tabs on the left edge - right aligned tabs on right edge - center tabs otherwise • (2) left aligned tabs • (3) center aligned tabs • (4) right aligned tabs • (5) no tabs |
s | @@ -330,7 +426,7 @@ gridfinityInit(3, 3, height(6), 0, 42) { }