Skip to content

Commit

Permalink
added documentation images
Browse files Browse the repository at this point in the history
  • Loading branch information
kennetek committed Nov 18, 2022
1 parent ac70740 commit 7674ead
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 80 deletions.
51 changes: 0 additions & 51 deletions README-VASE.md

This file was deleted.

4 changes: 2 additions & 2 deletions gridfinity-rebuilt-baseplate.scad
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ $fs = 0.25;

/* [General Settings] */
// number of bases along x-axis
gridx = 2;
gridx = 4;
// number of bases along y-axis
gridy = 2;
gridy = 4;
// base unit
length = 42;

Expand Down
54 changes: 30 additions & 24 deletions gridfinity-rebuilt-lite.scad
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ gridz_define = 0; // [0:gridz is the height of bins in units of 7mm increments -
style_tab = 1; //[0:Full,1:Auto,2:Left,3:Center,4:Right,5:None]

/* [Base] */
style_hole = 3; // [0:no holes, 1:magnet holes only, 2: magnet and screw holes - no printable slit, 3: magnet and screw holes - printable slit]
style_hole = 0; // [0:no holes, 1:magnet holes only, 2: magnet and screw holes - no printable slit, 3: magnet and screw holes - printable slit]
// number of divisions per 1 unit of base along the X axis. (default 1, only use integers. 0 means automatically guess the right division)
div_base_x = 0;
// number of divisions per 1 unit of base along the Y axis. (default 1, only use integers. 0 means automatically guess the right division)
Expand All @@ -53,39 +53,45 @@ div_base_y = 0;
// ===== IMPLEMENTATION ===== //

// Input all the cutter types in here
module cutterInput() {
cutEqual(n_divx = divx, n_divy = divy, style_tab = style_tab, enable_scoop = false);
//color("tomato")
//gridfinityLite(gridx, gridy, gridz, gridz_define, enable_lip, enable_zsnap, length, div_base_x, div_base_y, style_hole) {
// cutEqual(n_divx = divx, n_divy = divy, style_tab = style_tab, enable_scoop = false);
//}
color("tomato")
gridfinityLite(gridx=3, gridy=3, gridz=5, gridz_define=0, enable_lip=true, enable_zsnap=false, length=42, div_base_x=0, div_base_y=0, style_hole=0) {
cutEqual(n_divx=1, n_divy=1, style_tab=5, enable_scoop = false);
}

// ===== CONSTRUCTION ===== //

color("tomato")
difference() {
union() {
gridfinityInit(gridx, gridy, height(gridz, gridz_define, enable_lip, enable_zsnap), 0, length) {
cutterInput();
}
gridfinityBase(gridx, gridy, length, div_base_x, div_base_y, style_hole);
}

module gridfinityLite(gridx, gridy, gridz, gridz_define, enable_lip, enable_zsnap, length, div_base_x, div_base_y, style_hole) {
difference() {
union() {
intersection() {
difference() {
gridfinityBase(gridx, gridy, length, div_base_x, div_base_y, style_hole, -d_wall*2, false);
translate([-gridx*length/2,-gridy*length/2,2*h_base])
cube([gridx*length,gridy*length,1000]);
gridfinityInit(gridx, gridy, height(gridz, gridz_define, enable_lip, enable_zsnap), 0, length)
children();
gridfinityBase(gridx, gridy, length, div_base_x, div_base_y, style_hole);
}

difference() {
union() {
intersection() {
difference() {
gridfinityBase(gridx, gridy, length, div_base_x, div_base_y, style_hole, -d_wall*2, false);
translate([-gridx*length/2,-gridy*length/2,2*h_base])
cube([gridx*length,gridy*length,1000]);
}
translate([0,0,-1])
rounded_rectangle(gridx*length-0.5005-d_wall*2, gridy*length-0.5005-d_wall*2, 1000, r_f2);
}
translate([0,0,-1])
rounded_rectangle(gridx*length-0.5005-d_wall*2, gridy*length-0.5005-d_wall*2, 1000, r_f2);
translate([0,0,h_base+d_clear])
rounded_rectangle(gridx*length-0.5005-d_wall*2, gridy*length-0.5005-d_wall*2, h_base, r_f2);
}
translate([0,0,h_base+d_clear])
rounded_rectangle(gridx*length-0.5005-d_wall*2, gridy*length-0.5005-d_wall*2, h_base, r_f2);

translate([0,0,-4*h_base])
gridfinityInit(gridx, gridy, height(20,0), 0, length)
children();
}

translate([0,0,-4*h_base])
gridfinityInit(gridx, gridy, height(20,0), 0, length)
cutterInput();
}

}
6 changes: 3 additions & 3 deletions gridfinity-spiral-vase.scad
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ bottom_layer = 3;

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

/* [Toggles] */
// toggle holes on the base for magnet
Expand Down
Binary file added images/baseplate.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/lite.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7674ead

Please sign in to comment.