Live demo · All demos
CAD viewer
A 3D viewer in the browser for STEP, IGES, STL and OBJ: rotate, section, measure, estimate weight and place comments directly on the model.
View a 3D model
Drag a file here (STEP, STP, IGES, STL, OBJ) or choose «Open file» above. The model is only read in your browser and is not uploaded.
Manual: CAD viewer
Purpose
The CAD viewer shows 3D models directly in the browser, without a CAD program. It is part of the client portal: customers see their models there, add comments and approve a version.
Usage
The demo starts with a sample flange. With «Open file» or by drag and drop you load your own model. The file is only read in your browser and is not uploaded.
- Views: iso, front, top, right and fit. Rotate with the mouse, zoom with the wheel, pan with the right button.
- Model: dimensions, volume, surface area and weight for the chosen material.
- Display: shaded, with edges, as wireframe or as x-ray view.
- Section: section plane in X, Y or Z, position with the slider.
- Measure: click two points, corners snap. Distance with delta X, Y and Z.
- Comments: click a spot and enter text. Clicking the comment restores the view.
- Save image: current view as PNG.
Note on the demo
Comments only last for this session. Approval is not active in the demo. Weight and volume are estimates from the mesh, the unit is millimetres.
Real solution
In the client portal the models are kept in file storage. Comments are saved and visible to everyone involved. An approval records name, time and checksum of the file. If the file changes later, the viewer shows it.
Third-party software
three.js (MIT licence) for rendering, occt-import-js and Open CASCADE (LGPL 2.1 licence) to read STEP, IGES and BREP. The licence texts are kept with the files under /assets/vendor/.