Preview3D - quick previews of 3D models and G-code, with export

Back when I was still on Windows, I installed PowerToys and suddenly had PrusaSlicerA free, open-source slicer from Prusa Research. It prepares models for Prusa and other printers and saves multi-colour projects as 3MF. G-codeThe instructions a 3D printer or CNC machine follows: where to move, how fast and how much material to extrude. A slicer generates it. previews right in File Explorer. It was a pleasant surprise. When I later moved to macOS, I quickly got used to previewing files in Finder with the space bar.
What I missed were previews and thumbnails for STEPA neutral format for exchanging CAD models (ISO 10303). Unlike STL, it carries the exact geometry of solids, not just a mesh of triangles. Extensions .step and .stp. files, which I use more and more. So I started building Preview3D, a macOS nad iPad app that brings Quick LookThe macOS preview you get by pressing Space, without opening an app. Apps can extend it to more file types and add thumbnails in the Finder. previews and Finder thumbnails to STEP files.
Before long, support grew beyond STEP to include many of the 3D formats I work with every day.

I ended up adding support for the common 3D formats too, so there'd be no need for a separate app per format. Besides Quick Look, the app also generates the thumbnails shown in the Finder - so a folder full of CAD exports stops looking like a folder full of blank sheets of paper.
And once I had previews of 3D models, including colour rendering of models painted in PrusaSlicer as 3MFA 3D printing format that carries units, colours, materials and print settings along with the mesh. PrusaSlicer and Bambu Studio both use it., I decided to add G-code previews as well, to make the support for 3D printing complete.
Building the iPad version wasn't that hard after that, and being able to look at a model in AR comes in handy now and then.

Update from September 2026
A fair bit has happened since this was written. Preview3D now runs on iPhone and Apple Vision Pro as well as Mac and iPad - same purchase, no second payment.
It reads the colours of multi-colourPrinting one model from several filaments at once, for example with a Prusa MMU or a Bambu AMS. Which part gets which colour is stored in the 3MF file. 3MFs from PrusaSlicer and from Bambu Studio, so a model shows in the colours it will be printed in.
And the Info panel has gained a model check: whether the meshThe surface of a 3D model made of vertices, edges and faces, usually triangles. STL and OBJ store meshes, and programs like Blender edit them. is closed, how many holes and non-manifoldAn edge shared by more than two faces (or by only one). A mesh with such edges is not a closed solid, and a slicer may not print it correctly. edges it has, and how many separate parts it falls into.
Most of all: for your model here on PrintablesPrusa Research's community site for sharing 3D printable models, with ratings, users' prints and contests. you can now generate an animated picture in which the model keeps its own colours - with a QR code in the corner that lets anyone stand it on their desk in AR, without installing anything.
I wrote a separate article about it: Your model is orange right now. It doesn't have to be, and it can stand on someone's desk.
Supported formats
The app handles roughly twenty formats. The ones you're likely to use:
- STEP and STP - CAD data from suppliers and from your own designs
- 3MF - including multi-colour projects from PrusaSlicer
- G-code and binary .bgcode - the output from your slicerA program that cuts a 3D model into layers and works out the nozzle's paths, producing G-code for the printer. PrusaSlicer, OrcaSlicer and Bambu Studio are slicers.
- STLThe most common format for 3D printing. It describes only the surface of a model as a mesh of triangles, with no colours, materials or units., OBJ, PLY - the classics for 3D printing and meshes
- glTF, GLB, USDZ, DAE - models for the web and AR
- FBX, 3DS, X3D, LWO and more - via the Assimp library
The interesting ones are the formats macOS can't handle on its own. STEP, painted 3MF, FBX and 3DS won't render without help - and that's exactly where the difference shows up between a blank icon and "I can see what this is".

STEP - the format that started all this
I soon found out it wouldn't be that simple. For tessellationTurning an exact B-rep solid into a mesh of triangles, so it can be drawn on screen or saved as STL. The finer it is, the more accurate, and the larger. - turning a B-repBoundary representation: a solid described by exact faces, edges and vertices. CAD kernels work with geometry this way, and STEP stores it so. solid into a triangle mesh - there's no available library I could have used in a macOS app.
So I wrote my own. It's called StepKit, it's written entirely in Swift, and it takes care of both reading STEP files and turning them into triangles.
Thanks to it you can view simple parts as well as complex assemblies. An assembly shows a part tree - click a part to highlight or isolate it, and you can export just that one part.
The app also shows detailed information about the model: volume, surface area, centre of mass, bounding-box dimensions, the number of faces and edges, and whether the model is watertight. For STEP files it additionally reads PMIProduct Manufacturing Information: dimensions, tolerances, surface finish and notes for manufacturing, stored in the 3D model instead of on a drawing. - the dimensions, tolerances and datums written into the file itself under the AP242An application protocol of STEP (ISO 10303-242). Besides the geometry it carries PMI and GD&T, so the model holds everything manufacturing needs. standard, which you'd otherwise only find on a drawing.
Export goes to STL, OBJ, GLB, PLY or USDZA 3D format from Apple and Pixar, built on USD. iPhone, iPad and Vision Pro can show it in augmented reality straight away.. You can also save a snapshot of the current view as a PNG, at 1×, 2× or 4× resolution.

3MF - multi-colour prints in their filament colours
PrusaSlicer projects are saved as 3MF, so having previews for that format made sense too. And now that multi-colour models keep appearing, I wanted those previews in colour - including the painting for multi-material prints.
PrusaSlicer stores the painting as information attached to each individual triangle. Preview3D reads it and shows the model in its filament colours, including brush detail finer than a single triangle. So you see the finished multi-colour print before it leaves the slicer.

G-code - the toolpath, layer by layer
The last of the formats that matter for 3D printing are .gcode and the binary .bgcode. These files contain rendered previews — the ones you see on the printer, in Prusa Connect or in the Prusa app. So why not have them in the Finder as well. The preview works for both formats, and alongside the image it shows the print time, filament use and material.
When you open the file, you can switch to an interactive view, the kind you know from the preview in PrusaSlicer. Toolpaths are coloured by feature type (perimeters, infill, supports, bridges and more), using the same colour palette as PrusaSlicer.

And it isn't only about G-code from PrusaSlicer - the app also understands the markers used by OrcaSlicer, Bambu Studio, Slic3r and Cura.
On the left there's a vertical layer slider. Drag it and you can look at the individual layers at any height.
The view is optimised for speed. A small model like a Benchy is drawn in full detail; larger and more complex models may be drawn in a simplified form so that moving around stays fast and smooth.
On iPad
The iPad does the same thing, layer slider included. On top of that you can use AR to place the model in the room and walk around it - handy for shapes that are hard to judge from a picture, or when you want to show something to someone else.

The model is placed in AR at roughly 20 cm, not at its real size. There's a reason: 3D files don't agree on units, and plenty of them carry no unit at all. You'll find the real dimensions in the info panel, in millimetres.
From a weekend idea to a $9.99 app
In the end, what started as an attempt to build a simple app for viewing STEP files turned into an app that does a great deal more. It was also a lot more work than I originally expected. So I decided to release it on the App Store for a one-time $9.99.
No subscription, no in-app purchases, no account. One purchase covers both Mac and iPad (Requires macOS 14+ or iPadOS 17+) The app has no network access - everything runs on your device and no file is sent anywhere.
If you give it a try, tell me what format you threw at it and whether it opened at product web page preview3d.app or in comments. That's the feedback I care about most.
This article was first published on Printables.



Comments
No comments yet. Be the first.