Skip to main content

11 docs tagged with "JSCAD"

JavaScript-based solid modeling with CSG primitives and operations.

View all tags

Choosing a Kernel

When to model with OpenCascade, when with Manifold and when with JSCAD, what each is good and bad at, how a shape moves from one kernel to another, and which way each one builds up.

Geometry with the CAD kernels: writing parts with an agent

How an agent writes 3D geometry with Bitbybit's kernels - OpenCascade for exact parts, Manifold for fast meshes, JSCAD for quick solids - in the browser, in the editors or in Node, how it chooses edges, checks a shape and exports it, and the mistakes to avoid.

Getting Started Overview

What bitbybit.dev offers and where to begin - projects and scripts, the Rete, Blockly and TypeScript coding editors, the Designer, the free npm packages, CAD Cloud, 3D Bits for Shopify and the model configurators.

How Bitbybit Works

The ideas under every Bitbybit product - CAD kernels in web workers, shapes as handles, geometry versus drawing, the three renderers, where each product runs your code, and what is open source.

Our NPM Packages

Discover the free NPM packages that power Bitbybit, allowing you to integrate our 3D CAD algorithms into your own applications.

Quick Start with BabylonJS

Learn how to set up and use the @bitbybit-dev/babylonjs package with Vite to create 3D CAD applications, and control which geometry kernels (OCCT, JSCAD, Manifold) are initialized.

Quick Start with PlayCanvas

Learn how to set up and use the @bitbybit-dev/playcanvas package with Vite to create 3D CAD applications, and control which geometry kernels (OCCT, JSCAD, Manifold) are initialized.

Quick Start with ThreeJS

Learn how to set up and use the @bitbybit-dev/threejs package with Vite to create 3D CAD applications, and control which geometry kernels (OCCT, JSCAD, Manifold) are initialized.

Shapes Live in a Worker

Why every kernel call is asynchronous, why a shape in a script is a small handle, why operations never change their inputs, and how the worker's memory of shapes is kept and freed.

Text in 3D Compared

The ways to write text in Bitbybit side by side - OCCT stroke wires, plain stroke points, JSCAD stroke solids and real fonts with the Pro text3d - what each gives you, where it lands, which font it uses and how fonts load - with an example in Rete, Blockly and TypeScript.

The JSCAD Kernel

JSCAD, Bitbybit's polygon kernel for quick solids - primitives, flat polygons and paths, extrusions with a twist, hulls, booleans, expansions and stroke-font text - with examples in Rete, Blockly and TypeScript and a table of every function.