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.

科学与工程

这些数字如何统计

可以做什么

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

实测星标增长

24小时
0
7天
+1
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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.

探索相关项目

加载中…