Skip to main content

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.

Demo

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yacv_server-0.1.0.tar.gz (496.6 kB view hashes)

Uploaded Source

Built Distribution

yacv_server-0.1.0-cp311-cp311-manylinux_2_39_x86_64.whl (501.2 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.39+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page