Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .agents/skills/formshot-rendering/references/tools.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# formshot tools

Generated from the engine's command catalogue (formshot 0.15.0) by `./formshot agents sync`; do not edit by hand.
Generated from the engine's command catalogue (formshot 0.15.1) by `./formshot agents sync`; do not edit by hand.

## Contents

Expand Down
6 changes: 3 additions & 3 deletions .claude/skills/formshot-harness/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ description: "Guides work on formshot, the Form-family 3D product renderer by no
license: Apache-2.0
metadata:
nodemode.author: nodemode-ai
nodemode.pack-version: "0.15.0"
nodemode.pack-version: "0.15.1"
---

# Formshot Harness

formshot is the Form family's 3D product renderer by nodemode-ai (Apache-2.0): open a model, drag materials onto parts, light it, watch a physically based picture converge, then render stills, animations and variants. It is modeled on its siblings formsurface (shell and service), formsculpt (launcher, setup and engine bridge) and formvis (the shared dock). Current state: v0.2.0, unreleased. The shell, the document and project file, the CPU path tracer and the command line render exist; everything else is planned with the version the plan gives it, and the sub-skills mark it planned. Since then the GPU path tracer (fsh-render-gpu, held to the CPU picture), device choice with a fallback to the CPU, the live viewport (WebGL2 raster modes, picking, gizmo, interaction regimes, an optional WebAssembly engine on WebGPU with a streamed fallback) and the engine-driven crash journal have landed. GPU work has run only on software drivers (lavapipe, SwiftShader, llvmpipe), and the path tracer in the window has not drawn a frame yet. After that came import (3MF, FBX, background jobs, reimport, embedded textures), STEP and IGES through FormCAD's kernel worker (fsh-cad), family hand-offs, material types, texture slots, graphs compiled to a material program, and the material library; both path tracers run material programs with textures (loaded by `fsh-commands/src/textures.rs`), image labels, thin film and dispersion. Then lighting (light spread, edge softness, IES profiles, light and shadow links, the Hosek-Wilkie physical sky, studio presets; pins, finite dome, backplate and background image are in the document but still being rendered), cameras (six projections, bladed and anamorphic apertures, pick focus), the image (grade, effects, AgX, ACES 1.3, OpenColorIO through fsh-ocio), 23 render passes with Cryptomatte, image writers in fsh-io, the render queue, and the denoisers (fsh-denoise, optional Open Image Denoise through fsh-oidn) landed; the GPU port of the denoiser is still being merged. At 0.9.0 shots, material variants and model sets, the configurator with rules, material templates and measurements (document blocks in fsh-scene with groups in fsh-commands), keyed animation with rigs, motion blur on the CPU (the GPU refuses moving scenes), and frame sequences and movies through a separate ffmpeg program landed, with their window pages and the timeline. At 0.10.0 advanced light transport landed on the CPU (nested media, volumes, subsurface, spectral rendering with dispersion, photon caustics, cutaways with caps, rounded edges, fibres) and the GPU ports of media, motion blur, spectral, cutaways and rounded edges; the GPU still refuses caustics, fibres, more than 4 overlapping media and more than 32 cutaways, and `transport.features` says which engine renders what. P16 (0.11.0) brought the editors: node editor preview and setups, the UV editor over fsh-uv, label placement, one Preferences table, shortcuts, workspaces, presentation mode and menus that fit under the bar. P17 (0.12.0) brought exchange: one export scene for GLB, OBJ, STL, PLY, USD and USDZ with fsh-bake for what a format cannot carry, web configurator and spin viewer folders, 3DM, IFC and USD import, and MaterialX and texture set import. P18 (0.13.0) brought agents: a headless service with its own consent and folder rules, MCP profiles with curated `formshot_*` tools, the agent guide in the engine (`help.guide`), a local scripting channel with a Python client, plugins run as processes, live links (`link.*`) with a Blender add-on, Keep in sync for hand-offs, a console in the window, and render setups and a self-test in `formshot-engine`. P19 (0.14.0) brought the render farm: the crate `fsh-farm` (token, sealed wire, bundles, worker, dispatcher; native only, no engine), the `farm.*` commands, `formshot-engine worker` and `farm`, and the Render Farm window; it has run as processes on loopback addresses, not yet on two separate machines in the builders' logs. 0.15.0 was a showcase pass with no engine change: five demo projects in `assets/demos` replace Home's templates (the four built-in templates stay behind New project, imports and `file.new`), the README took the Form family layout with screenshots and renders (the full feature list and the limits are in `docs/FEATURES.md`), and the app wears the owner's two-bottle icon. Read the code before trusting a claim here.
formshot is the Form family's 3D product renderer by nodemode-ai (Apache-2.0): open a model, drag materials onto parts, light it, watch a physically based picture converge, then render stills, animations and variants. It is modeled on its siblings formsurface (shell and service), formsculpt (launcher, setup and engine bridge) and formvis (the shared dock). Current state: v0.2.0, unreleased. The shell, the document and project file, the CPU path tracer and the command line render exist; everything else is planned with the version the plan gives it, and the sub-skills mark it planned. Since then the GPU path tracer (fsh-render-gpu, held to the CPU picture), device choice with a fallback to the CPU, the live viewport (WebGL2 raster modes, picking, gizmo, interaction regimes, an optional WebAssembly engine on WebGPU with a streamed fallback) and the engine-driven crash journal have landed. GPU work has run only on software drivers (lavapipe, SwiftShader, llvmpipe), and the path tracer in the window has not drawn a frame yet. After that came import (3MF, FBX, background jobs, reimport, embedded textures), STEP and IGES through FormCAD's kernel worker (fsh-cad), family hand-offs, material types, texture slots, graphs compiled to a material program, and the material library; both path tracers run material programs with textures (loaded by `fsh-commands/src/textures.rs`), image labels, thin film and dispersion. Then lighting (light spread, edge softness, IES profiles, light and shadow links, the Hosek-Wilkie physical sky, studio presets; pins, finite dome, backplate and background image are in the document but still being rendered), cameras (six projections, bladed and anamorphic apertures, pick focus), the image (grade, effects, AgX, ACES 1.3, OpenColorIO through fsh-ocio), 23 render passes with Cryptomatte, image writers in fsh-io, the render queue, and the denoisers (fsh-denoise, optional Open Image Denoise through fsh-oidn) landed; the GPU port of the denoiser is still being merged. At 0.9.0 shots, material variants and model sets, the configurator with rules, material templates and measurements (document blocks in fsh-scene with groups in fsh-commands), keyed animation with rigs, motion blur on the CPU (the GPU refuses moving scenes), and frame sequences and movies through a separate ffmpeg program landed, with their window pages and the timeline. At 0.10.0 advanced light transport landed on the CPU (nested media, volumes, subsurface, spectral rendering with dispersion, photon caustics, cutaways with caps, rounded edges, fibres) and the GPU ports of media, motion blur, spectral, cutaways and rounded edges; the GPU still refuses caustics, fibres, more than 4 overlapping media and more than 32 cutaways, and `transport.features` says which engine renders what. P16 (0.11.0) brought the editors: node editor preview and setups, the UV editor over fsh-uv, label placement, one Preferences table, shortcuts, workspaces, presentation mode and menus that fit under the bar. P17 (0.12.0) brought exchange: one export scene for GLB, OBJ, STL, PLY, USD and USDZ with fsh-bake for what a format cannot carry, web configurator and spin viewer folders, 3DM, IFC and USD import, and MaterialX and texture set import. P18 (0.13.0) brought agents: a headless service with its own consent and folder rules, MCP profiles with curated `formshot_*` tools, the agent guide in the engine (`help.guide`), a local scripting channel with a Python client, plugins run as processes, live links (`link.*`) with a Blender add-on, Keep in sync for hand-offs, a console in the window, and render setups and a self-test in `formshot-engine`. P19 (0.14.0) brought the render farm: the crate `fsh-farm` (token, sealed wire, bundles, worker, dispatcher; native only, no engine), the `farm.*` commands, `formshot-engine worker` and `farm`, and the Render Farm window; it has run as processes on loopback addresses, not yet on two separate machines in the builders' logs. 0.15.0 was a showcase pass with no engine change: five demo projects in `assets/demos` replace Home's templates (the four built-in templates stay behind New project, imports and `file.new`), the README took the Form family layout with screenshots and renders (the full feature list and the limits are in `docs/FEATURES.md`), and the app wears the owner's two-bottle icon. 0.15.1 fixed the Windows install (`backend/oc_install` activates `venv/Scripts/activate` when there is no `venv/bin/activate`). Read the code before trusting a claim here.

