About this project

Ori Studio is a workspace for origami design and analysis. It pairs a shared React/Vite frontend (used by both a browser app and a Tauri v2 desktop shell) with a family of Rust and WebAssembly engines. Much of its functionality comes from ports of community origami tools, with new features layered on top. Core capabilities described in the README: - Crease-pattern creation and editing, based on a Rust/WebAssembly port of the Oriedita editor (itself a fork of Orihime), including foldability diagnostics, repairs and file formats. - TreeMaker-derived modeling: the treemaker-core Rust engine covers model files, optimization, feasibility checks, crease-pattern generation, FOLD conversion and simulation preparation; treemaker-cli offers a command-line tool for inspecting, checking, optimizing and exporting models. - Box-pleating authoring via a headless kernel ported from Box Pleating Studio. - A Simulate workspace that folds bases into an interactive 3D model using a TypeScript port of Origami Simulator. - A Search 22.5° method that sends a tree to ExplOri and shows closest matches. - "Detect CP from Image" (beta): a photo or render of a square crease pattern is cropped, run through a detection model and solved into an exact editable pattern. The model downloads once (45 MB) and stays on the device; Settings ▸ Models shows what is installed. - Edit workspace supports adding reference images alongside crease patterns; exports to `.ori` omit images to preserve compatibility with existing tools. Repository layout includes apps/web (shared frontend), apps/tauri (desktop wrapper) and apps/cp-detect-architecture-inspector (a local debug UI for inspecting the detection and compiler pipeline stage by stage). Exposed crates include treemaker-core, treemaker-cli, treemaker-wasm, treemaker-fold, treemaker-flatfold, plus oristudio-cp, oristudio-cp-wasm, oristudio-cp-compiler, oristudio-bp, oristudio-bp-wasm, oristudio-cp-detect, oristudio-cp-detect-wasm, oristudio-cp-eval and oristudio-cp-detect-inspector. npm workspace packages include @treemaker/web, @treemaker/tauri, @treemaker/origami-simulator and @treemaker/cp-detect-architecture-inspector. Getting started: `npm ci`, then `npm run dev:web` or `npm run dev:desktop`. Rust usage via `cargo add treemaker-core` or `cargo install treemaker-cli`; WebAssembly bindings via `treemaker-wasm = "0.1"`. Development checks include cargo fmt/clippy/test, npm lint/typecheck/test for the web app, and wasm-pack build/test for the TreeMaker WASM crate. A hosted app is available at oristudio.dev. Signed Apple Silicon DMGs are published from local notarized builds on GitHub Releases; other platforms are noted as not yet available. The project is licensed GPL-2.0-or-later because it includes a direct Rust port of TreeMaker's GPL model code and bundles ReferenceFinder compiled to WebAssembly from vendored source.