Yet Another CAD Viewer (server)
Project description
Yet Another CAD Viewer
A CAD viewer capable of displaying OCP models (CadQuery/Build123d/...) in a web browser.
Features
- Cross-platform: works on any modern web browser.
- All GLTF 2.0 features (textures, PBR materials, animations...).
- All model-viewer features (smooth controls, augmented reality...).
- Load multiple models at once, load external models and even images as quads.
- View and interact with topological entities: faces, edges, vertices and locations.
- Control clipping planes and transparency of each model.
- Select any entity and measure bounding box size and distances.
- Fully-featured static deployment: just upload the viewer and models to your server.
- Live lazy updates while editing the CAD model (using the yacv_server).
Usage & demo
The latest build is available at https://yeicor-3d.github.io/yet-another-cad-viewer/.
Live updates
To see the live updates you will need to run the yacv_server and
open the viewer with
the preloadModels=ws://<host>:32323/
query parameter (by default it already tries localhost).
Note that yacv_server also hosts the frontend at http://localhost:32323/
if you have no access to the
internet.
Static deployment
To deploy the viewer and models as a static website you can simply copy the latest build directory to your server.
To load models use the preloadModels=...
query parameter in the URL.
It can be set multiple times to load multiple models.
Note that you can simply reuse the main deployment and host only
your own models (linking them from the viewer with the preloadModels
query parameter).
To see a working example of a static deployment you can check out the demo.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for yacv_server-0.1.0-cp311-cp311-manylinux_2_39_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e974a222b2954f866f24af321ceff8c5e660031de07bb24d187055f0bc3af1a7 |
|
MD5 | 55127767a9795a03a9f9643262b53ee7 |
|
BLAKE2b-256 | 5cdde2f1ea26089ef1d15fb4a3c7da3e2108fafcbb884b91c488e6e82339c2a1 |