mirror of
https://github.com/kennetek/gridfinity-rebuilt-openscad.git
synced 2024-12-22 23:03:28 +00:00
add baseplate screw together minimal
This commit is contained in:
parent
8d8827de6c
commit
7ec3f30ffe
1 changed files with 6 additions and 4 deletions
|
@ -42,7 +42,7 @@ distancey = 0;
|
||||||
/* [Styles] */
|
/* [Styles] */
|
||||||
|
|
||||||
// baseplate styles
|
// baseplate styles
|
||||||
style_plate = 3; // [0: thin, 1:weighted, 2:skeletonized, 3: screw together]
|
style_plate = 3; // [0: thin, 1:weighted, 2:skeletonized, 3: screw together, 4: screw together minimal]
|
||||||
|
|
||||||
// enable magnet hole
|
// enable magnet hole
|
||||||
enable_magnet = true;
|
enable_magnet = true;
|
||||||
|
@ -91,6 +91,10 @@ module gridfinityBaseplate(gridx, gridy, length, dix, diy, sp, sm, sh) {
|
||||||
linear_extrude(10*(h_base+off), center = true)
|
linear_extrude(10*(h_base+off), center = true)
|
||||||
profile_skeleton();
|
profile_skeleton();
|
||||||
}
|
}
|
||||||
|
else if (sp == 4) {
|
||||||
|
linear_extrude(10*(h_base+off), center = true)
|
||||||
|
profile_skeleton_minimal();
|
||||||
|
}
|
||||||
|
|
||||||
translate([0,0,-off]) {
|
translate([0,0,-off]) {
|
||||||
if (sh == 1) cutter_countersink();
|
if (sh == 1) cutter_countersink();
|
||||||
|
@ -163,9 +167,7 @@ module profile_skeleton() {
|
||||||
|
|
||||||
module profile_skeleton_minimal() {
|
module profile_skeleton_minimal() {
|
||||||
l = length - 6;
|
l = length - 6;
|
||||||
offset(r_fo3)
|
rounded_square(l,r_fo3);
|
||||||
offset(-r_fo3)
|
|
||||||
square([l,l], center = true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
module cutter_screw_together(gx, gy, off) {
|
module cutter_screw_together(gx, gy, off) {
|
||||||
|
|
Loading…
Reference in a new issue