Trying to fix submodules
This commit is contained in:
parent
fdc43ed99a
commit
d1963b0cd6
|
@ -1,3 +0,0 @@
|
|||
[submodule "common"]
|
||||
path = common
|
||||
url = https://git.sixteenmillimeter.com/modules/common.git
|
|
@ -0,0 +1,5 @@
|
|||
# Split Reels
|
||||
|
||||
3D-printable threaded split reels for 16mm and Super8 film.
|
||||
|
||||
-----
|
1
common
1
common
|
@ -1 +0,0 @@
|
|||
Subproject commit b499c2810117b5ca57014d5cb4219cf68b4c5c0f
|
|
@ -166,8 +166,31 @@ module split_reel (format = "16mm", length = 120, half = "A") {
|
|||
}
|
||||
}
|
||||
|
||||
module buildPyramidalExtrude(height,maxOffset,nSlices){
|
||||
heightIncrement = height / nSlices;
|
||||
offsetIncrement = maxOffset / (nSlices-1);
|
||||
for (i = [1 : nSlices]) {
|
||||
linear_extrude(height=i * heightIncrement) {
|
||||
offset(r = maxOffset - (i - 1) * offsetIncrement) {
|
||||
children();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module logo_test () {
|
||||
difference () {
|
||||
split_reel("16mm", 120, "B");
|
||||
translate([-45, -48, -0.65]) scale([0.25, 0.25, 1]) {
|
||||
rotate([180, 0, 0]) buildPyramidalExtrude(.5, .25, 20) {
|
||||
import(file = "svg/logo.svg", center = true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
PART = "split_reel_16mm_120m_B";
|
||||
//intersection () {
|
||||
|
||||
if (PART == "split_reel_16mm_120m_A") {
|
||||
split_reel("16mm", 120, "A");
|
||||
} else if (PART == "split_reel_16mm_120m_B") {
|
||||
|
@ -177,5 +200,3 @@ if (PART == "split_reel_16mm_120m_A") {
|
|||
} else if (PART == "split_reel_super8_120m_B") {
|
||||
split_reel("super8", 120, "B");
|
||||
}
|
||||
//cube([40, 40, 40], center = true);
|
||||
//}
|
Loading…
Reference in New Issue