Go to file
Trammell Hudson 95574e3530 size tweaks
2015-03-07 13:19:36 -05:00
.gitignore ignore generated files 2015-01-25 22:24:53 -05:00
Bunny-LowPoly.stl parse binary stl, merge vertices 2014-12-11 20:29:09 -05:00
corners.c move corners to inside of the face, rather than end-caps. 2015-02-22 17:32:06 -05:00
dodecahedron-corner.scad plate of corners for the dodecahedron 2015-01-26 15:25:41 -05:00
dodecahedron.scad switch to cylinders rather than cubes 2015-01-25 22:24:01 -05:00
faces.c tweak distances to match 2015-02-15 17:24:16 -05:00
icosahedron-corners.scad corners for another platonic solid 2015-01-26 15:25:23 -05:00
LICENSE.txt license 2014-12-25 23:08:44 +01:00
Makefile svg faces generator 2015-02-15 12:48:51 -05:00
mobius-maker size tweaks 2015-03-07 13:19:36 -05:00
mobius-raw.stl generated 16-element mobius for testing 2015-01-04 11:12:13 -05:00
README.md wireframe 2015-01-25 22:36:43 -05:00
stl_3d.c Merge branch 'master' of github.com:osresearch/papercraft 2015-03-07 12:47:49 -05:00
stl_3d.h move inset into stl_3d 2015-02-15 16:13:32 -05:00
stl-convert stl-convert ASCII to binary 2015-01-04 14:10:41 -05:00
test1.scad make unequal dimensions 2014-12-14 13:10:07 -05:00
test1.stl make unequal dimensions 2014-12-14 13:10:07 -05:00
test2.scad test2 sphere 2014-12-14 13:38:52 -05:00
test2.stl test2 sphere 2014-12-14 13:38:52 -05:00
test3.scad test hexagon cross 2014-12-31 13:32:44 +01:00
test3.stl test hexagon cross 2014-12-31 13:32:44 +01:00
tetrahedron.scad move corners to inside of the face, rather than end-caps. 2015-02-22 17:32:06 -05:00
unfold.c turn off labels 2015-01-04 14:59:47 -05:00
v3.h move sign into v3.h 2015-02-15 14:59:45 -05:00
wireframe.c move sign into v3.h 2015-02-15 14:59:45 -05:00

Unfolded sphere

unfold reads a binary STL file on standard input and generates a SVG that contains the triangles "folded flat" so that they can be laser cut. It will output multiple groups in the SVG file that will need to be re-arranged to fit on the laser cutter bed.

More info: https://trmm.net/Unfolding_STL

This is a work in progress -- it is not yet feature complete. Current features:

  • Collision detection works to build a non-overlapping set of triangles.

  • Coplanar triangles will be merged if possible.

  • Mountain/valley folds are marked. Dashed line means valley fold.

  • Starting face can be selected or randomly chosen; some produce better results than others.

  • stl-convert script can convert OpenSCAD ASCII STL files into binary STL files for unfold to process.

Among the features that it could use:

  • A better heuristic for finding the maximum non-overlaping set of triangles (Currently breadth-first search is used, with a slight preference for coplanar triangles)

  • Tabs for securing parts together.

  • Collapsing of very small or very thin triangles.

Wireframed dodecahedron

wireframe reads a binary STL file on standard input and generates an OpenSCAD file that has each vertex replaced with a 3D printable connector to create a large-scale version of the object.

More info: https://trmm.net/Wireframe

This is very beta! It desperately needs some command line options and some smarts in labeling the connectors, especially if the structure is not regular. Also, it does not detect intersections between beams or if the nodes are too close together.