3D Printing Asked by Rodrigo Franco on January 24, 2021
Is it possible to convert an image image to STL file format?
E.g. I don’t need the coloring, I need the lines.
For things like a coat of arms, you do not require a full 3D conversion, essentially all you need is a lithograph-like effect. The best program I've found for such conversions is 3D Builder which is a free Microsoft download for windows users (yes, I was surprised too). It can use either color or degrees of greyscale shading to determine the z-axis depth of each region in the picture. Makes the cleanest conversion I've found so far. Exports as a .3mf file but can be readily converted to an .stl for 3D printing (using something like SwiftConverter for example). Also has an option to invert the conversion which I've found quite useful.
Answered by John Bradbury on January 24, 2021
First you need a single color png image, you can do this by opening the file in any image editor (even Paint included with Windows) and painting white over all the colored pixels (more advanced image editors maybe able to do this automatically).
Then you can use OpenSCAD (free download from openscad.org), enter the following code: (obviously, replace the file path with your own)
surface("C:\Users\Nir\Documents\test.png",center=true);
Now press F5 (at this point you'll see a low quality preview), then F6 (to do a full render and view an high quality preview), then F7 to save the STL
The resulting model will be higher then you want but you can scale the result STL in your slicer (or use the OpenSCAD scale command if you prefer code)
Answered by Nir on January 24, 2021
I suggest your objective can best be accomplished by converting the image to a single color vector file. You can do this with Inkscape (free, Linux, Windows, Mac) by combining the built-in bitmap tracing feature with some manual editing. I attempted to do so, but the coarseness of the image would result in excessive manual edit time. It may even be faster to reduce the opacity of the image and create a manual tracing on a second layer.
Once you have a vector file, you can use any number of 3D modeling programs to convert the file to a 3D STL. Fusion 360, Tinkercad and OpenSCAD allow import of SVG files to be extruded to user-specified thickness.
Answered by fred_dot_u on January 24, 2021
PNGs are 2-dimensional picture data files. STL however is a 3-dimensinal surface data files. The two are not inherently transformable into one another, as there simply is no 3rd dimension encoded in the PNG.
However, there are ways to generate a 3rd dimension from a color picture:
Answered by Trish on January 24, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP