Hi Everyone,
Two months ago I made a forum post showing how to include locally saved 3D models in your obsidian notes in combination with the dataview plugin, since all implementations thus far required uploading your model to a website and using an iframe to see them.
So I turned it into a plugin and it has been approved and added to the actual obsidian community plugins list!
It currently supports .STL and .GLB files. And some basic modification settings such as position rotation and scene color. Here is a short video showing you how it looks.
The plugin contains orbitcontrols, so you can freely move around in your scenes and look at your models.
You will need to enable all file type extensions to be able to see 3d model file types in your vault. But if you follow the guide provided with the plugin it should all speak for itself. You can also read the README on github to get the basic information!
Please feel free to report any bugs, or request more features, and I hope this helps some people!
Note and precautions:
- A lot of models in one note will probably not work. Obsidian is limited in its amount of ram so a lot of models or very heavy models will be laggy.
- Currently the settings include a standard scale, since people tend to model in either meters, centimeters or mm, so if your model does not show up. Try playing around with the scale of the model!