Skip to content

Commit

Permalink
Merge pull request #189 from Rocka84/customizer-decimals
Browse files Browse the repository at this point in the history
allow decimals for some values in the customizer
  • Loading branch information
Ruudjhuu authored Aug 8, 2024
2 parents e9743fe + f583a1c commit e21bd3b
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions gridfinity-rebuilt-bins.scad
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ include <gridfinity-rebuilt-utility.scad>
the magnet holes can have an extra cut in them to make it easier to print without supports
tabs will automatically be disabled when gridz is less than 3, as the tabs take up too much space
base functions can be found in "gridfinity-rebuilt-utility.scad"
comments like ' //.5' after variables are intentional and used by the customizer
examples at end of file
BIN HEIGHT
Expand All @@ -25,15 +26,15 @@ https://github.com/kennetek/gridfinity-rebuilt-openscad

/* [Setup Parameters] */
$fa = 8;
$fs = 0.25;
$fs = 0.25; // .01

/* [General Settings] */
// number of bases along x-axis
gridx = 3;
gridx = 3; //.5
// number of bases along y-axis
gridy = 2;
gridy = 2; //.5
// bin height. See bin height information and "gridz_define" below.
gridz = 6;
gridz = 6; //.1

/* [Linear Compartments] */
// number of X Divisions (set to zero to have solid bin)
Expand All @@ -49,13 +50,13 @@ cdivy = 0;
// orientation
c_orientation = 2; // [0: x direction, 1: y direction, 2: z direction]
// diameter of cylindrical cut outs
cd = 10;
cd = 10; // .1
// cylinder height
ch = 1;
ch = 1; //.1
// spacing to lid
c_depth = 1;
// chamfer around the top rim of the holes
c_chamfer = 0.5;
c_chamfer = 0.5; // .1

/* [Height] */
// determine what the variable "gridz" applies to based on your use case
Expand Down

0 comments on commit e21bd3b

Please sign in to comment.