Skip to content

Instantly share code, notes, and snippets.

@fuddl
Last active February 10, 2022 18:01
Show Gist options
  • Save fuddl/c94699f326a873fd806882737d464d91 to your computer and use it in GitHub Desktop.
Save fuddl/c94699f326a873fd806882737d464d91 to your computer and use it in GitHub Desktop.
Earth Spacedock
cylinder(h = 3, r=40);
translate([0,0,13])
cylinder(h=45, r=43);
translate([0,0,3])
cylinder(h=10, r1=38, r2=43);
translate([0,0,58])
union() {
translate([0,0,-113])
intersection() {
union() {
difference() {
sphere(d=133);
cube([134, 134, 6], true);
}
sphere(d=129);
}
cube([133, 133, 110], true);
}
cylinder(h = 2, r=42);
cylinder(h = 3, r=37);
translate([0,0,3])
cylinder(h = 6, r2=52, r1=45);
translate([0,0,10])
cylinder(h=103, r=51);
translate([0,0,9])
cylinder(h=2, r=52);
translate([0,0,13])
cylinder(h=93, r=52);
translate([0,0,106])
union() {
cylinder(h = 20, r2=74, r1=54);
translate([0,0,5])
union() {
for(i = [0:90:360]) {
rotate([0,0,i])
translate([0,87,0])
cylinder(h = 14, r2=26, r1=23);
}
translate([0,0,5])
cylinder(h=9, r2=90, r1=85);
translate([0,0,14])
union() {
intersection() {
cylinder(h = 83, r=231);
translate([0,0,-14])
scale([1,1,.9])
sphere(d=254);
}
translate([0,0,83])
union() {
cylinder(h=54, r=65);
translate([0,0,54])
union() {
cylinder(h=1, r=71);
translate([0,0,2])
union() {
rotate_extrude(convexity = 10)
translate([71,0])
scale([4,1,1])
circle(r=2);
cylinder(h = 40, r2=132, r1=79);
translate([0,0,8])
difference() {
translate([0,0,16])
union() {
translate([0,0,16])
cylinder(h = 49, r1=224, r2=105);
rotate_extrude()
union() {
translate([224,0])
scale([1,2.666,1])
circle(r=6);
translate([177,0])
square([47,16]);
}
}
cylinder(h = 20, r=231);
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment