Thingiverse
openscad-polyhedra by benjaminedwardmorgan
by Thingiverse
Last crawled date: 3 years, 1 month ago
This is an OpenSCAD library intended to be used as part of other projects. I printed a few of the polyhedra as wireframe shapes using MeshMixer to generate supports.
The arrays and utility functions included here can be used to place modules coincident with the vertices, edges and faces of the Platonic and Archimedean solids.
All polyhedra are centered at the origin and have an edge length of 1.
Included polyhedra:
tetrahedron
octahedron
hexahedron
icosahedron
dodecahedron
cubeoctahedron
truncated_tetrahedron
snub_cube
rhombicuboctahedron
truncated_hexahedron
truncated_octahedron
icosidodecahedron
snub_dodecahedron
rhombicosidodecahedron
truncated_cuboctahedron
truncated_icosahedron
truncated_dodecahedron
truncated_icosidodecahedron
Each shape includes an array of vertices, edges, adjacent_vertices, and faces.
Archimedean solids also include separate arrays of faces that are of the same polygon shape.
Example:
snub_dodecahedron_vertices - an array of 3-vectors
snub_dodecahedron_edges - an array of 2-tuples containing indexes into the vertices array, one tuple for each edge.
snub_dodecahedron_adjacent_vertices - an array of arrays, each containing indexes into the vertex array. For example, snub_dodecahedron_adjacent_vertices[3] is an array containing the indexes of vertices that are connected to snub_dodecahedron_vertices[3] by an edge
snub_dodecahedron_triangle_faces and snub_dodecahedron_pentagon_faces contain arrays with indices in the vertex array for each triangular and pentagonal face, respectively
snub_dodecahedron_faces contains all faces
Usage:
// add polyhedra.scad to your project and include it
include;
// to arrange modules at vertices
for(i=[0:len(snub_dodecahedron_vertices)-1])
orient_vertex(
snub_dodecahedron_vertices[i],
snub_dodecahedron_vertices[snub_dodecahedron_adjacent_vertices[i][0]]
)
// your vertical module centered at the origin here. For example:
sphere(r=0.2,$fn=64);
// to arrange modules along the edges
for(i=[0:len(snub_dodecahedron_edges)-1])
orient_edge(
snub_dodecahedron_vertices[snub_dodecahedron_edges[i][0]],
snub_dodecahedron_vertices[snub_dodecahedron_edges[i][1]]
)
// your vertical module centered at the origin here. For example:
cylinder(height=1,r=0.1,center=true,$fn=32);
// to arrange modules on the faces
for(i=[0:len(snub_dodecahedron_faces)-1])
orient_face(
map_verts(snub_dodecahedron_vertices, snub_dodecahedron_faces[i])
)
// your module on the x-y plane here, centered at the origin. For example:
rotate(180/len(snub_dodecahedron_faces[i])-90)
cylinder(r=0.3,h=0.02,$fn=len(snub_dodecahedron_faces[i]));
// to construct a solid
polyhedron(
points = snub_dodecahedron_vertices,
faces = snub_dodecahedron_faces
);
Fork it on GitHub:https://github.com/benjamin-edward-morgan/openscad-polyhedra
The arrays and utility functions included here can be used to place modules coincident with the vertices, edges and faces of the Platonic and Archimedean solids.
All polyhedra are centered at the origin and have an edge length of 1.
Included polyhedra:
tetrahedron
octahedron
hexahedron
icosahedron
dodecahedron
cubeoctahedron
truncated_tetrahedron
snub_cube
rhombicuboctahedron
truncated_hexahedron
truncated_octahedron
icosidodecahedron
snub_dodecahedron
rhombicosidodecahedron
truncated_cuboctahedron
truncated_icosahedron
truncated_dodecahedron
truncated_icosidodecahedron
Each shape includes an array of vertices, edges, adjacent_vertices, and faces.
Archimedean solids also include separate arrays of faces that are of the same polygon shape.
Example:
snub_dodecahedron_vertices - an array of 3-vectors
snub_dodecahedron_edges - an array of 2-tuples containing indexes into the vertices array, one tuple for each edge.
snub_dodecahedron_adjacent_vertices - an array of arrays, each containing indexes into the vertex array. For example, snub_dodecahedron_adjacent_vertices[3] is an array containing the indexes of vertices that are connected to snub_dodecahedron_vertices[3] by an edge
snub_dodecahedron_triangle_faces and snub_dodecahedron_pentagon_faces contain arrays with indices in the vertex array for each triangular and pentagonal face, respectively
snub_dodecahedron_faces contains all faces
Usage:
// add polyhedra.scad to your project and include it
include
// to arrange modules at vertices
for(i=[0:len(snub_dodecahedron_vertices)-1])
orient_vertex(
snub_dodecahedron_vertices[i],
snub_dodecahedron_vertices[snub_dodecahedron_adjacent_vertices[i][0]]
)
// your vertical module centered at the origin here. For example:
sphere(r=0.2,$fn=64);
// to arrange modules along the edges
for(i=[0:len(snub_dodecahedron_edges)-1])
orient_edge(
snub_dodecahedron_vertices[snub_dodecahedron_edges[i][0]],
snub_dodecahedron_vertices[snub_dodecahedron_edges[i][1]]
)
// your vertical module centered at the origin here. For example:
cylinder(height=1,r=0.1,center=true,$fn=32);
// to arrange modules on the faces
for(i=[0:len(snub_dodecahedron_faces)-1])
orient_face(
map_verts(snub_dodecahedron_vertices, snub_dodecahedron_faces[i])
)
// your module on the x-y plane here, centered at the origin. For example:
rotate(180/len(snub_dodecahedron_faces[i])-90)
cylinder(r=0.3,h=0.02,$fn=len(snub_dodecahedron_faces[i]));
// to construct a solid
polyhedron(
points = snub_dodecahedron_vertices,
faces = snub_dodecahedron_faces
);
Fork it on GitHub:https://github.com/benjamin-edward-morgan/openscad-polyhedra
Similar models
thingiverse
free
Archimedean solids by kitwallace
...p://kitwallace.tumblr.com/post/82601505888/archimedean-solids
the solids have now been oriented to stand on their largest face.
thingiverse
free
openscad module to smooth both concave and convex edges by trzeci
...le with modifiers:
smooth_convex(r,fn) object();
smooth_concave(r,fn) object();
smooth(r,fn) object();
example of use in stl file
thingiverse
free
Duals of Polyhedra by pmoews
...he vertices of the cuboctahedron protrude through the centers of the faces of the rhomic dodecahedron in the compound polyhedron.
thingiverse
free
Customizable Convex Polyhedra by pdragy
...tp://www.thingiverse.com/thing:16508), which have the face data from the vrml files converted to triangles to work with openscad.
thingiverse
free
Customizable Vase by PintsizedSix40
...
translate(v = [0, 0, i])
rotate([0,0,i])
linear_extrude( height = 1)
offset(r=radius-.7, $fn=20)
circle(r=radius, $fn=fn);
}
}
}
thingiverse
free
Toroidal Polyhedra by pmoews
...kew polyhedra with multiple holes. see the openscad code which includes references to the "visual polyhedra" web site.
thingiverse
free
openscad Wall by karolyish
...p= g(scalersmaangle($dapoints, [-4,-(360/$fn)(360/$fn/2),0], [1,1,1.3], [0,0,0]), [0,0,2])) {pp($dp, da=360/$fn);
cube(dim);
}}
}
thingiverse
free
Two Color Archimedean Solids - 1 by pmoews
...o much bookkeeping to keep track of without help. openscad's "thrown together" command can be used to catch errors.
thingiverse
free
Modulated Polyhedra by kitwallace
... from the website http://kitwallace.co.uk/3d/solid-index.xq
it needs to be customised for appearance and the modulating function.
thingiverse
free
Hollow-out vase
...an openscad module which can create a hollow-out pattern similar to voronoi. just pass cross sections to hollow_out_sweep. vases...
Benjaminedwardmorgan
thingiverse
free
Parametric Hinge by benjaminedwardmorgan
...low the hinge to move freely. the height, radius and tolerance are parametrized. the openscad file includes three example hinges.
thingiverse
free
Beer Bottle Lock by benjaminedwardmorgan
... on my replicator 2 with .2mm layer height and 20% infill.
bottle lock may not be effective when used with twist-off bottle caps.
thingiverse
free
openscad-slide-n-snap by benjaminedwardmorgan
.....);
slide_n_snap_male_clip(t=1.75,w=5.25,l=7)
}
fork on github:https://github.com/benjamin-edward-morgan/openscad-slide-n-snap
thingiverse
free
Moon Phase Clock (with Moon Lithopane) by GoolGaul
...lithopane thing would be nice, when i stumbled upon benjaminedwardmorgan#39;s moon lithopane... and it hit me. my wiccan wife...
Polyhedra
thingiverse
free
Concave Polyhedra by kitwallace
... removed pyramid.
see my blog for details and polyhedra index. .http://kitwallace.tumblr.com/post/80458298236/concave-polyhedra
thingiverse
free
Toroidal Polyhedra by pmoews
...kew polyhedra with multiple holes. see the openscad code which includes references to the "visual polyhedra" web site.
thingiverse
free
Johnson Polyhedra by pmoews
...w structure. five examples of hollow polyhedra stl files are included here together with a sample openscad file, hollow_j03.scad.
thingiverse
free
Generated Polyhedra by kitwallace
...there are two versions of the dual stub hexpropellododecahedron - one small, the other large - must make the goldilocks version.
thingiverse
free
polyhedra star ( ninth stellation of icosahedron )
...polyhedra star ( ninth stellation of icosahedron )
thingiverse
a simple to make polyhedra star..
thingiverse
free
Convex Polyhedra ( @pdragy edited) by harnelbe
...convex polyhedra ( @pdragy edited) by harnelbe
thingiverse
made from
customizable convex polyhedra designed by @pdragy
thingiverse
free
Modulated Polyhedra by kitwallace
... from the website http://kitwallace.co.uk/3d/solid-index.xq
it needs to be customised for appearance and the modulating function.
thingiverse
free
Customizable Convex Polyhedra by pdragy
...tp://www.thingiverse.com/thing:16508), which have the face data from the vrml files converted to triangles to work with openscad.
thingiverse
free
Convex Polyhedra
...ttp://www.thingiverse.com/thing:233540
created with customizer! http://www.thingiverse.com/apps/customizer/run?thing_id=233540
thingiverse
free
Archimedean polyhedra by henryseg
...chimedean polyhedra by henryseg
thingiverse
these models are featured in figure 2.9 of visualizing mathematics with 3d printing.
Openscad
thingiverse
free
OpenSCAD sphere
...openscad sphere
thingiverse
basic project for openscad.
thingiverse
free
Openscad Football by KySyth
...openscad football by kysyth
thingiverse
openscad not tested
thingiverse
free
Openscad Apple by KySyth
...openscad apple by kysyth
thingiverse
openscad apple = not tested
thingiverse
free
Plugs with openscad by benengel
...plugs with openscad by benengel
thingiverse
plugs with openscad and fontawesome
thingiverse
free
Openscad spirals by mafmuf
...openscad spirals by mafmuf
thingiverse
just fooling around with openscad.
thingiverse
free
Practice on OpenScad by ajensen906
...practice on openscad by ajensen906
thingiverse
a very crude practice on openscad
thingiverse
free
Batteries in OpenSCAD by roman_hegglin
...batteries in openscad by roman_hegglin
thingiverse
common batteries as modules for openscad.
thingiverse
free
OpenScad Propeller by KySyth
...se
trying to make a propeller with openscad = not tested
this is some of the results
added the openscad file but still need work
thingiverse
free
Openscad Cloud by Twanne
...openscad cloud by twanne
thingiverse
openscad cloud.
size can be adjusted
thingiverse
free
Geomag for OpenScad by vicnet
...geomag for openscad by vicnet
thingiverse
openscad file to design geomag things.