Skip to content
scottconversePublic

About

Source-first OpenSCAD workbench for desktop and web

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

266 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScadMill logo

ScadMill

OpenSCAD, without losing the code.

A source-first CAD workbench for makers who want a capable editor, real geometry, and local project control—while keeping ordinary OpenSCAD source as the durable artifact.

Product site · Download Windows beta · User manual · Architecture

Release CI Windows License

ScadMill promotional artwork showing an orange wireframe mechanical bracket on a dark drafting surface

Important

Current release: 0.1.0-beta.3 is a signed 64-bit Windows desktop beta. Rendering requires a separate, hash-verified official OpenSCAD 2026.06.12 snapshot. ScadMill does not bundle or modify OpenSCAD.

Why ScadMill

OpenSCAD makes models reproducible because the design is code. ScadMill builds a focused working environment around that idea: edit a multi-file project, turn Customizer declarations into controls, render through the real OpenSCAD engine, inspect the result, and export full-quality geometry without converting the project into a private document format.

Code stays first Syntax-aware editing, formatting, completions, diagnostics, tabs, recovery, external-change reconciliation, and project-relative dependencies.
Geometry is real Preview and full rendering run through the unmodified OpenSCAD engine. Only full results may be exported.
Models stay local Desktop projects remain in folders you choose. ScadMill includes no telemetry and operates no cloud service.
Automation stays reviewable Optional provider-direct AI and the local MCP bridge use selected context, explicit permissions, and review-gated mutations.

What you can do today

Write and organize

  • Work in folder-backed, multi-file OpenSCAD projects with tabs, binary assets, include/use resolution, and ZIP portability.
  • Use a purpose-built OpenSCAD grammar, syntax highlighting, completions, parse-gated formatting, diagnostics, in-file and ignore-aware project search/replace, structural outline, cross-file definition/reference navigation, configurable shortcuts, and light, dark, or high-contrast themes.
  • Recover unsaved buffers after interruption and resolve disk changes with inline or side-by-side differences.

Render and inspect

  • Press F5 for fast preview geometry or F6 for an unrestricted full render.
  • Orbit, pan, zoom, fit, switch projections and axis views, measure geometry, pin annotations, and capture PNG screenshots in the 3D viewer.
  • Inspect sanitized 2D SVG output with pan, zoom, scale, and model-space dimensions.
  • See geometry identity and changes in volume, bounds, and triangle count between successful renders.
  • Animate models that use executable $t through a bounded, cancellable, sequential render loop.

Parameterize and export

  • Turn stock OpenSCAD Customizer declarations into typed controls without silently rewriting source.
  • Save, import, and export named parameter sets in the stock JSON format.
  • Export full-quality 3MF, binary or ASCII STL, OFF, AMF, SVG, DXF, and PNG where supported by the model.

Extend—with consent

  • Configure optional OpenAI-compatible, Anthropic, or local AI providers with separately scoped secrets stored in Windows Credential Manager.
  • Choose exactly which source, diagnostics, parameters, or viewer image enters an AI request; proposed edits remain reviewable per hunk.
  • Connect a local MCP client through the desktop application. Mutation tools are denied by default and enter the History review surface before changing a project.

From source to geometry

flowchart LR
    SOURCE["Ordinary .scad source"] --> WORKBENCH["ScadMill workbench"]
    WORKBENCH --> REQUEST["Immutable render request"]
    REQUEST --> ENGINE["Pinned OpenSCAD process"]
    ENGINE --> GEOMETRY["Validated color-preserving 3MF or sanitized SVG"]
    GEOMETRY --> VIEWER["2D / 3D inspection"]
    GEOMETRY -->|"full render only"| EXPORT["Model export"]
Loading

ScadMill owns editing, project state, parameters, viewers, and review flows. OpenSCAD remains the geometry authority and runs out of process. Failed, cancelled, stale, or unavailable results are shown as such while the last good geometry remains intact.

Install and render your first model

  1. Download ScadMill_0.1.0-beta.3_x64-setup.exe from the official release.
  2. Verify SHA-256 7F79FF060F76A3272E42821C7781A87E776EE7742BC9A503BF2F8A95D59EA87E and a valid Windows signature from Scott Converse.
  3. Download and verify the required official OpenSCAD 2026.06.12 Windows snapshot.
  4. Start ScadMill, choose Configure engine, and select the verified openscad.exe.
  5. Enter cube([20, 20, 20]);, press F5, and orbit the rendered cube.
# Verify the downloaded ScadMill installer before running it.
Get-FileHash -Algorithm SHA256 -LiteralPath .\ScadMill_0.1.0-beta.3_x64-setup.exe
Get-AuthenticodeSignature -LiteralPath .\ScadMill_0.1.0-beta.3_x64-setup.exe |
  Format-List Status, StatusMessage, SignerCertificate

The installer is current-user, includes normal uninstall support and an offline WebView2 runtime, and registers .scad files. The Windows beta guide documents exact engine hashes, setup, update, rollback, and uninstall behavior.

Architecture

flowchart TB
    UI["React workbench + CodeMirror"] --> APP["Application services + typed capability ports"]
    APP --> DESKTOP["Tauri desktop adapter"]
    APP --> WEB["Web-source adapter"]
    DESKTOP --> OS["Files · dialogs · keychain · menus · window state"]
    DESKTOP --> NATIVE["Unmodified OpenSCAD subprocess"]
    WEB --> IDB["IndexedDB projects and preferences"]
    WEB --> WASM["Verified WASM worker—not publicly distributed"]
    APP --> WORKERS["Indexing · mesh parsing · ZIP workers"]
    APP -. "explicit selected context" .-> AI["Configured AI provider"]
