The typical source content for a 3D printer is an STL file, it comes from two main sources, a new design modeled with 3D CAD software or 3D digital information captured from a real part using a 3D scanner.
Here at Javelin we tried an alternative method – convert a 2D photo into 3D printable material! To achieve this SOLIDWORKS Certified Expert Dr. Irfan Zardadkhhan wrote a program in C++ that reads a PGM (Pixel Gray Map) file and translates the data into an X, Y, Z table. In the table, X and Y represent the location of the point and Z represents height, which equates to the gray intensity value of a pixel (when 0 is black and 255 is white).
Once the XYZ file is generated as a plain ASCII file, using the ScanTo3D SOLIDWORKS Add-in product the file is converted into a surface. Then SOLIDWORKS modeling tools are used to finish the 3D model data.
The model is then generated using a Stratasys Objet30 Pro 3D printer and the results are amazing. As you can see in the images the printed part contains a textured 3D face, the depth of the surface blocks provides the detail; and when you hold the part in front of a light source the original picture will show through.
Want to get started with SOLIDWORKS 3D Printing?
Our 3D Printing resources can help you to: