Skip to content
commonplace-technologiesPublic

About

A modeling kernel for architecture based on paper surfaces: flat, ruled and developable faces you can cut from sheet and lay flat exactly. TypeScript, runs in a browser or Node.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Commonplace kernel

CI License: Apache-2.0 API reference

A modeling kernel for architecture based on paper surfaces: flat, ruled and developable faces that can be cut from sheet and laid flat exactly. It is written in TypeScript and runs in a browser or in Node, with no native code, no WebAssembly and no server.

It is two packages, and a server that lets an AI agent use them:

  • @commonplace-technologies/kernel (src/kernel/): the model, the verbs that edit it, its history, the read side, display tessellation, save and load.
  • @commonplace-technologies/kernel-step (src/kernel-step/): STEP reading and writing, an interop add-on. Import places manufactured parts bought from a catalog (fixtures, furniture) in a model for context; export sends parts to fabrication.
  • @commonplace-technologies/kernel-mcp (src/kernel-mcp/): an MCP server, so an agent such as Claude can build a model with the kernel's verbs, look at it, check it, and export it as STEP, STL, OBJ or a flat paper pattern.

Where to start

Status

Pre-release. Everything in 0.1 is experimental: names and signatures can change between releases. On npm as @commonplace-technologies/kernel and @commonplace-technologies/kernel-step.

Licensed under the Apache License, Version 2.0: see LICENSE.

Build and test

Node 20 or later.

npm ci
npm run check:kernel-package   # the package boundary and both type checks
npm run build:kernel           # dist-kernel/, dist-kernel-step/ and dist-kernel-mcp/
npm run test:kernel-package    # the built packages, used as a consumer uses them
npm test                       # the kernel's tests

manifold-3d in devDependencies is a test oracle only: some tests check a solid's volume against it. Neither package depends on it, and neither ships WebAssembly.

npm run example:kernel, npm run example:kernel:step and npm run testbed:kernel run the examples.

Development before publication was private; the history here starts at publication. The kernel was built with the help of agentic coding tools, under a test discipline you can read in the tree: every verb either commits a model the validator accepts or refuses with a code, and every known limitation is pinned by a test.

About

A modeling kernel for architecture based on paper surfaces: flat, ruled and developable faces you can cut from sheet and lay flat exactly. TypeScript, runs in a browser or Node.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages