Table of Contents
Molars is a crossplatform webapp aimed to help dental professionals analyse various scanned patient cavity models and then mould them to their whims before obtaining 3-D printable .stls.
The webapp works by rendering the given models on a HTML canvas using Three.js v75. Then it allows the user to select individual teeth and then deform it to there whim using FFD. Then once the modeling is done the user can export the new configuration as .stl files.
-
Clicking on a tooth selects it,then clicking on one of the control points (blue) selects it which then allows easy deformation using the arrows. Unselection works in a stacked manner, just double click and the app will unselect the last selected item, successive double clicks can be used to unselect everything
selection.mp4
-
Control the Opacity of the jaw model
-
Wireframe material on the models to show the intricracies of the model geometry
-
Changes the DPM to 2X, 3X or 4X
-
Export the modified models as .stls. Currently only exporting as base64 strings
- Vanilla HTML+CSS+JS
- ffd.js
- Three.js v75
Below are the instructions on setting up this project locally. To get a local copy up and running follow these simple example steps.
- Clone the repo
git clone https://github.com/Shoray2002/molars.git
- Start the Live Server
The Project is now running locally
The code is very sphagetti at some places and missing some features. Feel free to take on any issue
and even create new ones for things you consider this project lacks. Check out the links above if
you want a brief overview of tech used here and don't hesitate to ping me in case you get stuck.
Warning: There are numerous differences between Threejs v75 and latest. So cross compatibality may be a problem at some places.
Shoray - @ShoraySinghal - [email protected]
Deployment Link: molars
Personal Website: LordShorya
Distributed under the MIT License. See LICENSE.txt
for more information.