basic receptacles

13474
Downloads
2447
Views
Published on October 3, 2011
This thing was Featured on October 3, 2011

Description

Some receptacle forms for slicing/hacking.

Here are 15 basic printable (without support) shapes that can be produced in 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 and 100 sided versions.
That's over 300 basic shapes before scaling, chopping, merging, etc.
I've posted up the 100 sided versions as STLs and some examples of the others so that you can just print them if you don't feel like playing with OpenSCAD. If you can't find the one you want, let me know the shape and how many sides and I'll pop up an STL for you.

I think that's enough for now - maybe I'll make some lids for them another time.

Instructions

use OpenSCAD to intersect one of these with rotated/translated cubes etc. to make new shapes.

example: to produce Pot1slotted.stl
intersection() {
import_stl("Pot1.stl",convexity=3);

for (i=[0:17]) {
rotate([0,0,i*10])translate([0,0,50])cube([100,5,100],center=true);
translate([0,0,2.5+i*8])cube([100,100,5],center=true);
}

}
each of the pots is defined using a different module in OpenSCAD, receptacle0() to receptacle14() each of these modules takes 2 parameters, the number of sides, and the angle to rotate the toroids to line them up with the cylinders (there is a list in the file).

The examples I've generated below are:
Pot03.stl - receptacle0(3,30);
Pot44.stl - receptacle4(4,0);
Pot85.stl - receptacle8(5,-18);
Pot99.stl - receptacle9(9,-10);

If you'd like to generate an STL not here e.g. a 7 sided version of receptacle 3, use receptacle3(7,90/7); You can then scale the width,depth and height to suit your needs. Once you have a basic STL, you can re-import as described above to decorate it with slots, impressions, etc.


Update:
I've added a module drawReceptacle(number=0,sides=3) that takes a receptacle number 0-15 and a number of sides 3-20 (anything else produces the 100 sided version)
Tags
Report as inappropriate

You must be logged in to post a comment.

one of them needs a coffee mug handle

I love this one; unfortunately, so does my wife. Yet another makeup container-to-be.

It looks almost minty! :)

those are some very beautiful prints!

Great designs!

I printed mine at 50% and without a fan, so it looks a little rougher than the other prints, but i'm still happy with the result.
Cheers!

Thanks. I love the way it catches the light, I must try some clear PLA.

Very nice designs

Thanks, I like it in yellow.

Short Honey Pot in Faberdashery Bling-Bling Gold, 100% solid fill print and it's quite heavy!

Really great pots, I'm going to try the slot and star ones next, Thanks! :)

Looks good. Glad you like them.

Is "cube" a built-in module for SCAD? What would I use if I wanted little hexagons punched thru?

What other built-ins might you substitute for "cube" in the above code?

Beware: I am not a programmer.

When you create a
<
b
>
cylinder
<
/b
>
, you specify how many sides it has. Using
<
b
>
$fn=6
<
/b
>
would produce a hexagon.

so
<
b
>
cylinder(100,2.5,2.5,$fn=6);
<
/b
>
would produce a 6 sided cylinder 100mm long with a radius of 2.5 mm.