All demos › Formats
A WordPress STL Viewer for CAD and 3D Printing Files
The same 4 KB STL bracket in all three viewers. Drag the first two to rotate; the third is locked.
Free
Advanced viewer
STL · 4 KB
01 · Plain shading
Drag to rotate.
02 · Edge lines on
Chosen starting angle. Edge Threshold 20° decides which folds get a line.
03 · Locked view
No rotating, no zooming, no fullscreen. A read-only display for spec sheets: visitors can see the part, but they cannot move it around.
A free WordPress STL viewer that also opens OBJ, STEP, FBX, DAE, 3DS, WRL and 3MF files with no conversion, using the built-in Advanced viewer (Online3DViewer). The same part is shown below with and without CAD-style edge lines, from a chosen starting angle, and in a locked, look-only mode.
01
CAD files, no conversion
STL, OBJ, STEP, FBX, DAE, 3DS, WRL and 3MF files open as they are in the built-in Advanced viewer (Online3DViewer).
02
Edge lines for a CAD look
Show Edge draws lines along the folds of the part. Edge Threshold decides which folds get a line.
03
Lock it for spec sheets
Turn off Mouse Control, Zoom and Fullscreen and the part becomes a read-only display: visitors can see it but cannot move it.
How it works
How edge lines and the starting view work
Show Edge
Draws CAD-style lines on the model. In this demo the Edge Color is #1b1f23.
Edge Threshold
Decides which folds get a line. Where two surfaces meet at a gentler angle than the one you set (20° here), the viewer treats it as a smooth curve and draws no line.
Start camera
Saved as {eye, center, up}: where the camera sits, the point it looks at, and which way is up.
Good to know
- The Advanced viewer ignores the main
Fullscreensetting and uses theFullscreenswitch in its own options instead. - Its saved starting angle (
camera) is ignored when the viewer shows several models.
Setup
Set it up in 3 steps
1
Upload your file
STL, STEP, OBJ, FBX, DAE, WRL and 3MF files upload straight to the media library. IFC, PLY and 3DM files do not: host them somewhere else and paste the file’s URL instead.
2
Choose the Advanced viewer
Switch the block to the Advanced viewer (Online3DViewer). For CAD-style lines, turn on Show Edge and set an Edge Color and Edge Threshold.
3
Save a starting angle
Use the Set Initial View button in the block editor. For a look-only viewer, turn off Mouse Control, Zoom and Fullscreen.
Under the hood
Settings used in this demo
| Setting | Value |
|---|---|
| Viewer | Advanced (Online3DViewer) |
| Show Edge | on, Edge Color #1b1f23, Edge Threshold 20° |
| Start camera | {eye, center, up} — where the camera sits, the point it looks at, and which way is up. The easy way to save it is the Set Initial View button in the block editor; if you edit it by hand, keep these three in this order. |
| Locked viewer | Mouse Control off, Zoom off, Fullscreen off |
| Upload note | STL, STEP, OBJ, FBX, DAE, WRL and 3MF files upload straight to the media library. IFC, PLY and 3DM files do not — host them somewhere else and paste the file’s URL instead. |
FAQ
Questions about the STL viewer
Quick answers before you set up your own viewer.
Which file formats can it show?
STL, OBJ, STEP, FBX, DAE, 3DS, WRL and 3MF, with no conversion, using the built-in Advanced viewer (Online3DViewer).
Can I upload IFC, PLY or 3DM files?
Not to the media library. Host them somewhere else and paste the file’s URL instead. STL, STEP, OBJ, FBX, DAE, WRL and 3MF upload straight to the media library.
Why are some folds drawn without a line?
Edge Threshold decides which folds get a line. Where two surfaces meet at a gentler angle than the one you set, the viewer treats it as a smooth curve and draws no line.
Why is my Fullscreen setting ignored?
The Advanced viewer ignores the main Fullscreen setting and uses the Fullscreen switch in its own options instead.
Why doesn’t my starting angle apply?
The saved starting angle (camera) is ignored when the viewer shows several models. With one model, save it with the Set Initial View button; if you edit it by hand, keep eye, center and up in this order.
Keep exploring
Related demos
Performance & mobile
Show Real-World 3D Model Dimensions in WordPress
See width, height and depth measured live, and how to fix a file made off-scale.
Camera & controls
Camera Controls: Starting View, Reset and Lock
Choose the angle a model opens on and stop visitors flipping it upside down.
See all 17 live 3D Viewer demos
One feature per page, each with the exact settings behind it.
See it on a WooCommerce product page: Mounting Bracket. Or browse all WooCommerce 3D product demos.
Model: bracket.stl, generated for this demo, original, no licence restriction.