Sunday, September 7, 2014

FME and 3D printing.

3D printing.

3D printing has been around since the 1980's, but it is only in the last few years that a real boom in its application has taken place especially for domestic use.
The most commonly used format (e.i de facto standard) is the STL, which comes in two types (ASCII and Binary).
3D print.

STL format and FME.

If you search for this format in the Readers and Writers documentation, you will find that FME does not support it.
Well not directly since no reader or writer are available, but indirectly, because it is plain text and FME can create and write STL files.

3DS to STL transformation.

There are lots of 3D files available on the web, and since it was around lunch time... I have selected this fork for testing.
3DS in the Data Inspector.
The 3DS fork is represented as a IFMEMesh geometry, which is to say that it is composed of parts that do not necessarily have a topological or spatial relationship.

These are also the parts that need to be represented in the STL format, adhering to simple format definitions.

So its not surprise that with FME the mesh geometry can be transformed and written to the STL format.

Workspace.

The workspace is quite simple and there are but a few steps necessary.
  1. Firstly decomposing the geometry to its components.
  2. the coordinates are extracted into attributes, here is also where I drop the geometry since it is not needed anymore (get rid of anything unnecessary, another FME rule).
  3. Some formatting is taking place to represent the coordinates as floating point numbers (StringFormatter), although some applications export into STL without the floating point representation.
  4. Finally creating the output by aggregating the coordinate values and concatenation.
A text file writer is all that is necessary to write the STL format.

 Result.

Result STL file.
Since FME does not support the STL format it cannot be viewed in the Data Inspector, but no worries there are plenty of visualization tools available.
I am using the freely available Meshmixer to display the result.

I dont have a 3D printer, so in case you have tried yourself to create a STL file with FME and printed the result, it would be great to know.

2 comments:

  1. 3D laser scanning can make a 3D visualization of any object. A 3D printer can print the 3D visualization made by 3D laser scanning. If you want to get the best 3D laser scanning service in Canada then you can contact Onsite3D. 3D laser scanning service Grand Prairie, Alberta

    ReplyDelete
  2. Digital CD printing using one of these printers is slow but there are no fixed set up costs involved. This is fine if the order quantity of discs is less than 100, or 200 if there is no fixed, imminent deadline for the order. 3dm8

    ReplyDelete