Compare commits
2 commits
9970074bd7
...
2fe25600dd
Author | SHA1 | Date | |
---|---|---|---|
Kaan Barmore-Genç | 2fe25600dd | ||
Kaan Barmore-Genç | a719a7dbd6 |
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -1,3 +1,4 @@
|
|||
*.blend filter=lfs diff=lfs merge=lfs -text
|
||||
*.blend1 filter=lfs diff=lfs merge=lfs -text
|
||||
*.stl filter=lfs diff=lfs merge=lfs -text
|
||||
*.3mf filter=lfs diff=lfs merge=lfs -text
|
||||
|
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "lib/MCAD"]
|
||||
path = lib/MCAD
|
||||
url = https://gitea.bgenc.net/kaan/MCAD-Library.git
|
BIN
Gridfinity/EnderTopBarBase/2x1-with-teardrop.3mf
(Stored with Git LFS)
Normal file
BIN
Gridfinity/EnderTopBarBase/2x1-with-teardrop.3mf
(Stored with Git LFS)
Normal file
Binary file not shown.
41
Gridfinity/EnderTopBarBase/2x1-with-teardrop.scad
Normal file
41
Gridfinity/EnderTopBarBase/2x1-with-teardrop.scad
Normal file
|
@ -0,0 +1,41 @@
|
|||
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("2x1.stl");
|
||||
}
|
||||
|
||||
module cutouts() {
|
||||
for (k=[0:1:1]) {
|
||||
// Repeat for the second plate
|
||||
for (j=[0:1:1]) {
|
||||
// vertical
|
||||
for(i=[0:1:1]) {
|
||||
// horizontal
|
||||
translate([0, -3 + i*26, 8 + j*26 + k*42])
|
||||
magnet_teardrop();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
module magnet_teardrop() {
|
||||
color("red")
|
||||
teardrop(3.2, 2.85, 90);
|
||||
}
|
BIN
Gridfinity/EnderTopBarBase/2x1-with-teardrop.stl
(Stored with Git LFS)
Normal file
BIN
Gridfinity/EnderTopBarBase/2x1-with-teardrop.stl
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Gridfinity/EnderTopBarBase/2x1.stl
(Stored with Git LFS)
Normal file
BIN
Gridfinity/EnderTopBarBase/2x1.stl
(Stored with Git LFS)
Normal file
Binary file not shown.
1
lib/MCAD
Submodule
1
lib/MCAD
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 265ce0600cd3b86d7a96a5c30f29070c26c2368a
|
Loading…
Reference in a new issue