1.0.0-rc.2
1.0.0-rc.2 Release Notes
Highlights
This release introduces the @bitbybit-dev/cad-cloud-sdk - a type-safe TypeScript SDK for the Bitbybit CAD Cloud API. It upgrades the geometry kernel to OCCT v8.0 beta 2, updates all three rendering engines to their latest versions, adds a safe arithmetic expression evaluator, and passes custom CDN URLs through to web workers for correct WASM loading.
CAD Cloud TypeScript SDK (@bitbybit-dev/cad-cloud-sdk)
A new standalone npm package that lets you integrate Bitbybit's managed cloud CAD servers into any TypeScript backend (Node.js, Hono/Cloudflare Workers, Deno, Bun, etc.). Your API key stays on the server - never exposed in frontend code.
Learn more: https://learn.bitbybit.dev/api/sdk/typescript/intro
SDK Capabilities
| Endpoint | Description |
|---|---|
client.models |
Submit parametric model jobs (single & batch), poll for results |
client.cad |
Execute raw CAD operations, run pipelines, and compounds |
client.convert |
STEP → glTF conversion (simple & advanced tessellation controls) |
client.files |
Upload files via presigned URLs, manage uploaded assets |
client.tasks |
Poll, list, and cancel running tasks |
Pipelines
Chain multiple CAD operations in a single request with step references ($ref:N), file inputs ($file:N), iteration (map with $item/$index), and branching (choice). Build them via the type-safe SDK step() helper or visually in Bitbybit Studio.
Learn more: https://learn.bitbybit.dev/api/sdk/typescript/pipelines
Client-Side Validation
All requests are validated against JSON Schema before hitting the network (enabled by default). This catches parameter errors instantly, saves compute time, and throws a structured BitbybitValidationError with detailed paths to invalid fields.
Learn more: https://learn.bitbybit.dev/api/sdk/typescript/validation
Example Projects (5 backends + shared frontend)
| Backend | Stack |
|---|---|
hono-rest |
Hono (Cloudflare Workers) — raw fetch |
hono-sdk |
Hono (Cloudflare Workers) — SDK |
nodejs-rest |
Express 5 — raw fetch |
nodejs-sdk |
Express 5 — SDK |
dotnet-rest |
ASP.NET Core (.NET 10) — HttpClient |
All share a single React 19 + Vite + Three.js frontend demonstrating model generation, batch generation, pipelines (translate → union → fillet, map, choice), and file upload + conversion.
New Base
OCCT v8.0 beta 2
OpenCASCADE Technology v8 has reached stable beta - no further functional changes are expected. Bitbybit now ships the latest OCCT v8 beta 2 WASM builds across all variants (32-bit, 64-bit, 64-bit multi-threaded).
BabylonJS 9.5.1
Jumps from BabylonJS 8.x to 9.5.1. This is a major engine upgrade bringing the new rendering architecture, performance improvements, and many new features.
https://forum.babylonjs.com/t/welcome-to-babylon-js-9-0/62940
Three.js 0.184.0
Updated from 0.182.0.
https://github.com/mrdoob/three.js/releases/tag/r184
PlayCanvas 2.18.1
Updated from 2.15.1.
https://github.com/playcanvas/engine/releases/tag/v2.18.1
New Features
Safe Arithmetic Expression Evaluator (bitbybit.math.evalArithmetic)
A new method in @bitbybit-dev/base that safely evaluates simple arithmetic expressions (+, -, *, /, parentheses) using the shunting-yard algorithm.
bitbybit.math.evalArithmetic({ expression: "(3+2)*4" }); // → 20STEP → glTF Core Runner Example
A new standalone HTML example (examples/runner/core/step-gltf/) demonstrates client-side STEP-to-glTF conversion using the Bitbybit Core Runner - no rendering engine required. Users can upload STEP/STPZ files and download the converted GLB directly.
Custom CDN URL Propagation to Workers
The cdnUrl option is now properly forwarded to OCCT and Manifold web workers so they can override GlobalCDNProvider before loading WASM. Previously the CDN URL was hardcoded inside workers, which broke self-hosted or custom CDN deployments.
Documentation
- Full OpenAPI reference docs generated from schemas
- New SDK documentation pages: Intro, Models, Pipelines, Tasks, Conversion, CAD Operations, Validation, Files
- Worker protocol internals documentation
- Bitbybit Runner licensing page
- New blog posts
All Published Packages (1.0.0-rc.2)
@bitbybit-dev/base@bitbybit-dev/occt@bitbybit-dev/occt-worker@bitbybit-dev/manifold-worker@bitbybit-dev/jscad-worker@bitbybit-dev/core@bitbybit-dev/babylonjs@bitbybit-dev/threejs@bitbybit-dev/playcanvas@bitbybit-dev/cad-cloud-sdk(new)