Skip to content
프로젝트

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

GitHub에서 보기

소개

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

과학 및 공학

이 수치를 측정하는 방법

What you can do

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

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

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.

관련 프로젝트 살펴보기

불러오는 중…