This pack exists so that an agent entering the repo cold edits the right layer, in the right order, under the project laws, and proves the result.

Expand All @@ -32,7 +32,7 @@ Sub-skill paths resolve as `sub-skills/[skill-name]/SUB-SKILL.md` from this fold

| Area | Location | Role |
| --- | --- | --- |
| Rust engine | `native/` (one Cargo workspace, edition 2021, all crates 0.15.0) | everything that knows about scenes, rays and pixels |
| Rust engine | `native/` (one Cargo workspace, edition 2021, all crates 0.15.1) | everything that knows about scenes, rays and pixels |
| fsh-core | `native/crates/fsh-core` | maths, Transform, Ray, Aabb, Rgb in ACEScg, typed ids and document keys, units, the deterministic sampler, warps and MIS heuristics; std only |
| fsh-scene | `native/crates/fsh-scene` | the document, the command enum and its table, undo and redo with merge and groups, change levels, selection, `flatten()` to `RenderSnapshot`; the 18 material types, texture slots, material graphs, the compiler to programs and the preview bake; `lighting/` (IES table, link masks, pins, dome, pictures, reference evaluation, studio presets), camera lens fields, the image style, passes and `denoise_settings.rs`; the document blocks `shots`, `variants` (with model sets), `configurator`, `measure` and `animation` (tracks, keys, rigs), and `motion.rs` (motion blur settings and the shutter flatten); `mesh_replace.rs` (`mesh.replace`, a mesh's data replaced under the same key, the UV editor's one write) |
| fsh-accel | `native/crates/fsh-accel` | two-level binned-SAH BVH, watertight triangle test, `Intersector` |
Expand Down
2 changes: 1 addition & 1 deletion .claude/skills/formshot-rendering/references/tools.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# formshot tools

