ViaForm is an open source CAD and PCB design app for makers and hardware engineers that puts
3D mechanical design and electronics (schematic and board) in one project, and links the
printed circuit board to the 3D model so an enclosure and its board stay in step. It is
licensed GPL-3.0-or-later, runs as native SwiftUI apps on macOS, iPad and iPhone over a Rust
backend, and is built on open source Rust engines:
SolidCraft (parametric 3D CAD) and viaform-pcb (PCB design, in pcb/, which replaced
PCBCraft in November 2026; PCBCraft was removed entirely on 2026-11-27). On the Mac and the iPad a project goes from idea to a fabrication
bundle: parts, an assembly driven by its joints, a routed board, rendered images, drawings and
a Make bundle with STEP, 3MF, Gerber, drill, BOM and an assembly guide. Status: early, version
0.2.0, built from source (no published release yet).
There's no published release yet, so you build ViaForm from source. You need Git, Rust and Node 22.
- Get the code and its two engines:
git clone --recursive https://github.com/soma-intelligence/ViaForm.git - Build and open the desktop app (Windows, Linux or macOS):
cd ViaForm/electron && npm ci && npm start. The first build compiles both engines, so give it a few minutes. - Choose File > Open Sample, then press Send to 3D in the right panel. The sample circuit board shows up in the 3D view.
For developers, the core's tests cover the board to 3D link and the .viaform file:
git clone --recursive https://github.com/soma-intelligence/ViaForm.git && cd ViaForm
cargo test --release -p viaform-coreThe Apple apps, prerequisites and every script: Build ViaForm from source.
3D design and electronics as one app, on open source Rust engines (SolidCraft for CAD,
viaform-pcb for PCB).
- macOS: a desktop layout with a ribbon of tabs and panels, a browser tree, a timeline, a right-click marking menu, command search on S and a view cube.
- iPad and iPhone: a touch-first layout with a project sidebar, items and history sidebars, a tool column (a bottom row on iPhone) and tools suggested from the selection.
ViaForm is a Rust backend with native Swift apps for Mac, iPad and iPhone. The Electron app
for Windows and Linux (electron/, with its N-API addon node/) was removed on 2026-11-27;
it lives on in the git history.
The Apple apps draw with Metal, run every action through the engines' command APIs, and share
one Rust core (core/) for everything that joins the two engines.
| What | 3D CAD and PCB design in one app, with a board to 3D link |
| License | GPL-3.0-or-later (LICENSE) |
| Version | 0.2.0 (Cargo.toml); Apple targets carry 0.1.0 |
| Platforms | macOS 26+ on Apple silicon, iPadOS and iOS 26+ (SwiftUI) |
| Stack | Rust (core and C ABI bridge), Swift 6 + Metal (Apple) |
| Engines | SolidCraft (3D CAD, git submodule), viaform-pcb (PCB, pcb/ in this repo) |
| File format | .viaform version 2: a zip of the design, the board (board.vfpcb), the assembly, the drawings and the Make settings (details) |
| Install | Build from source: git submodule update --init --recursive && scripts/build-bridge.sh && cd apple && xcodegen generate |
| Homepage | https://github.com/soma-intelligence/ViaForm |
3D design (SolidCraft engine)
- macOS, iPad and iPhone tools: Line, Rectangle, Center Rectangle, Circle, Arc, Polygon, Slot, Spline, Point, Sketch Fillet, Trim, Offset; Sketch, Extrude, Revolve, Press Pull, Fillet, Chamfer, Shell; Box, Cylinder, Sphere, Torus; Union, Subtract, Intersect; Move, Mirror, Delete, Measure.
- Parametric timeline on the Mac (roll back, edit, suppress, delete a feature) and a history list on iPad and iPhone.
- Export STEP and STL from every app, and the Mac's Export dialog
offers OBJ and 3MF. The apps open STEP and mesh files (STL, OBJ, 3MF, PLY, glTF)
through the engine's import commands and save designs as SolidCraft
.scfiles.
Electronics (viaform-pcb engine)
- Schematic: place parts, wire pins (W), rotate (R), delete. Parts are the engine's built-in kinds (resistor, capacitor, LED, connector) and KiCad library symbols with their footprints through the Libraries panel.
- Board: Update PCB from schematic, outline and cutouts, copper zones with thermal reliefs,
design rules and net classes, part values, route one connection (X) or the autoroute as a
background job with progress and Command-period, front and back copper (
F.Cu,B.Cu). - ERC and DRC findings with their fix, airwires.
- Fabrication: Gerber (copper, mask, silkscreen with a built-in stroke font, outline),
Excellon drill, pick and place CSV, BOM and a
.kicad_pcbKiCad board. ODB++ is dropped and IPC-2581 deferred (decision A-D4,pcb/CLEANROOM.md). - Old projects with a PCBCraft
board.pcbcraft(format 1) are refused with "This project uses the old PCBCraft board format; open it in an older ViaForm to convert": the one-way migration left with PCBCraft on 2026-11-27, and the file is never opened without its board. - Parity and open gates:
pcb/PARITY.md.
Board to 3D link (viaform-core)
- Send to 3D builds the board as a component of the design from the board itself: its real outline, merged copper per side, holes at their true size and front and back part boxes, tagged with the PCB revision.
- Mount on a Part seats the board on a picked face and holds it with a rigid group.
- Update 3D rebuilds the board inside the same component when the electronics change, so its placement and joints stay.
Assemble (macOS and iPad)
- Joints live in the design: the Joint dialog (Fusion's on the Mac, with Position and Motion
tabs, J and Shift+J; Shapr3D's option rows on the iPad) runs SolidCraft's
joint.*commands with a live preview and one undo step. - The assembly is mated from those joints on every design change: renames keep the joint's motor, studies and poses, loops are left out with a warning.
- Mass, interference and motion studies on the user's own bodies at the home pose, on a worker with Stop; MJCF and URDF export. The arm and the HandKit hand open as sample projects.
Render (macOS and iPad)
- Metal path tracer, CPU preview when no GPU path is available. A queue with progress and
Command-period; results kept beside the project in
Name.viaform-data/renderswith their design revision. - Compare with a divider, pin, discard, export PNG and EXR, library materials on the selected bodies. Mac: Fusion's Render workspace. iPad: Shapr3D's Visualization.
Drawings (macOS and iPad)
- ISO and ANSI sheets, ISO 5457 border and title block, first or third angle.
- Base, projected and isometric views with hidden lines, sections with hatching, details, cosmetic threads.
- Associative dimensions (linear, aligned, angular, radius, diameter, ordinate, chain) with tolerances and ISO 286 fits, hole callouts, centre marks, parts list and balloons. A dimension or view whose geometry is gone turns red and waits in Review.
- Views update in the background with Stop. Export PDF and DXF, both byte-stable.
Make (macOS and iPad)
- One bundle per project: a STEP per part, a 3MF per printed part laid on its print face with
its print hints, the board's Gerber, drill, pick and place and KiCad files, a priced
bom.csv, every drawing as PDF and DXF, an assembly guide PDF in joint order with exploded steps and the pinned render as cover, andmanifest.jsonwith every file's SHA-256. - Checks: overhang, thin walls, open meshes, bed size, DRC, ERC, unrouted connections, BOM price coverage, stale revisions. Only errors block the build; every warning says how to fix it. Nothing is ordered automatically, and the app says so.
- Verify rebuilds the bundle from the project copy inside it and compares the hashes. Optional deterministic zip. Mac: a Make workspace after Fusion's Manufacture. iPad: a Make stage in Shapr3D's grammar with an export sheet per output.
App
.viaformproject file with a format version; a file from a newer format is refused with a message to update.- Command search: Toolbox search on S (macOS).
- Marking menu, ViewCube, browser tree and timeline on the Mac; adaptive tool suggestions on iPad and iPhone.
engines/solidcraft submodule: tangency-labs/solidcraft, parametric 3D CAD in Rust
pcb/ viaform-pcb: schematic, board, ERC, DRC, autorouter, zones, Gerber, Excellon, KiCad
core/ viaform-core: the design and the board in one workspace, link, assembly (asm/), .viaform file
compat/ viaform-compat: item versions and the compatibility graph
drawing/ viaform-drawing: sheets, views, hidden lines, dimensions, PDF and DXF
make/ viaform-make: the Make bundle, its checks, manifest, zip and verify
bom/ viaform-bom: bill of materials and priced rollup
bridge/ viaform-ffi: a C ABI static library over the core, for the Swift apps
apple/ XcodeGen project: Shared (engine, renderer, model), Desk (macOS), Touch (iOS)
docs/ screenshots, the UI reference sheet and the guides
samples/ drone.viaform: the drone flight controller sample project
scripts/ build-bridge.sh (Apple bridge), engine-sync.sh (move the engines to upstream)
.github/workflows/ CI (Rust tests, Mac and iOS builds), Engine sync (daily)
git submodule update --init --recursivecargo test --workspace runs every Rust crate's tests, including the bridge smoke tests
(bridge/tests/smoke.rs).
samples/drone.viaform is a 5-inch X drone with its flight controller board, first built end
to end by the removed Electron app's test suite. It was migrated once to format 2 on
2026-11-27: 9 of its 12 board parts came over; U1, U2, U3 and their tracks were left out.
The Simulation workspace (Ctrl+3) flies a small 3-inch drone through an obstacle course, or holds
it in a hover, in hard weather. The simulation is the Rust crate sim/: the SwiftUI apps call it
through the bridge (bridge/src/sim.rs, vf_sim_* and vf_train_*), and the same crate runs the
tests (cargo test -p viaform-sim) and the training. It was ported from the TypeScript of the
removed Electron app:
-
Physics. Rigid-body X quad: motor lag, thrust and torque against the air, drag, ground effect, and crash and collision detection.
-
Weather. Seven presets, from indoor to a gale, a 25 mm/h rain storm, snow at −8 °C, freezing fog and hot-and-high at 2 400 m. They set:
- wind: mean, turbulence and gusts;
- air density: temperature, altitude, humidity;
- rain: water film and down-force on the rotors;
- snow load and icing on the props;
- LiPo: cold internal resistance and voltage sag;
- time-of-flight sensors: range, plus false returns from drops and flakes.
-
Frame by generative design (
sim/src/frame.rs, the study ingenerative/). Beam FEM over a ground structure, optimised for mass under three load cases at full thrust: punch-out, radial crash and side crash. The constraints are prop clearance, deflection and stress. At a 1.5 safety factor the result is a 3 mm carbon frame with tapered 60.2 mm arms. The frame weighs 11.0 g and the drone 153 g all up. -
Parts (
sim/src/parts.rs). All on Amazon:- SpeedyBee F405 Mini stack;
- T-Motor F1404 4600KV motors;
- Gemfan 3016 props;
- 650 mAh 3S LiPo;
- RadioMaster RP1 receiver;
- XIAO ESP32S3 companion;
- six VL53L1X time-of-flight sensors.
Links and masses are in the file. Prices and stock were not checked.
-
Controller. Cascaded PID: position, velocity, attitude, then rates and the mixer. A small neural net (17-16-3) adds a correction to the acceleration command. The training (
sim/src/train.rs) runs in two stages, over randomised weather, mass and thrust:- tunes the gains (cross-entropy method);
- trains the net (evolution strategies).
The result is in
sim/src/trained.rs. On held-out episodes the velocity-tracking cost was:Controller Cost Default PID 7.53 Trained gains 2.77 Trained gains + net 2.38 -
Autonomy. Readings from the time-of-flight sensors build a 3D occupancy map in log-odds. Rain and snow returns fade from it; walls stay. A* replans on that map five times a second. Speed limits keep the drone able to stop before what it sees.
Results on the obstacle course (seven weathers, five seeds each):
| Controller | Courses completed |
|---|---|
| Default PID | 27/35 |
| Trained gains | 33/35 |
| Trained gains + net | 33/35 |
Most failures are walls met in strong wind with short sensor range, such as bright sun at
altitude. The toolbar's check button reruns this table in the app. cargo test -p viaform-sim
runs these sim tests:
- physics;
- weather effects;
- frame constraints;
- mapping;
- training gains;
- a hover in every weather;
- six course flights from calm to gale.
Race mode (mission "Fly it yourself"). You fly the drone through the three gates in order, then land on the pad. The trained autopilot flies the same course as a see-through ghost.
Controls:
- keyboard: W A S D to move, Space and C (or ↑ ↓) for height, Q E (or ← →) to turn, Enter to restart;
- gamepad: mode 2.
Assist modes:
- Easy: the drone holds its position when the sticks are centred.
- Pro: angle mode. The sticks tilt the drone and only its height is held.
The best time for each weather and mode is kept locally.
Video. Filmed by the removed Electron app:
Simulation video (53 s, 13 MB)
Apple apps:
scripts/build-bridge.shcd apple && xcodegen generate && open ViaForm.xcodeprojLaunch flags of the Apple apps (pass them to the built binary, for example
ViaForm.app/Contents/MacOS/ViaForm --selftest):
| Flag | What it does |
|---|---|
--selftest |
Runs the tool paths end to end (sketch, extrude, press pull, fillet, undo, primitives, scene, electronics, Assemble, Render, Drawing, Make) before the window opens, one PASS or FAIL line per check, then quits. |
--selftest --a3-only |
Runs only the Render (A3) checks, then quits. |
--drawing-selftest |
Runs only the Drawing checks once the window is up, then quits. |
--assemble-selftest |
Runs only the Assemble checks once the window is up, so the iPad can run them (its full --selftest runs before the window). |
--compat-selftest |
Runs only the versions and compatibility checks (Items section, item sheet, impact sheet, library grid) once the window is up, prints ALL PASS or the failing lines, then quits. |
--make-checks |
Mac: runs the Make checks and opens the Checks panel at launch (for screenshots). |
--make-package |
iPad: opens the Package sheet with the Make stage (for screenshots). |
--sample |
Opens the bracket sample. |
The apps never read the checkout at run time. The files they need from the repository (the
docs/generative hand and drone samples with their meshes, drone-frame.json, docs/components,
bom/tests/fixtures) are copied into the bundle under SourceData/ by
scripts/bundle-source-data.sh, a build phase of both app targets. A checkout on the Desktop
therefore asks for no folder access.
cargo test --workspace runs the Rust tests, including pcb/,
drawing/, make/ and the bridge smoke tests. The slow end to end bundles (HandKit and the
drone flight controller, rebuilt to the same hashes) run with cargo test -p viaform-make --test samples -- --ignored --nocapture. External PCB gates:
pcb/scripts/parity-gates.sh <out-dir> runs gerbv, tracespace and kicad-cli pcb drc on the
routed drone board, and reports SKIP for each tool that is not installed.
The Libraries panel (Ctrl+L, or LIBRARY in the toolbar) searches light side libraries kept beside the project, never inside it:
- KiCad libraries installed on this machine, plus any folder you add: symbols place in the schematic with their footprint, and the STEP model KiCad ships goes into the design.
- Standard hardware (ISO, ASME, ANSI screws, nuts, washers, pins, bearings), built by the design
engine from its tables: search
M3x12,nut M5or608. - DigiKey, Mouser and Octopart (Nexar) through their official APIs: price breaks, stock, datasheets. You create the developer account; the keys stay in the OS keychain, outside every project and repository.
- By hand for shops without an open API (McMaster-Carr, MISUMI, LCSC, SnapMagic, GrabCAD...): part number, link and notes, with the CAD file you download attached. Sites are never scraped; each has a button that opens its own search page in the browser.
The Rust crate library/ runs behind the C bridge (vf_library_*,
bridge/src/library.rs), with the panel in apple/Shared/Library. Saved parts live in
~/Library/Application Support/ViaForm/Library; API keys go to the macOS or iOS Keychain
(service me.somalabs.viaform.library, this device only) and are passed with each search, never
written to the library folder. Mac: the Libraries button in the toolbar, or --library /
--library=M3x12 at launch. iPad and iPhone: Libraries in the top bar.
Full steps, prerequisites and Rust targets: Build ViaForm from source.
Every front end talks to one Rust core, viaform-core (core/). Its Workspace holds a
SolidCraft Session (the 3D design) and a viaform-pcb Project (schematic and board) side
by side, with the assembly in core/src/asm. core/src/link.rs is the board to 3D link, core/src/project.rs the .viaform file,
core/src/scene.rs the 3D scene flattened to f32 buffers for the GPU.
- The Swift apps (the only front ends since the Electron app was removed) call the core through
bridge/(viaform-ffi, a static library with the C headers inbridge/include/(viaform.hand one per module):sc_*for CAD,pcb_*for PCB,vf_link_*for the link) and draw with Metal.
More: Architecture of the Rust core and FFI.
- Use ViaForm to design an enclosure and the circuit board that goes in it in one project.
- Use ViaForm to sketch a schematic, lay out a two-layer board and export it to KiCad as a
.kicad_pcb. - Use ViaForm to check that a board fits its housing: send it to 3D, mount it on a face, then update it after each board change.
- Use ViaForm to model parts on an iPad or iPhone with a touch layout.
- Use ViaForm's Rust core as an example of joining two engines behind a C ABI for native Swift front ends.
As of November 2026. Facts about other products are from their public pages; ViaForm is younger and covers far less ground than any of them. ViaForm is an independent project and is not affiliated with Autodesk, Shapr3D or KiCad.
| ViaForm | Autodesk Fusion | Shapr3D | KiCad | |
|---|---|---|---|---|
| License | GPL-3.0-or-later, open source | Proprietary | Proprietary | GPL-3.0, open source |
| Scope | 3D CAD and PCB in one app | 3D CAD, CAM, electronics | 3D CAD | Schematic and PCB |
| Platforms | macOS, iPad, iPhone | Windows, macOS | iPad, macOS, Windows | Windows, macOS, Linux |
| Cost model | Free | Subscription, free personal-use license | Subscription, free plan | Free |
Per-product notes: Fusion, Shapr3D, KiCad.
What is ViaForm?
An open source (GPL-3.0-or-later) app that combines parametric 3D CAD and PCB design in one
project, on the SolidCraft and viaform-pcb Rust engines, for macOS, iPad and iPhone.
Is ViaForm free? Yes. It is free and open source under GPL-3.0-or-later.
Is there an open source alternative to Fusion 360 that does both CAD and PCB? ViaForm is one: it pairs 3D design and electronics in one project with a board to 3D link. It is early and has far fewer features than Fusion. See the comparison.
Can I download ViaForm? Not yet as a published release. Build it from source.
Does ViaForm run on iPad?
Yes, from source. The ViaForm-iOS target builds a touch app for iPad and iPhone (iOS 26+).
GPL rules out App Store distribution. See PCB design on iPad.
Can ViaForm open KiCad files?
In part. KiCad library symbols and footprints place through the Libraries panel, and the PCB
engine reads .kicad_pcb boards (file.import_kicad), with no menu item for it yet.
Schematics (.kicad_sch) are not read. See ViaForm vs KiCad.
What is a .viaform file?
A zip holding viaform.json (format and version, 2 since track A), design.solidcraft,
board.vfpcb, assembly.json, make.json and one drawings/*.json per drawing. Renders
live beside it in Name.viaform-data/renders. A version 1 file with board.pcbcraft is refused
with a message to convert it in an older ViaForm.
See the file format.
How do I put my PCB into the 3D model? In Electronics, press Send to 3D, then Mount on a Part and click a face. See Link a PCB to the 3D model.
What file formats can ViaForm export?
STEP and STL from the design and .kicad_pcb from the board in every app, OBJ and 3MF on the
Mac, .viaform for the whole project. The Mac and iPad also
export Gerber, Excellon, pick and place, BOM, PNG and EXR renders, PDF and DXF drawings, MJCF
and URDF, and the whole Make bundle.
What license is ViaForm under?
GPL-3.0-or-later (see LICENSE). SolidCraft is published upstream under MIT or Apache-2.0;
the pcb/, drawing/ and make/ crates carry MIT or Apache-2.0 in their manifests.
Which parts can I place on a schematic? The engine's built-in kinds (resistor, capacitor, LED, connector) and KiCad library symbols through the Libraries panel.
What do I need to build it?
Rust, the engine submodules, Xcode 26, XcodeGen and the aarch64-apple-darwin, aarch64-apple-ios and aarch64-apple-ios-sim Rust
targets.
- The layouts follow public descriptions of how common CAD tools are arranged
(see
docs/research/cad-ui/). Icons are SF Symbols; colours, names and artwork are our own. - Electronics workspace (Mac: workspace menu, iPad and iPhone: Project sidebar): place parts, wire
pins, update the board, route (one pair or every airwire), read ERC and DRC, export a
.kicad_pcb, plus outline, zones, rules, the autoroute job and fabrication files on the Mac and iPad. - Board to 3D: Send to 3D builds the board as a component of the design (board, copper, holes, part stand-ins) tagged with the PCB revision. Mount on a Part seats it on a picked face with a rigid group. When the board changes, Update 3D rebuilds it inside the same component, so the placement and joints stay.
- The Engine sync workflow moves the engine submodules to their upstream tips every day,
builds and tests the core and the bridge on them and opens a pull request. A
.viaformsaved by a newer format is refused with a message to update, never half read. - No release workflow: the Electron release and self-update left with the Electron app.
- Next steps are in
IMPROVEMENTS.md.
Guides (one question each):
- Open source Fusion 360 alternative with CAD and PCB
- Open source Shapr3D alternative for iPad
- Open source CAD for Mac
- PCB design on iPad
- ViaForm vs KiCad
- The .viaform file format
- Build ViaForm from source
- Architecture of the Rust core and FFI
- Link a PCB to the 3D model
- Versions and compatibility of parts, boards and firmware
Reference:
- Mac layout and iPad layout: the desktop and touch layouts zone by zone.
- IMPROVEMENTS.md: what track A shipped, what is still open, what comes next.
- pcb/PARITY.md: the PCB engine's parity checklist and its open gates.
- docs/render-acceptance.md: the 4K render measurement.
- AGENTS.md: notes for coding agents and contributors.
- llms.txt: a link index for language models.
- SolidCraft: the parametric 3D CAD engine in Rust under ViaForm's design workspace.
- PCBCraft: the PCB engine ViaForm used before
viaform-pcb, removed from ViaForm on 2026-11-27.
GPL-3.0-or-later (see LICENSE). SolidCraft, the one engine submodule, is MIT or Apache-2.0;
the pcb/, drawing/ and make/ crates carry MIT or Apache-2.0. Since PCBCraft left on
2026-11-27 no GPL dependency is linked, so the GPL comes from ViaForm's own licence only; a
relicence to MIT OR Apache-2.0 waits on counsel (docs/specs/LICENSING.md). While the project
is GPL, GPL rules out App Store distribution.


















