yeicor/OCP.wasm
소개
Build123d in the browser!
과학 및 공학측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalOCP.wasm — CAD Modeling in the Browser with WebAssembly & Pyodide
OCP.wasm brings the full power of build123d —the intuitive Pythonic 3D CAD library— directly into your browser.
No installs. No setup. 100% private browser-native code-first CAD.
This project ports the low-level dependencies required for build123d to run in a browser. For a fully featured frontend, check out Yet Another CAD Viewer or other projects using OCP.wasm below.
Performance and support may vary across browsers.
Quick Start
Go to the Pyodide REPL and run this code. Then, run your build123d script as usual.
(Optional) For extra tricks required for passing (almost) 100% of the build123d tests, see this code.
(Optional) To run all the tests in your (chrome-only for now) browser, use the Pyodide REPL and follow the intructions at the top of the test bootstrapping script.
Check out the Pyodide docs to integrate OCP.wasm into your own applications. Or look at the projects using OCP.wasm below for inspiration.
Projects using OCP.wasm
- Yet Another CAD Viewer: A CAD viewer capable of displaying OCP models (CadQuery/Build123d) in a web browser. (🌐 demo).
- build123dWebAssmGenDemo: A web-based 3D model generator that creates parametric models using Python and WebAssembly (🌐 demo).
- build123d-sandbox: A minimal webapp to expose the Python CAD library build123d in the browser using a compiled wasm OCP backend (🌐 demo).
관련 프로젝트 살펴보기
불러오는 중…