What is the about?

I work with 3D CAD creating 3D models. In the process I deal with exporting STL files and then uploading those files to Shapeways for printing or to submit to a slicer to create the G-Code for my Prusa i3 MK3 filament printer. That’s nothing unusual. What this is about is that STL file and how the file contains NOTHING to indicate units.

Following I created four cubes. They in turn measure an inch, a foot, a millimeter and a meter on a side. I then exported the STL file for each in ASCII so I could open in Notepad.

I removed the loops in each file as it does nothing but take up space for this discussion. I left the vertexes. There are 12 vertexes on a cube. This file locates those 12 vertexes and connects them with a line to form the cube we see on screen. I also deleted the carriage return for each line so the endfacet statement falls on the end .. simply to compact the text so I can show it.

Decimal Inches

Decimal Feet

Decimal Milimeters

Decimal Meters


What does this tell us?

IT DOES NOT MATTER WHAT UNITS YOU USE TO MODEL. The STL file only has numbers. In the above, every single vertex is listed as 1.0 or -1.0 .. doesn’t matter if inches, feet, millimeters or meters.

Why is this important?

Most slicers assume you are modeling in mm. When you upload a file to Shapeways you tell them what unit of measure you are modeling in. You upload a STL file and it doesn’t matter as the above shows if you modeled in in, feet, mm or m .. the STL file contains numbers only and if you tell Shapeways that it is in mm then that is what it will print the model at.

Sketchup was originally designed for Architects … and while it handles feet and inches and fractions just fine it balks at any radii below 0.018″. That is a problem for us that are modeling very small items such as in 1:97 or 1:48 scales.

Simple. I set my Units in Sketchup to inches and model in mm. If I want a cube that is 1 inch square then I model a cube 25.4 on a side .. that is it. When I upload to Shapeways or to a slicer I simply tell the website or the software that the model is in mm and everything prints EXACTLY to the size wanted.


Leave a Reply

Notify of