Gas station without pumps

2019 July 7

3D slug heart

Filed under: Uncategorized — gasstationwithoutpumps @ 18:34
Tags: , , , , , ,

Earlier today I posted about adding a ring to scanlime‘s banana-slug design on Thingiverse by merging two STL files in Cura.  Today, I tried using the “include” command of OpenSCAD to get a properly merged STL file that I can post to Thingiverse.

The OpenSCAD code is quite simple:

module torus(big_radius=3, small_radius=1, big_fn=100, small_fn=30)
{   rotate_extrude($fn=big_fn)
    translate([big_radius,0,0])
    circle(r=small_radius, $fn=small_fn);
}

union()
{
    import("slug-fixup.stl",convexity=5);
    translate([-15,27,0])
        intersection()
        {   translate([0,0,1]) torus(big_radius=3.6, small_radius=2);
            translate([0,0,50]) cube(size=[100,100,100], center=true);
        }
}

I decided to go one step further and make a “slug heart” as suggested by my wife—it would be good for IEEE to sell at Valentine’s Day next year:

module torus(big_radius=3, small_radius=1, big_fn=100, small_fn=30)
{   rotate_extrude($fn=big_fn)
    translate([big_radius,0,0])
    circle(r=small_radius, $fn=small_fn);
}

module slug()
{    translate([-18,0,0]) rotate(a=[0,0,-12]) import("slug-fixup.stl",convexity=5);
}
union()
{
    slug();
    mirror([1,0,0]) slug();
    translate([0,25,0])
        intersection()
        {   translate([0,0,1]) torus(big_radius=3.6, small_radius=2);
            translate([0,0,50]) cube(size=[100,100,100], center=true);
        }
}
slug heart jewelry

View of the heart showing the ring for hanging it. This was printed at “draft” resolution (0.2mm/layer)—the jewelry will look better with 0.1mm/layer

slug heart jewelry

View of the heart showing the interior heart shape. I still only have green filament, but the slug will look much better in gold.

The slug-heart pendant weighs 13.46 grams in draft mode—I suspect it will be a similar weight for the final printing when I get the gold filament.

UPDATE 2019 July 7: I released the design as https://www.thingiverse.com/thing:3735198

1 Comment »

  1. […] 3D slug heart was my first attempt at 3D-printed jewelry, and I’ve only printed it as a draft in green PLA […]

    Pingback by 3D-printed stage jewelry | Gas station without pumps — 2019 July 17 @ 23:23 | Reply


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: