png23d is a tool which converts a PNG image into a three dimensional file suitable for modelling applications especially for 3D printers.
pgm |
Output a PGM format bitmap. This can be used to verify
the level and quantisation parameters are set correctly.
|
rscad |
Output a scad format file for use with OpenSCAD.
This file will be comprised of a union of cubes. The
finish cannot be controlled (it is raw blocks) and the
resulting scad object may be very complex.
|
scad |
Output a scad format file for use with OpenSCAD.
This file will be comprised of a single polyhedron mesh.
For larger images this polygon will be exceptionally
complex and may contain many thousands of triangles.
|
stl |
Output a binary stereolithography format file.
These files are comprised of simple triangles, the output
can be directly used by several 3D printing systems.
The generated meshes are a convex manifold but are not
simplified.
|
astl |
Same as the stl entry but generates a textural file
instead of binary.
|
0 |
No mesh optimisation will be performed. This will be fast to execute but the resulting mesh will be exceptionally complex and will almost certainly require additional processing in another tool such as meshlab.
|
1 |
Mesh simplification using edge removal algorithm will be performed. This process is relatively fast and the result maintains the exact blocky geometry from the generation process. Typically this produces reasonable results for non complex extrusions.
|
2 |
Mesh simplification using quadratic surface removal. This has not yet been implemented! Use a tool such as meshlab if you require this type of simplification.
|
To convert from foo.png to foo.scad in scad polyhedron output format:
To convert from foo.png to foo.stl in binary STL output format with smooth finish:
To convert from foo.png to foo.stl in ascii STL output format with smooth finish and 50 unit output width:
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.