Generated from the engine's command catalogue (formshot 0.15.0) by `./formshot agents sync`; do not edit by hand.
Generated from the engine's command catalogue (formshot 0.15.1) by `./formshot agents sync`; do not edit by hand.

## Contents

Expand Down
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

Versions follow `v*.*.*` with dots. Dates are US Eastern time; entries before 0.9.0 give the UTC date. FormShot has not been released; these versions exist in the repository only.

## 0.15.1 · 2026-12-05

Windows build: the install step no longer stops before the desktop build on Windows.

### Fixed

- `./formshot install` on Windows: the backend's install script looked only for `venv/bin/activate`, which a Windows Python does not make, so FormCompiler's Windows build stopped at "installing backend". It now activates `venv/Scripts/activate` when there is no `venv/bin/activate`, and makes the venv with the Python the setup suite chose. `./formshot backend` takes the same two places.
- The farm's token folder is built without an unused `mut` warning on Windows, where the 0700 mode does not apply.

### Checked

- The native workspace and the desktop shell type-check for `x86_64-pc-windows-msvc` with no warnings; the Linux engine builds and the service imports at 0.15.1.
- Not yet: the Windows desktop build itself, which only FormCompiler's Windows runner can run.

## 0.15.0 · 2026-12-05

Showcase: five demo projects replace Home's templates, the README takes the Form family layout with screenshots and renders of the demos, and the app wears the owner's new icon.
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Thank you for helping. FormShot is the Form family's 3D product renderer: open a model,
dress its parts in materials, light it and render it in one window, with no account,
running on your own computer, and open to agents over MCP. It is at 0.15.0 and not
running on your own computer, and open to agents over MCP. It is at 0.15.1 and not
released yet, so the most useful help now is careful use and clear reports.

## Where to start
Expand Down
2 changes: 1 addition & 1 deletion NOTICE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FormShot is licensed under the Apache License 2.0 (see `LICENSE`). Copyright 202

This file is the human list: what each component is and why it is there. `THIRD-PARTY-NOTICES.txt` lists every package that ships with its version and licence; `./formshot notices` replaces it with the full licence texts (copyright lines, conditions and disclaimers) from the installed Python packages, `frontend/package-lock.json`, `native/Cargo.lock`, `src-tauri/Cargo.lock` and the cargo registry, and `./formshot notices --check` checks it covers what ships. It ships in every installer beside this file, is frozen into the service, and is shown in Preferences under About.

FormShot 0.15.0 is unreleased. Licences marked "to confirm" below were not read from package metadata on the machine that wrote this file, and are confirmed when the lock files are complete and `./formshot notices` runs.
FormShot 0.15.1 is unreleased. Licences marked "to confirm" below were not read from package metadata on the machine that wrote this file, and are confirmed when the lock files are complete and `./formshot notices` runs.

## Included in this repository

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</p>

