
For example: rotate( 180/len(snub_dodecahedron_faces) - 90)Ĭylinder(r = 0.3,h = 0. your module on the x-y plane here, centered at the origin. Polyhedron polyhedron ( points, // array of three-dimensional vectors representing a point set faces, // array of four-dimensional vectors with each vector // a surface tile whose edge points are given as indices into // the points array convexity // Optimization parameters for preview. Map_verts(snub_dodecahedron_vertices, snub_dodecahedron_faces) to arrange modules on the faces for(i =) For example: cylinder(height = 1,r = 0.1,center = true, $fn = 32) your vertical module centered at the origin here. to arrange modules along the edges for(i =) to arrange modules at vertices for(i =) add polyhedra.scad to your project and include it include This provides direct access to the OpenSCAD polyhedron command for.

snub_dodecahedron_edges - an array of 2-tuples containing indexes into the vertices array, one tuple for each edge.snub_dodecahedron_vertices - an array of 3-vectors.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.Īll polyhedra are centered at the origin and have an edge length of 1.Įach shape includes an array of vertices, edges, adjacent_vertices, and faces.Īrchimedean solids also include separate arrays of faces that are of the same polygon shape.
