Skip to content
Projetos

yeicor-3d/yet-another-cad-viewer

Ver no GitHub

Sobre

A CAD viewer capable of displaying (and editing) OCP models (CadQuery/Build123d) in a web browser.

Ciência e engenharia

Como estes números são medidos

O que você pode fazer

  • 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.

Crescimento medido de estrelas

em 24 h
0
em 7 dias
+1
em 15 dias
+1
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

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.
  • Control clipping planes, transparency, edge/vertex sizes and explode each model.
  • View and interact with topological entities: faces, edges, vertices and locations.
  • Select any entity and measure bounding box size and distances.
  • Hot reloading while editing the CAD model (using the yacv-server package).
  • Fully-featured static deployment: just upload the viewer and models to your server.
  • Build123d playground! Code and build your model fully inside the browser: demo.

Usage

The example is a fully working project that shows how to use the viewer.

You can play with the latest demo here (or without animation).

Demo

Related projects

  • cq-studio provides an alternative workflow that detects file changes instead of relying on an interactive environment like Jupyter for hot-reloading. Uses the same backend and frontend behind the scenes.
  • yacv-watch is a wrapper script for yacv-server that enables live updates while letting you use your editor of choice (Emacs, Vim, Notepad, or anything else). Similar to cq-studio, but focuses on build123d rather than cadquery.
  • build123d-docker provides docker images for Yet Another CAD Viewer and other projects, with automatic updates.
  • OCP.wasm ports OCP (OpenCASCADE for Python) and supporting libraries to WebAssembly, enabling full in-browser CAD model generation and manipulation. This powers the build123d playground provided by this viewer.

Explore projetos relacionados

Carregando…