Repository navigation
ViaForm phases 0 to 3: engines, assemble and arm simulation, icons, MuJoCo backend - #3
Merged
Merged
Conversation
…ed, palm ball seat, forearm pronation, TAB 12th unit and 12-disk elbow cap, RS-485 timing by interrupts, option B HK-CAP boards documented; CAD not frozen, ball_contact still failing
Inspect Run all, GD&T add forms, SI/PI DC drop heatmap (null cells), Routing compact layout, Versions branch row on a new history, plus row splits, axis labels and float noise across the Pro tools.
…tor and net counts inflected
…de in mujoco and handkit-pcb, serde_json in probe
… try1 retakes), fix PCBCraft licence and URLs
… and Shapr3D identical)
…and their scripts), build.py reads raw/ only
…generate_loads_from_record, sc_scene_background, pcb_commands, vf_phys_set_controls
…e bundle The Mac and iPad apps resolved docs/generative, docs/components and the drone frame from #filePath (Mac) or VIAFORM_REPO, so a run from a checkout on the Desktop hit the Desktop folder prompt; the iPad froze in SimModel.reloadGeneratedFrame and GenerateSelfTest. A build phase (scripts/bundle-source-data.sh) now clones those files into the bundle under SourceData/ with the repository layout, SourceTree.root points there, and the Mac user copy of the drone files moves from Documents to Application Support. Self tests: Mac --selftest 565 PASS, --drawing-selftest 42, --assemble-selftest 33, iPad --selftest 541 PASS, all ALL PASS. Make screenshots added.
…t leaves Opened through the board.pcbcraft migration and saved as board.vfpcb: 9 of 12 parts (J1 to J6, C1, R1, D1). U1, U2, U3, their nets and 108 track segments were not migrated (owner accepts the loss). The file is now tracked; the rest of samples/ stays ignored.
ViaForm is now a Rust backend with native Swift apps for Mac, iPad and iPhone. Deleted electron/ (TypeScript app, tests, packaging), node/ (viaform-node) and the four docs/electron-*.png; node left the workspace members and Cargo.lock. CI: the rust job runs cargo test --workspace on macOS (four wall-clock tests skipped, named in the workflow), the apple job builds the bridge, generates the Xcode project and builds ViaForm-macOS and ViaForm-iOS (simulator) without signing. release.yml shipped only Electron and is gone; engine-sync.yml no longer runs npm or bumps a version. README, AGENTS.md, llms.txt, CITATION.cff, the guides and code comments no longer describe an Electron front end. Board: VF-7, VF-8, VF-15 moved to Done.
Stress test (VF-3): viaform-generative gains a layer-aware voxel FEA (PETG, PLA+, TPU, sparse infill, interlayer criterion) with load cases inferred from assembly.json, the viaform-fea CLI (--auto --json, exit codes 0 to 3), a C ABI (viaform_stress.h) and a Stress test study in Generate on Mac, iPad and iPhone. HandKit R5 WIP results live in docs/handkit/fea. Boards (VF-1): viaform-pcb supports 4 and 6 layers: stackup, planes, through vias, router, DRC, per-layer Gerbers and KiCad export (pcb/LAYERS.md, tests/multilayer.rs). Dossier (VF-4): new crate viaform-report builds the technical dossier (drawings, exploded view, assembly steps, BOM, ROM, strength, checks, headless Blender stills) from a project file with no AI in the loop. handkit/render keeps only render_all.sh and handkit.report.json; the old hand-written render scripts and their outputs are removed.
… palm seat fixed (floating TPU island removed), all CAD checks green incl. ball_contact, atomic parts export, hk5 sim on real CAD meshes with series spring law; not frozen (catch rate, FEA, DFM, look open)
viaform-pcb is the only PCB engine now. The engines/pcbcraft submodule, the pcbcraft-migration feature, core/src/migrate.rs and the workspace dependencies on pcbcraft-engine and pcbcraft-io are gone. Opening a format 1 project (or a later one still holding the old board) now fails with "This project uses the old PCBCraft board format; open it in an older ViaForm to convert", and leaves the file untouched. Covered by two core tests and the Mac self-test check A1. samples/drone.viaform was migrated to format 2 beforehand (83aaf44). The migration banner and Try Again button leave ProjectFiles.swift and BomModel.swift; open_project replies with the BOM only. The KiCad library fixtures move from the submodule into library/tests/fixtures with their licence. README, AGENTS.md, llms.txt, CITATION.cff, IMPROVEMENTS.md, LICENSING.md and the guides no longer list PCBCraft as a dependency.
…cap, flush cap seam, GLB decimation capped, real interferences fixed and intended fits declared
…odies Noble and Torczynski 1998 PSM on the CPU solver: per-cell solid fraction from sub-cell line or point sampling of the body's inside test at the mid-step pose, B weighting (tau or linear), non-equilibrium bounce-back solid operator, momentum-exchange loads equal to the fluid's momentum change. Case API motion.wall bounce_back (default, unchanged) or psm; PSM cases run on the CPU, GpuSolver rejects PSM bodies. Validation in fluid/tests/psm.rs, numbers and limits in docs/fluid/ENGINE.md.
…roud of the pad tca9, BallFit default, 2000 throws from 1e9: 39.95 % (95 % 37.8 to 42.1), -1.35 points against dc53ed5a (paired 95 % 0.6 to 2.1). The thumb_proximal R 6 seats stand 1.7 mm proud of the TPU pad; the dc53ed5a STL of that part wins back a net 21 of the 27 lost throws. CAD request item 21 in docs/handkit/sim/cad_requests.md, GAPS SIM line, estimator doc.
…unk under the pad face (sim item 21)
Root cause: the bounce-back of the non-equilibrium has no dissipation, so in fully covered band cells (eps = 1, B = 1) it goes back and forth along links between covered cells and an O(u^2) source of a rotating body piles up linearly in the non-equilibrium stress; its divergence at the edge of the covered layer (second-order streaming term) drives the fluid out of the body. Fix: f_s = f_eq(rho, u_s) + k (f*_opp - f_eq,opp(rho, u)), k = 1 - 0.02 B (PSM_DAMP). Mass and momentum unchanged, continuous in eps, wall unmoved. Regression test psm_rotating_body_keeps_its_interior_mass (1.1e-6, was 4.5e-2). Taylor-Couette -1.82 % / -0.55 % (was -1.95 % / -0.65 %), now steady; silence 34.1 dB (was 29.6), guard back to the 30 dB target; plate jitter unchanged; Galilean -0.023 % (was -0.039 %). ENGINE.md updated.
…ew seat, thin-wall cubes with convergence check, torque couple); run.sh, GAPS line on singular cubes
…ion in a 4 D box)
… clear chord, one sense per wrap), unit tests
…osed tca9, BallFit default, 2000 throws from 1e9: 41.15 % (95 % 39.0 to 43.3), dc53ed5a -0.15 point (paired 95 % -0.64 to +0.34), e4c3ee5b +1.20. The sim reads the moved FPL sites (rest +0.29 mm, arms unchanged); the CAD spool excursions do not enter the sim. GAPS spool travel line refreshed with the a92a2dc6 numbers.
…face it bears out of is held
… and Sagaut 2013, SFD target) on CPU, GPU and refinement; propeller_bench box 7 D x 14 D with a 1.5 D layer; prop5 0.5 mm 16 rev rerun
…mb_proximal and its pad on a92a2dc6), opp_opponens overhung idler pin judged by hand, counts against 7e0462dd
…el peak Every case is judged by the linear-elastic index at L / 2 under the surface, L = (1 / pi) (K_Ic / sigma_0)^2: PETG 0.57 mm, PLA+ 1.6 mm, TPU none. The path is the one where the index falls most; a wall thinner than 4 L is read at an eighth of its thickness. peak_safety_factor and peak_at keep the worst voxel; --no-tcd judges the peak. Tests: V notch voxel independent, hole follows Kirsch's decay, bent strip keeps 3/4.
…cap lip filled, TAB unit lock in a heat-set insert FEA requests on a92a2dc6 (docs/handkit/fea/cad_requests.md, 1f823cc): - palm: the MCP tongue trim ran finger after finger over the whole palm and cut the index, middle and ring heads away (the little head was a slab short of its pin), so no MCP pin ran in a palm bore. Each finger now trims its own lane; a neck core is put back where the finger sweeps parted the heads. - elbow_cap: lip filled inward to the neck running gap (2.6 mm shell wall plus a 1 mm slot before), outside unchanged. - forearm_frame_elbow: TAB unit lock turned 45 deg, OD 7.6 boss to the liner, brass insert M3 x 5.7 (insert_m3_lock_tab), set screw engaged 5.4 mm. - opp_opponens idler not changed: the wheel sits inside the OPP unit's body clearance; needs a layout decision (GAPS.md). Changed STLs: elbow_cap, forearm_frame_elbow, palm, palm_pad. tendons.json identical. Checks green, DFM 0 fail, interference pass.
…, not the cubic At tau near 1/2 the cubic's negative end weights passed grid-scale strain-rate fluctuations from a turbulent fine level to the coarse restriction band amplified, which put spurious momentum and energy into the flow where a wake left a fine block. A forced jet through two interfaces at tau 0.5005 gained 1.20 times its impulse (now 1.0000), and the prop5 hover bench grew a recirculating ring that made its thrust swing between 0.5 and 1.8 N. Density and momentum keep the cubic. Same change on CPU and GPU, new regression test gpu_hierarchy_forced_jet_conserves_momentum, ENGINE.md updated, prop5 0.5 mm rerun for 32 revolutions: thrust 0.885 N, power 28.5 W, window halves -4.1 % and -4.4 %.
…one App Store Connect record)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Roadmap phases 0 to 3 of docs/specs/VIAFORM-SPEC.md section 12, plus the engines, icons and a first MuJoCo backend.
Engines (Rust)
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.vf_physC ABI.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.Apple apps
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.--selftestreports ALL PASS.Still open