Loading

The shared application depends on capabilities, not operating-system APIs. Desktop and browser-source adapters supply those capabilities separately; unavailable behavior is omitted rather than simulated. This keeps file access, process control, persistence, secrets, and optional network traffic behind explicit trust boundaries.

Read the architecture guide for the runtime composition, render lifecycle, data ownership, failure model, worker boundaries, packaging, and supply-chain controls.

Privacy and security posture

  • No ScadMill telemetry or hosted model service. Projects and application state remain local unless you deliberately invoke a configured provider.
  • Provider-direct AI. The desktop broker refuses redirects and sends only the conversation and context selected in the panel to the configured endpoint.
  • OS-backed secrets. Desktop AI credentials live in Windows Credential Manager and are excluded from settings exports.
  • Local MCP boundary. The bridge is off by default, loopback-only, permissioned, and review-gated.
  • Pinned execution. Rendering rejects an OpenSCAD executable that does not match the recorded engine version.

Report suspected vulnerabilities through GitHub private vulnerability reporting. Do not post sensitive details in a public issue. See SECURITY.md and PRIVACY.md.

Current product status

Surface or capability Status in 0.1.0-beta.3 Notes
Windows 10/11 x64 desktop Public beta The signed setup is bound to tag/source commit 179ef30 and all nine required checks passed. The owner accepted publication without a completed final exact-main clean-environment rerun.
Editing, projects, Customizer, native render, viewers, export Available Requires the separately installed exact OpenSCAD snapshot for rendering and export.
Animation, render cache, geometry delta, thumbnails Available Persistent render caching is opt-in per project and off by default.
Optional AI and local MCP Beta Provider configuration and MCP permissions are explicit; there is no ScadMill AI proxy.
Browser-source composition and OpenSCAD WASM path Implemented, not distributed No public browser application or WASM engine package is offered by this release.
macOS and Linux installers Not released Windows desktop is the approved first public target.
M5 history, batch export, libraries, intelligence, navigation, split editor, section view, camera bookmarks Available The complete M5 desktop scope ships in this beta.
M6: printability, slicer handoff, engine manager, headless CLI, color/parts, colored 3MF, manufacturing estimates Available Manufacturing estimates use embedded Kiri:Moto 4.7.1 with explicit generic profiles and estimate-only labeling.

Note

The Radeon 780M was the release performance-evidence host. It is not a minimum GPU requirement.

Release evidence

The public installer is not inferred from a successful source build. Its exact bytes are bound to retained release evidence:

  • Tag v0.1.0-beta.3, source commit 179ef30, and the installer build source are the same commit
  • All nine required hosted checks, including hosted-Windows, and the isolated owner-run similarity gate passed on that exact source-bound commit
  • The 211,578,856-byte installer has SHA-256 7F79FF060F76A3272E42821C7781A87E776EE7742BC9A503BF2F8A95D59EA87E and a valid Authenticode signature from Scott Converse
  • Retained product-level evidence includes edit/render reliability
  • Owner-designated Radeon 780M two-million-triangle viewer qualification
  • Dependency-license, third-party-notice, source-policy, and append-only provenance checks

The final exact-main clean-environment rerun was not completed. The owner accepted publication without it; beta.3 must not be described as fully release-proven.

See the release notes, verification guide, and provenance ledger for the exact boundaries of those claims.

Documentation

Guide Use it for
User manual Plain-language onboarding, technical reference, architecture, troubleshooting, privacy, and uninstall behavior
Windows beta guide Installer and engine hashes, installation, configuration, verification, update, and removal
Architecture Runtime boundaries, storage, workers, native/WASM paths, packaging, and extension seams
FAQ Preview vs full, engine pinning, recovery, AI, MCP, browser status, and later capabilities
Privacy Local data, recovery, caches, secrets, AI traffic, and MCP behavior
Security Supported release and confidential vulnerability reporting
Build from source

Requirements

  • Node.js 24 or newer
  • pnpm 11.7.0
  • Rust 1.96.0
  • OpenSCAD 2026.06.12 for native-render verification
pnpm install --frozen-lockfile
pnpm typecheck
pnpm test
pnpm build

Run the browser-source development shell with pnpm dev. Run the Tauri desktop shell with pnpm desktop after configuring the required engine. The source web composition is a development and verification target—not a hosted ScadMill product.

The informational website lives in website/. Its independent build uses npm ci && npm test from that directory. pnpm check:public-surfaces verifies the release version, installer identity, public documents, and website metadata as one contract.

Contributing

ScadMill welcomes contributions, but its clean-room provenance rules are part of the engineering contract. Read CONTRIBUTING.md, the specification, and PROVENANCE.md before changing product code.

The codebase offers clear extension points through typed platform capabilities, isolated engine adapters, bounded workers, application services, and test fixtures. Every behavior change begins with an observed failing test and adds a machine-readable provenance entry.

License

ScadMill's original application code is available under the Apache License 2.0. OpenSCAD and other dependencies retain their own licenses; distribution attributions are recorded in THIRD-PARTY-NOTICES.txt.

About

Source-first OpenSCAD workbench for desktop and web

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages