Skip to content

Instantly share code, notes, and snippets.

@patmandenver
Created April 25, 2022 22:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patmandenver/5dc873a47aac30d217ac94d6b49221cb to your computer and use it in GitHub Desktop.
Save patmandenver/5dc873a47aac30d217ac94d6b49221cb to your computer and use it in GitHub Desktop.
//
// 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