Skip to content
miracleworkscoPublic

About

An open-source implicit CAD kernel designed for agents

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

ink

An open-source implicit CAD kernel for agents.

What you can do with it

Lattices and blends

Gyroids, graded lattices and thousands of holes are each a line of code.

A gyroid heat exchanger cut open: two channels locked in one twisted wall A speaker grille whose holes write ink

Assemblies that move

Joints, linkages and gear trains in motion, checked for collisions.

A planetary gearbox turning in a clear housing A Strandbeest linkage walking

Proven checks

Clearance and collision checks prove claims over the whole continuous motion, not just at sampled frames. When one fails, ink gives the point and, for moving parts, the moment.

A pick-and-place arm moving bearings over a guard The same arm with a taller guard: the check finds where the gripper passes through it

Simulation

Strength, stiffness, buckling, vibration modes and steady or transient heat on the field itself, with no mesh. Topology optimization lays out a part within a volume budget. Inverse dynamics computes joint loads, speeds and motor efforts over a motion and checks motor, gearbox and bearing ratings. Every answer says how it was found and how far to trust it.

Export

STL, 3MF and GLB meshes, and DXF outlines for cutting.

Try it

ink.build runs ink and has 27,000 real parts to build with.

Claude Code

claude mcp add --transport http ink https://ink.build/mcp

Codex

codex mcp add ink --url https://ink.build/mcp

Any other MCP client

If it supports remote servers with sign-in, add:

https://ink.build/mcp

Then ask your agent for a part. The guide shows how to direct it.

Build from source

Requires Rust 1.95 or newer. The repository holds two Cargo workspaces:

Folder What's inside
kernel/ The implicit CAD engine, the .ink language and standard library, and ink (CLI and MCP server).
sim/ Simulation packages built on the kernel (FEA studies, topology optimization and dynamics) in one combined ink binary. Sim README.

Local builds run without the hosted parts catalog or share links. To run ink locally with simulation included, build sim/, put sim/target/release on your PATH (or use its full path), and add ink mcp as a local MCP server:

(cd sim && cargo build --release)

Or build the kernel alone (kernel/target/release/ink):

(cd kernel && cargo build --release)

Run tests from either folder:

(cd kernel && cargo test)
(cd sim && cargo test)

More

License

MIT. See LICENSE.

About

An open-source implicit CAD kernel designed for agents

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages