add the 1x1 too
This commit is contained in:
parent
2fe25600dd
commit
de0ef76376
BIN
Gridfinity/EnderTopBarBase/1x1-with-teardrop.3mf
(Stored with Git LFS)
Normal file
BIN
Gridfinity/EnderTopBarBase/1x1-with-teardrop.3mf
(Stored with Git LFS)
Normal file
Binary file not shown.
38
Gridfinity/EnderTopBarBase/1x1-with-teardrop.scad
Normal file
38
Gridfinity/EnderTopBarBase/1x1-with-teardrop.scad
Normal file
|
@ -0,0 +1,38 @@
|
|||
include<../../lib/MCAD/teardrop.scad>;
|
||||
|
||||
|
||||
$fn = $preview ? 8 : 360;
|
||||
|
||||
if ($preview) {
|
||||
union() {
|
||||
base();
|
||||
cutouts();
|
||||
}
|
||||
} else {
|
||||
difference() {
|
||||
base();
|
||||
cutouts();
|
||||
}
|
||||
}
|
||||
|
||||
module base() {
|
||||
translate([-100, -100, 0])
|
||||
import("1x1.stl");
|
||||
}
|
||||
|
||||
module cutouts() {
|
||||
for (j=[0:1:1]) {
|
||||
// vertical
|
||||
for(i=[0:1:1]) {
|
||||
// horizontal
|
||||
translate([0, -3 + i*26, 8 + j*26])
|
||||
magnet_teardrop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
module magnet_teardrop() {
|
||||
color("red")
|
||||
teardrop(3.2, 2.85, 90);
|
||||
}
|
BIN
Gridfinity/EnderTopBarBase/1x1-with-teardrop.stl
(Stored with Git LFS)
Normal file
BIN
Gridfinity/EnderTopBarBase/1x1-with-teardrop.stl
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Gridfinity/EnderTopBarBase/1x1.stl
(Stored with Git LFS)
Normal file
BIN
Gridfinity/EnderTopBarBase/1x1.stl
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in a new issue