Repository navigation
1.6.1
Release Notes v1.6.1
A small release on top of 1.6.0, about how shapes mesh and look:
- Meshing can size its precision by each shape's bounding box (
precisionShare). - Drawing options gain edge widths that follow the model's size and a wire colour.
- The BabylonJS context takes drawing defaults for anything drawn without options of its own, and the skybox gains nine photographed environments.
- Manifold recipe cuts now reach through walls they stop just short of.
- The documentation site's sources leave this repository.
No function was added or removed (2,205 in all), and no default changed, so a script draws as it did in 1.6.0 until it sets one of the new options. The OCCT kernels and engine versions are the same as in 1.6.0, so upgrading is a version bump.
Upgrading from 1.6.0
-
Nothing to change. Every new option is optional, and left out keeps 1.6.0's behaviour:
precisionShare0,edgeWidthBySizefalse, nowireColour, nodrawDefaults. -
One output changes: a Manifold recipe cut whose tool ends within the recipe's
toleranceof the solid's face now cuts through it. In 1.6.0 that left a skin a rounding error thick over a window, or a sliver under a door. See Manifold recipes. -
core's
defaultEdgeColortakes two more optional parameters,wireColourandfacesDrawn. Existing calls are unaffected. -
Links into
docs/:- the agent guides are in
guides/; - the API overview is
API.mdat the root; - the CAD Cloud OpenAPI document is
packages/dev/cad-cloud-sdk/openapi.json.
learn.bitbybit.dev keeps every address.
- the agent guides are in
Meshing: a precision share
precisionShareraisesprecisionto that share of the longest side of each shape's bounding box. Large shapes mesh coarser and small ones keepprecision, so one setting suits a single part and a whole assembly. It runs from 0 to 1 and is ignored withrelativeDeflection.- It is on
shapeToMesh,shapesToMeshesand the OCCT drawing options. The CAD Cloud SDK's pipeline types carry it too.
Drawing
edgeWidthBySize:edgeWidthscales with the diagonal of what is drawn, as if it were 10 model units, so edges look alike at any size. It is not meant for design builds.wireColour: the colour of edges drawn without faces (a wire, an edge, ordrawFacesoff), used in place ofedgeColourandedgeContrast. Appearance edge colours still win.- Both work in the BabylonJS, three.js and PlayCanvas renderers.
- BabylonJS,
drawDefaultson the context: the lookbitbybit.drawgives anything drawn without options of its own.- It holds defaults for OCCT shapes, Manifold solids and cross sections, JSCAD meshes and lines, plus the metallic and roughness of materials made from colours.
- Options a script passes are used as they are.
- BabylonJS, nine photographed skyboxes in
skyboxEnum:studio,partlyCloudy,sunset,clearDay,fairWeather,overcast,morning,duskandnight. They load prefiltered environments from the Bitbybit CDN and light the model as well as filling the background.
Manifold recipes
- A cut reaches through within the recipe's tolerance. Manifold has no fuzzy boolean, so before each cut, any side of the tool that lies within
toleranceof the same side of the solid is movedtoleranceout through it.- Only those vertices move. A niche keeps its depth, and an opening keeps its outline.
- An opening made of several parts is reached part by part.
- Not reached: a face inside the solid's box (the inner corner of an L-shaped wall), and solids whose sides do not run along the cut's axes.
Tooling and docs
- The documentation site's sources are no longer in this repository. learn.bitbybit.dev is unchanged.
- The guides that the MCP server serves and the package tests run are in
guides/, under CC BY 4.0 likeAPI.md. - Earlier versions of the docs keep the licence they were published under.
- The guides that the MCP server serves and the package tests run are in
- The IFC corpus compares surface areas and holds agreement to per-file floors.
Dependencies
- No engine or kernel changes: Babylon.js 9.32.0, three.js 0.186.1, PlayCanvas 2.23.3, manifold-3d 3.5.4, JSCAD 2.13, and the same OCCT kernels as in 1.6.0.