standard logo    Personal Education

3D Central



valentine

Valentine

Yes, it is indeed only 3 days away, but This one's not a complicated project. The only "trick" is making the heart from two overlapping petal shapes.


ht=50;
// base
difference(){
sphere(ht*.33);
    sphere(ht*.30);
translate([-ht*.5,-ht*.5,-ht*.5])
cube([ht,ht,ht*.5]);
}
// heart (two overlapping parts)
hull(){
    translate([-1,-ht*.1,ht*.3])
    cube([2,ht*.2,2]);
    translate([-ht*.2,-ht*.1,ht*.75])
    rotate([-90,0,0])
    cylinder(ht*.2,ht*.25,ht*.25);
}
hull(){
    translate([-1,-ht*.1,ht*.3])
    cube([2,ht*.2,2]);
    translate([ht*.2,-ht*.1,ht*.75])
    rotate([-90,0,0])
    cylinder(ht*.2,ht*.25,ht*.25);
}
// text 
translate([0,-ht*.1,ht*.75])
rotate([90,0,0])
linear_extrude(2){
text("2018", size=ht*.25,halign="center", valign="center");
}

Available Files:

(In most browsers, right click each file you wish to download and select "save-as" from the menu options.)

SCAD files for study/modification and STL files for quick prints

heart.scad - heart.stl - have a happy day! [update: 2018-04-29 - fixed link to STL, sorry]
GPL3 License