Skip to content

About

FormFabric - instead of Marvelous Designer: draw sewing patterns, sew them, drape them on a body w/ real cloth simulation, animate & export. Rust engine from the FormAI family of apps, runs on your own computer; can be driven by agents too. Runs locally, no account. Free & open-source under Apache-2.0.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

9 stars

Watchers

1 watching

Forks

Latest commit

 

History

289 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

FormFabric icon

FormFabric

Garment design; sewing patterns draped on a body with a real cloth simulation.
Draw pattern pieces, sew them edge to edge, drape them, animate and export,
in one window on your own computer. Agents drive it over MCP.

version v0.32.0 Rust 1.99 TypeScript and Vite macOS, Linux, Windows License: Apache-2.0 Status: released

Download FormFabric on formai.studio · Run it from source


The FormFabric Pattern workspace with the Dress Front piece selected: the pattern piece with a script F logo and colored seam lines on the left, the dress draped on a navy body in the 3D View with a swirling orange, violet and teal print and the F logo, and the Inspector showing the piece's name, position, particle distance, perimeter and area
The Pattern workspace: Dress Front selected on the flat pattern, the printed dress draped on a body in the 3D View.

Features · In the box · Agents · Under the hood · Download · Run from source


Pattern first

Draw panels in millimetres with exact numeric input, darts, notches and seam allowance, and exchange them as DXF-AAMA.

Real cloth

A native solver settles the fabric under gravity, contact and seams, with an opt-in GPU path on Metal, Vulkan and DX12.

To any 3D tool

Export OBJ, FBX, glTF, USD and Alembic with UVs and caches, or save the whole garment as a .ffbrc project.

Agent-ready

Every action is one engine command, so the window, a Python script and an AI agent over MCP drive the same document.

Features

  • Sewing patterns. Flat panels carry seams, darts, grain lines and notches, with a live seam check in millimetres.
  • Exact drafting. Draw panels in millimetres with numeric input, seam allowance and DXF-AAMA exchange.
  • Cloth simulation. Fast, normal, quality and final presets, with pins, wind and body collision with skin offset.
  • Real bodies. Drape on CC0 MPFB2 bodies or a Basic Form, then refit and re-drape as the pattern changes.
  • Finishing details. Zippers, buttons, topstitch, piping, elastic, pleats and gather.
  • Animation. A timeline with motion import and retargeting, recorded caches in layers, and keys for wind, fabric values and pins.
  • Export. Weld or unweld, thick or thin, quad remesh with seam-matched borders, texture baking and game-ready output.
  • Any 3D tool. OBJ, FBX, glTF, USD and Alembic with UVs and caches, or the whole garment as a .ffbrc project.
  • Home & library. The window opens on Home: recent garments w/ previews, the four sample garments as templates & a Trash you can restore from, over a Garments folder on your own disk. Files outside that folder are never moved or deleted.

Everything in the box

Draft and sew

Panels · Rectangles and ellipses · Curve tools · Darts · Slash and spread · Mirror and linked instances · Seams · Pleats · Gather · Tack

Drape and finish

CC0 MPFB2 bodies · Basic Form · Pins · Grab and pinch · Fit shell · Refit and re-drape · Zippers · Buttons · Topstitch · Piping · Elastic

Formats

Opens: .ffbrc, DXF-AAMA, OBJ, glTF, FBX, Alembic · Saves: .ffbrc, OBJ, FBX, glTF, GLB, USD, Alembic, MDD, PC2 · Native: .ffbrc

Built for agents

255 engine commands are declared once, in one registry; the UI, the Python package and the MCP server call the same ones.

./formfabric py -m formfabric commands   # list the engine commands
./formfabric py my_script.py             # run a script against the engine
./formfabric mcp                         # MCP server on stdio for Claude Code, Codex, Cursor and Antigravity

.mcp.json, .codex/config.toml and .cursor/mcp.json are already wired in this repo. See AGENTS.md.

The agent dock (Ctrl+J, Cmd+J on a Mac) holds a shell, Chat & tabs that run the real Claude Code, Codex, Cursor & Antigravity w/ formfabric's MCP server already connected, each tab w/ its own key that ends when the tab closes. A program that is not installed shows its install line.

./formfabric agents install             # register formfabric w/ Claude Code, Codex, Cursor & Antigravity (--dry-run to preview)
./formfabric agents sync                # refresh the skills' tool reference, the .agents mirror & agents/manifest.json
./formfabric agents check               # validate the agent kit

Under the hood

  • Engine: a Rust workspace of 14 crates, with a native cloth solver (block descent and implicit) and an opt-in wgpu compute path
  • Interface: vanilla TypeScript and Vite, with the shared Form shell, zero flash on load and every string in 30 languages
  • Service: Python and FastAPI on 127.0.0.1 only, with autosave, a recovery journal and plugins
  • Desktop: Tauri 2, with the engine as a sidecar and the frame stream as a binary WebSocket; the Form family splash & menu bar, w/ the same menus in the native macOS menu bar
  • Scripting: a standard-library Python package, plus a Live Link that streams a USD layer to Unreal

Download

Platform Download Release
macOS Download FormFabric for macOS FormFabric releases on FormCompiler
Windows Download FormFabric for Windows FormFabric releases on FormCompiler
Linux Download FormFabric for Linux FormFabric releases on FormCompiler

All FormFabric builds are compiled and released from FormCompiler; this repo holds the source.

Run it from source

Prefer it in your browser, or want to contribute? Run the web UI straight from this repo.

Requires: Node 20.19+ (22 recommended), Python 3.12+, and Rust at the version pinned by rust-toolchain.toml (installed by rustup). ./formfabric doctor checks them.

git clone git@github.com:nodemode-dev/formfabric.git
cd formfabric
./formfabric_oc_install     # installs the backend, the engine and the frontend
./formfabric                # web UI at http://localhost:5280

./formfabric desktop dev opens the desktop window instead.

On Windows use formfabric_oc_install.bat and formfabric.bat. The backend listens on 127.0.0.1:8280 only. FORMFABRIC_DATA_DIR moves autosaves, recovery, the Library and the Garments folder Home lists.

Important

Status: released. FormFabric is built and bundled for macOS, Windows and Linux and has been tested on all three. The Live Link to Unreal has not been tried against Unreal itself (docs/integration/unreal-live-link.md); see the CHANGELOG for what each version brings.

Contributing: branch from main, keep changes to source here, and leave packaging and releases to formcompiler. See CONTRIBUTING.md, .docs/BRANCHING.md and AGENTS.md.

Layout: native/ (engine), frontend/, backend/, python/, src-tauri/, setup/, assets/. Docs: .docs/wiki · Agents: CLAUDE.md, AGENTS.md · Contributing: .docs/BRANCHING.md



Maintainers

Maintainer Role
@nodemode-ai Owner
@gbarnai Co-owner

Code owners are set in .github/CODEOWNERS.

License

FormFabric is licensed under the Apache License 2.0 (LICENSE, SPDX Apache-2.0). Copyright 2026 NodeAgentc, Inc. Third-party notices: NOTICE.md (each component & why it is there) & THIRD-PARTY-NOTICES.txt (their full licence texts, also in About FormFabric).

Screenshot content: the owner's dress project on a CC0 MPFB2 body.

About

FormFabric - instead of Marvelous Designer: draw sewing patterns, sew them, drape them on a body w/ real cloth simulation, animate & export. Rust engine from the FormAI family of apps, runs on your own computer; can be driven by agents too. Runs locally, no account. Free & open-source under Apache-2.0.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages