A lightweight local 3D model viewer for STL, OBJ, and 3MF with automatic centering and no grid, axes, or shadows.
3D Model Viewer is a lightweight Obsidian plugin for previewing local 3D model files directly inside notes.
It supports STL, OBJ, and 3MF files, with automatic centering, clean rendering, mouse rotation, zooming, and a view cube for quick view direction changes.
.stl.obj.3mfSTEP/STP files are CAD solid formats and are not displayed directly. Please convert them to STL, OBJ, or 3MF before using this plugin.
Insert a 3D viewer code block in your note:
```3d-viewer
[[your-model.stl]]
```
You can also use OBJ or 3MF files:
```3d-viewer
[[your-model.obj]]
```
```3d-viewer
[[your-model.3mf]]
```
The older stl-viewer code block is still supported:
```stl-viewer
[[your-model.stl]]
```
Open the Obsidian command palette and run:
Insert 3D model viewer block
Then select a supported model file. The plugin will insert the viewer block automatically.
main.jsmanifest.jsonstyles.css<vault>/.obsidian/plugins/three-d-model-viewer/
Restart Obsidian.
Enable the plugin in:
Settings > Community plugins > Installed plugins
MIT