Repository navigation
smlibpy 0.2.3
smlibwasm is on npm, and every release publishes it from now on.
New
@classcad/smlibwasm on npm. smlibpy for JavaScript and TypeScript, on the kernel compiled to WebAssembly: npm install @classcad/smlibwasm. Releases publish it to npm through trusted publishing, with provenance, and attach the package and the WebAssembly module (smlibwasm.wasm, smlibwasm.mjs) to the GitHub release. Its STEP import reads files as smlibpy does, NX and tool-catalog files included, and readStep(path) and fromStepModel(data) give a StepModel with the file's coordinate systems, curves and points.
The JavaScript docs have what a browser loads (1.8 MB with brotli), the setup for Vite and the whole API in TypeScript. The README links to the documentation on the website.
Fixed
- STEP import: checking a body's B-spline faces for missing seams leaked the mesh it made for that.