Skip to content
项目

关于

Build123d in the browser!

科学与工程

这些数字如何统计

实测星标增长

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

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

README.md

原文

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

探索相关项目

加载中…