Skip to content

1.1.0

Latest

Choose a tag to compare

@info-bitbybit-dev info-bitbybit-dev released this 10 Jun 14:42
7c55f4b

Release Notes - v1.1.0

This release focuses on OCCT modeling power - new corner finishing tools, draft angles, a full matrix/transform toolkit, and an experimental B-Rep topology graph - plus cloud CAD improvements (compressed STEP files, sheet-metal unfold) and a more normalized decomposed-mesh format.

All @bitbybit-dev/* packages are published at 1.1.0 (base, occt, occt-worker, jscad, manifold, core, babylonjs, threejs, playcanvas, cad-cloud-sdk, create-app). This ships a new OCCT WASM kernel - the CDN now serves from git-cdn.bitbybit.dev/v1.1.0.

New OCCT features

Corner fillets & chamfers by point

A new occt.corners API lets you fillet or chamfer specific corners simply by pointing at them, instead of hand-picking edges:

  • filletCornerByPoint / chamferCornerByPoint - round or bevel the corner nearest a given point, with radius, taper factor, snap tolerance, and corner-mode control.
  • classifyCornerByPoint / cornerByPointReport - inspect a corner before modifying it.

Draft angles

A new occt.draft API for mold/casting-style draft:

  • draftAngle - apply a draft angle to selected faces about a neutral plane.
  • makeDraft / makeDraftToShape - generate drafted geometry.

B-Rep Graph (experimental)

A new occt.brepGraph API exposes the boundary-representation topology of a shape as an analyzable, serializable graph:

  • analyze, faceAdjacency, edgeFaceMap, vertexEdgeMap, faceInfo, edgeInfo, wireInfo, containment, assembly
  • validate and dump for inspection/debugging
  • reconstruct / nodeOfShape to round-trip and look up nodes

This is a first experimental release - the API surface may change in future versions.

New transforms & matrix support

A large set of matrix-based transform helpers landed in occt.transforms, enabling proper matrix workflows and matrix-driven assembly instances:

  • Build matrices: translationToMatrix, rotationAxisAngleToMatrix, quaternionToMatrix, scaleUniformToMatrix, mirrorPointToMatrix / mirrorAxisToMatrix / mirrorPlaneToMatrix
  • Compose & apply: composeTransform, multiplyTransforms, invertTransform, transformByMatrix, transformShapesByMatrix, getShapeTransform
  • Convenience ops: rotateByQuaternion, mirrorAboutPoint, scaleFromCenter

Additional wire & fillet methods

  • createWiresBetweenStartEndPointsOfWiresAndEdges
  • createWiresBetweenSubdividedPointsOfWiresAndEdges
  • Extra fillet and solid helpers.

CAD Cloud / SDK (@bitbybit-dev/cad-cloud-sdk)

  • Compressed STEP (.stpz) support - gzip-compressed STEP data is now automatically decompressed on input, including for sheet-metal unfolds.
  • Gzip support on the API layer for smaller payloads.
  • Sheet-metal unfold operations added to the pipeline (unfoldFaceToFlat, unfoldFaceReport, unfoldSolidToFlat, unfoldSolidReport).
  • Draco geometry compression knobs for glTF/GLB export (useDraco, dracoCompressionLevel) on assembly and STEP→glTF conversions.
  • Updated OpenAPI docs to match.

Decomposed mesh normalization

The decomposed-mesh format used to represent meshed solids across the bitbybit ecosystem is now normalized to consistent camelCase fields (e.g. vertexCoord, edgeIndex), making it a clean, file-friendly representation. Drawing now natively detects and renders decomposed meshes (detectDecomposedMesh / detectDecomposedMeshes), and C++/native drawing of OCCT shapes is wired up.

Potentially breaking: decomposed-mesh was internal construct, but if you consumed decomposed-mesh objects directly, snake_case fields like vertex_coord / edge_index are now vertexCoord / edgeIndex.

🛠️ Fixes & improvements

  • Cache helper no longer chokes on large STEP files.
  • create-app scaffolder and Vite/cloud templates bumped to 1.1.0.

Docs

  • learn.bitbybit.dev (Docusaurus) updates, fixed learn icons, and refreshed OpenAPI/CAD-Cloud reference docs.
  • Updated runnable examples across frameworks.
  • Refreshed language resources across all supported locales.