<p align="center">
<img alt="version 0.15.0" src="https://img.shields.io/badge/version-0.15.0-eef0f4?style=flat-square">
<img alt="version 0.15.1" src="https://img.shields.io/badge/version-0.15.1-eef0f4?style=flat-square">
<img alt="Rust" src="https://img.shields.io/badge/rust-1.99.1-f97316?style=flat-square&logo=rust&logoColor=white">
<img alt="TypeScript" src="https://img.shields.io/badge/typescript-vite-3178c6?style=flat-square">
<img alt="macOS, Windows, Linux" src="https://img.shields.io/badge/macOS%20%C2%B7%20Windows%20%C2%B7%20Linux-Tauri%202-2f7bf5?style=flat-square">
Expand Down Expand Up @@ -128,7 +128,7 @@ Every feature in more detail, with rendering on a device and the known limits: [

## Everything in the box

### Today (0.15.0)
### Today (0.15.1)

- **Home and projects:** Home and projects, five demo projects as templates, the scene tree, `.fshot` projects, crash recovery commands
- **Rendering:** the CPU path tracer, the GPU path tracer, the live viewport with raster modes, selection and gizmo, region render on the GPU, device choice and bench, the WebGPU self-check
Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ FormShot has not been released yet. Until the first release, security fixes go i

| Version | Supported |
| --- | --- |
| `main` (0.15.0, unreleased) | Yes |
| `main` (0.15.1, unreleased) | Yes |
| Anything older | No |

## Reporting a vulnerability
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.15.0
0.15.1
8 changes: 7 additions & 1 deletion backend/HASHOUT_LOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# backend HASHOUT_LOG

Living log for the service side, _v0.15.0. Read the map and the TOC first; entries are anchored by file and symbol, and removed code is quoted in full.
Living log for the service side, _v0.15.1. Read the map and the TOC first; entries are anchored by file and symbol, and removed code is quoted in full.

## Org-navi-map

Expand Down Expand Up @@ -92,6 +92,12 @@ The launcher's scripts use `FSH_*` (`FSH_PORT`, `FSH_DIST`, `FSH_CLAUDE_BIN`). `
- logged: v0.2.0 · 2026-12-02
No opencolorio (no OCIO yet), no `mcp` or `httpx` (the MCP proxy uses only the standard library), no python-multipart (no form uploads).

### oc_install · the venv on Windows
- refers-to: oc_install; boot_backend; ../setup/install_all; ../setup/lib.sh :: fsh_venv
- kind: fix
- logged: v0.15.1 · 2026-12-05
formcompiler's Windows build runs `./formshot install` in Git Bash, which calls this script, and it sourced `venv/bin/activate`; Python on Windows makes `venv/Scripts/activate` instead, so the build stopped at "venv/bin/activate: No such file or directory". It now sources `venv/bin/activate` when it exists and `venv/Scripts/activate` otherwise, the same two places `setup/lib.sh` `fsh_venv` already tries. `boot_backend` (`./formshot backend` in Git Bash) had the same line and takes the same two places. Checked with `bash -n` and both branches by hand on Linux; not run on Windows here.

### formshot_engine.py · frozen names
- refers-to: formshot_engine.py :: run_mcp, selfcheck; ../setup/freeze_backend
- kind: decision
Expand Down
2 changes: 1 addition & 1 deletion backend/app/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.15.0"
__version__ = "0.15.1"
2 changes: 1 addition & 1 deletion backend/boot_backend
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -e
cd "$(dirname "$0")"
source venv/bin/activate
if [ -f venv/bin/activate ]; then source venv/bin/activate; else source venv/Scripts/activate; fi
exec uvicorn app.main:app --reload --host 127.0.0.1 --port 8300
2 changes: 1 addition & 1 deletion backend/oc_install
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ set -e
cd "$(dirname "$0")"
py="$(source ../setup/lib.sh && fsh_python)" || py=python3
"$py" -m venv venv
source venv/bin/activate
if [ -f venv/bin/activate ]; then source venv/bin/activate; else source venv/Scripts/activate; fi
python -m pip install --upgrade pip
if [ "$(uname)" = "Darwin" ]; then pip install -r requirements_macos.txt; else pip install -r requirements.txt; fi
2 changes: 1 addition & 1 deletion docs/ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Conventions everywhere in the engine: right-handed, Y up, metres, radians, colou

## The engine crates

All crates live in `native/crates/`, edition 2021, Apache-2.0, version 0.15.0. `fsh-py` and `fsh-wasm` are outside the workspace's default members, so a plain `cargo build` does not need Python or the wasm target; `fsh-render-gpu` is a default member, so a plain build compiles wgpu.
All crates live in `native/crates/`, edition 2021, Apache-2.0, version 0.15.1. `fsh-py` and `fsh-wasm` are outside the workspace's default members, so a plain `cargo build` does not need Python or the wasm target; `fsh-render-gpu` is a default member, so a plain build compiles wgpu.

| Crate | Holds | Depends on |
| --- | --- | --- |
Expand Down
2 changes: 1 addition & 1 deletion docs/PREFERENCES.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Export Preferences (General, or the palette) writes one UTF-8 JSON file, `formsh
"format": "formshot.preferences",
"version": 1,
"app": "FormShot",
"appVersion": "0.15.0",
"appVersion": "0.15.1",
"exported": "2026-12-05T12:00:00.000Z",
"values": { "theme": "studio", "viewportQuality": "sharp", "importMerge": true }
}
Expand Down
Loading