Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a version of the baseplate to be mounted with counter-sunk screws. #35

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 36 additions & 4 deletions gridfinity_baseplate.scad
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,19 @@ include <gridfinity_modules.scad>

xsize = 5;
ysize = 3;
weighted = false;
lid = false;

if (lid) {
version = "plain"; // [plain, weighted, lid, woodscrew]


if (version=="lid") {
base_lid(xsize, ysize);
}
else if (weighted) {
else if (version=="weighted") {
weighted_baseplate(xsize, ysize);
}
else if (version=="woodscrew") {
woodscrew_baseplate(xsize, ysize);
}
else {
frame_plain(xsize, ysize);
}
Expand All @@ -36,6 +40,34 @@ module base_lid(num_x, num_y) {
}



module woodscrew_baseplate(num_x, num_y) {
magnet_od = 6.5;
magnet_position = min(gridfinity_pitch/2-8, gridfinity_pitch/2-4-magnet_od/2);
magnet_thickness = 2.4;
eps = 0.1;

difference() {
frame_plain(num_x, num_y, 6.4);

gridcopy(num_x, num_y) {
cornercopy(magnet_position) {
translate([0, 0, -magnet_thickness])
cylinder(d=magnet_od, h=magnet_thickness+eps, $fn=48);

translate([0, 0, -6.4]) cylinder(d=3.5, h=6.4, $fn=24);

// counter-sunk holes in the bottom
translate([0, 0, -6.41]) cylinder(d1=8.5, d2=3.5, h=2.5, $fn=24);
}

//counter-sunk holes for woodscrews
translate([0, 0, -2.5]) cylinder(d1=3.5, d2=8.5, h=2.5, $fn=24);
translate([0, 0, -6.41]) cylinder(d=3.5, h=6.4, $fn=24);
}
}
}

module weighted_baseplate(num_x, num_y) {
magnet_od = 6.5;
magnet_position = min(gridfinity_pitch/2-8, gridfinity_pitch/2-4-magnet_od/2);
Expand Down