Closed jottr closed 6 days ago
How are you calling the function?
What do you mean by, how do I call it? I render the gridfinity-rebuilt-bins.scad
from within openSCAD.
Here's the full patch:
diff --git a/gridfinity-rebuilt-bins.scad b/gridfinity-rebuilt-bins.scad
index 3b36dba..b352846 100644
--- a/gridfinity-rebuilt-bins.scad
+++ b/gridfinity-rebuilt-bins.scad
@@ -30,9 +30,9 @@ $fs = 0.25; // .01
/* [General Settings] */
// number of bases along x-axis
-gridx = 3; //.5
+gridx = 1; //.5
// number of bases along y-axis
-gridy = 2; //.5
+gridy = 1; //.5
// bin height. See bin height information and "gridz_define" below.
gridz = 6; //.1
@@ -62,13 +62,13 @@ c_chamfer = 0.5; // .1
// determine what the variable "gridz" applies to based on your use case
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]
// overrides internal block height of bin (for solid containers). Leave zero for default height. Units: mm
-height_internal = 0;
+height_internal = 1;
// snap gridz height to nearest 7mm increment
enable_zsnap = false;
/* [Features] */
// the type of tabs
-style_tab = 1; //[0:Full,1:Auto,2:Left,3:Center,4:Right,5:None]
+style_tab = 0; //[0:Full,1:Auto,2:Left,3:Center,4:Right,5:None]
// how should the top lip act
style_lip = 0; //[0: Regular lip, 1:remove lip subtractively, 2: remove lip and retain height]
// scoop weight percentage. 0 disables scoop, 1 is regular scoop. Any real number will scale the scoop.
Change height_internal
back to zero. Only need to mess with that parameter if you want solid bins.
It's exactly the opposite for me:
height_internal=0
:
height_internal=1
:
Change both divx
and divy
to 1
. I don't know why its zero by default.
Ok, that fixed it.
@kennetek may I suggest to set the defaults of divx
and divy
to 1
?
I can't get the scoop feature working. I'm working on a clone of most recent
main
branch.