Created
April 25, 2022 22:11
-
-
Save patmandenver/5dc873a47aac30d217ac94d6b49221cb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Created by Patrick Bailey iQless.com | |
// | |
//////////////////////////////////////// | |
$fn=200; | |
moai_statue = "moai-small-no_overhang.stl"; | |
moau_plug = "giant_moai_plug.stl"; | |
split_view = true; | |
if(split_view){ | |
difference(){ | |
union(){ | |
union(){ | |
scale([2,2,2]){ | |
difference(){ | |
moai_statue_import(); | |
hollow_out(); | |
} | |
} | |
} | |
translate([0,-6]){ | |
import(moau_plug, center=true); | |
} | |
} | |
translate([0,-100,0]){ | |
cube(200); | |
} | |
} | |
} | |
else{ | |
union(){ | |
scale([2,2,2]){ | |
difference(){ | |
moai_statue_import(); | |
hollow_out(); | |
} | |
} | |
} | |
translate([0,-6]){ | |
import(moau_plug, center=true); | |
} | |
} | |
module moai_statue_import(){ | |
translate([-77.6,-68.6]){ | |
import(moai_statue, center=true); | |
} | |
} | |
module hollow_out(){ | |
color("red"){ | |
translate([0, 0]){ | |
hull(){ | |
translate([0,-3]){ | |
sphere(21); | |
} | |
translate([0,-2,35]){ | |
sphere(14); | |
} | |
} | |
hull(){ | |
translate([0,-2,35]){ | |
sphere(14); | |
} | |
translate([0,22.5,88]){ | |
sphere(7); | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment