Skip to content

ViaForm phases 0 to 3: engines, assemble and arm simulation, icons, MuJoCo backend - #3

Open
QuentinCar0n wants to merge 450 commits into
mainfrom
fusion-layout
Open

QuentinCar0n wants to merge 450 commits into
mainfrom
fusion-layout

Conversation

@QuentinCar0n

Copy link
Copy Markdown
Contributor

Roadmap phases 0 to 3 of docs/specs/VIAFORM-SPEC.md section 12, plus the engines, icons and a first MuJoCo backend.

Engines (Rust)

  • generative: 3D voxel topology optimisation (multigrid PCG, MMA written from the papers, robust Heaviside), thermal conduction with Robin convection, and G3 load cases built from simulated wrench histories (vf_generate_loads_from_record). The validation reference is an optimality criteria solver written from Bendsoe and Sigmund. It replaces the earlier top3d port, and its compliance is within 0.03 % of the published value.
  • fluid: D3Q19 lattice Boltzmann with regularized collision, LES, Bouzidi walls, Brinkman porosity and a passive temperature, validated against Ghia and Schafer-Turek.
  • kin: FK, Jacobians, DLS and analytic 6R IK, hand IK with tendons, drag entry, C ABI.
  • phys: Featherstone ABA, convex contacts, servo and DC motor models, tendons, drone power and thermal, deterministic batch runs, scenario loader, vf_phys C ABI.
  • mujoco (optional, feature mujoco, off by default): MuJoCo 3.17.0 as a second backend behind the same phys facade, with MJCF export. Cross-validated against phys. macOS and Linux only.
  • pcb: clean-room PCB engine (ERC, DRC, two-layer autorouter, Gerber, Excellon, KiCad and CSV outputs). It is not wired into the app yet.
  • core: assembly model (joints, mass properties, interference, motion study, MJCF and URDF) and the product flow graph.

Apple apps

  • Phase 1 shell: workspace dropdown, flow graph, start window, robot stage, design handles, sketch dimensions.
  • Phases 2 and 3: Assemble screen, IK drag, grasp editor, arm Simulate with demo replay, loads sheet to Generate, e-stop keys.
  • Direction A tool icons and the app icon: Glass lattice is the primary icon, Graphite is an alternate on iOS.

Docs

Specs, state-of-the-art research notes for simulation and generative design, engine docs, the licensing and authorship audit, and the UI/UX audit (docs/specs/UI-UX-AUDIT.md).

Checks

  • cargo test --release --workspace --exclude viaform-node: 372 passed, 0 failed locally.
  • macOS and iOS simulator builds are clean, and --selftest reports ALL PASS.

Still open

  • UI/UX fixes from the audit are in progress and will land as further commits on this branch.
  • PCB engine swap and the relicensing decision.
  • MuJoCo on iOS and iPadOS (not supported upstream).
  • Assemble on iPad.

