Important Notice: This is a repost of The Building Coder by Jeremy Tammik. Provided for the community.
Looking for AI-powered Revit automation? Check out ArchiLabs →

By Philippe Leefsma

This post is demo-ing the capabilities of a 3D JavaScript based library, Threejs and WebGL.

You need to use a browser supporting WebGL for the demo to work, so it only includes Chrome, Firefox and Safari.

And you also need to have WebGL enabled on those browser. See here for more details about how to enable it.

The full source code is available here:

WebGL Viewer.zip

Here are some .json file I created with Inventor to play with: download them locally and drop them in the upper zone...

Analyze.json

Arbor Press.json

Cylinder Clamp.json

Suspension Fork.json

 
Drop .json file here...
 

Commands:

Z + Mouse to Zoom

P + Mouse to Pan

R + Mouse to Rotate