… viaform-pcb, with DRC, ERC and unrouted connections as checks that say how to fix them
…rage, and every drawing as PDF and DXF with orphaned annotations listed
…the same bytes as before when there are none
…ded part, each new part shown exploded along its joint, the pinned render of this design revision on the cover
…tes the whole bundle into a side folder renamed into place with its manifest, and verifies a bundle by rebuilding it from the project inside
…ancel, through vf_make_start, poll, cancel and finish, and make.json reads and writes through the bridge
…jobs, settings saved with the project, and its self test
…ser with written and stale states, Build Package dialog that only errors can block, Checks panel with fixes, and the nothing-ordered notice
… and Verify in the tool column, an export sheet per output that only errors can block, the bundle shared as a zip, and the nothing-ordered chip
…same hashes, and open in gerbv and KiCad when those are installed
… is open and decisions A-D1 to A-D4; README covers Assemble, Render, Drawings, Make, viaform-pcb and the self-test flags; PARITY records the gates track A closed and the ones still open
…ach net reached, not by name (review finding 6)
…s about wires to a part left out (review finding 7)
…a project replaces the board; the pipeline job logs its board revision only after the plan lands (review findings 5 and 10)
…rd edited after a failed PCBCraft migration is no longer replaced by the retry on reopen: it stays with a warning and the old bytes stay in the file (review findings 13 and 7c)
…per level with moments, ghost and restriction kernels, the CPU coupling and time order, bodies on the finest level, lazy loads, mass correction), GPU non-equilibrium refill mirroring the CPU default, prop5 hover bench at 0.5 and 0.3 mm
… case and template echoed in results, propeller mid-plane slice, acoustic record planned up front, load SEM and passage-filtered series, blade resolution guard, hash without canonical meshes, refined runs on the GPU hierarchy with a corrected estimate)
HandKit FEA rerun on CANDIDATE dc53ed5a with every tendon site loaded
on its contact with the real surface. 41 of 44 entries under SF 2 in
some case, 26 in a primary case. cad_requests.md and
candidate/requests.md rewritten for this run: a sized change per case
(wall, edge radius, boss ring, insert, bushing), the TPU pads on a
separate line.
…eometry (as the CPU since 2026-11-29, a body on a thin periodic axis was never voxelized), steps without load entries read zero loads instead of indexing an empty partials buffer, two regression tests
Cord edge seats of R 6 where the joint sweeps leave room (fingers,
thumb, palm), none round the PIP and IP heads. Elbow cap M3 bosses
closed to OD 9 rings, plug boss 1.5 mm under its bore. Frame lane
plate 5 mm, a lane clip at fdp_little_lane_bend, flange bosses OD
12.7. assembly.json names the MCP pin that carries each finger
abduction. Every CAD check green, 40 printed parts, tendons.json
unchanged.
…ray parity, owners, kinds, links with ray-hit q, covered and refill records by prefix sums); host decides f32 ties by winding so masks equal the CPU; BodyUpdate Host/Device switch, pose and full-step tests, bench rows
…, poll, result from the command line), taylor_couette_torque accepts the GPU backend under the gpu feature
The FEA on c5098ade lowered the middle phalanges (ring_middle 0.40 to
0.07) and the palm (fdp_index 0.54 to 0.43) under their cord seats, and
the flange screws (0.21 to 0.07) where the bigger elbow boss widened
the spigot notch. Seats stay on the proximal phalanges and the thumb
only; the tapped flange bosses keep OD 12.7, the elbow bosses go back
to 7.2. The extension stop boss stays 0.4 mm inside the sleeve skin
(it met the sleeve at the static check's tolerance). Every CAD check
green, tendons.json unchanged.
HandKit FEA on CANDIDATE 7e0462dd (cord seats on the proximal
phalanges and the thumb, elbow cap rings, 5 mm lane plate, fdp_little
lane clip, OD 12.7 tapped flange bosses). 41 of 44 entries under SF 2,
26 in a primary case (dc53ed5a: 41 and 26), 8 ill posed (11).
cad_requests.md, candidate/requests.md and table.md rewritten for this
run; the frame lane-end cases are grid sensitive at 0.77 mm.
…f keeps the old EKF

HK5_EST defaults to fit (BallFit, HK5_ROLL 1); HK5_EST=ekf returns BallEKF with the fixed
freeze (HK5_ROLL 0) unless HK5_ROLL is set; any other value is refused. test_estimator.py
checks the flags and a BallFit end-point prediction.
… ring seat

A joint with carried_by in assembly.json (a finger abduction that rocks
the MCP pin in its bore) now loads the part through that bought pin:
its middle, axis and length from the pin's link at home, not a pin
along the joint's own axis (the palm read SF 0.03 on material the
little_abd axis happened to cross).

A screw preload now finds its seat by the share of the turn the
material rings the hole: under half (a notch round the other part's
boss, the pocket round the elbow cap's aluminium plate) is beside the
screw, not under its head. The head bears on the first ring when it is
within a quarter of the screw of the head end; the clamped face and
the thread use the ring too. Tests in generative/tests/stress_loads.rs.
… as pure couples

A case under 1.5 times the target whose critical point sits in a wall thinner than six voxels
is solved again in a cube round that point at a finer voxel. The rest of the part acts on the
cube through its cut faces (resultant and moment per face patch, linear traction), a piece no
fixture holds is held 3-2-1, and a band at the cut faces is left out of the judging.
--refine-check solves each cube 1.5 times finer as a convergence check. CLI: --case, --except,
--refine, --no-refine, --refine-check.

A torque target off to one side of its centre put a net force on the part; the couple is now
taken about the loaded nodes' centroid, so it sums to zero.
… cap rings full depth, EPL pp_out rib, tapered round elbow cap, flush sleeve end and rim screws, wrist hood
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant