• v0.2.1 a7c2a1370f

    v0.2.1 Stable

    calum released this 2026-07-01 01:46:01 +01:00 | 93 commits to main since this release

    v0.2.1 — calibration unit fix (v0.6 IPC amendment). Fixes the silent proportional error that made v0.2.0 calibration untrustworthy for CAD-input workflows.

    What was wrong in v0.2.0. calibrate_floorplan accepted a raw number and assumed metres. A CAD user (who works exclusively in millimetres) typing 4771 meaning millimetres got a scale_pixels_per_metre that was ~1000× wrong — 0.23 px/m instead of ~190 px/m. Wrong in a plausible-looking way that would silently propagate into every Phase 3 delay downstream.

    What v0.2.1 changes.

    1. Unit is now data on the wire. Calibration input carries known_distance + known_distance_unit: 'mm' | 'm'. Backend converts to metres at the boundary. Internal storage stays metres (unchanged). Nothing can silently assume any more.
    2. Working-units preferences per project. Two distinct concerns: geometry_input_unit (default mm) drives the unit dropdown on the calibration form; acoustic_display_units (default m) formats delay-context distances when they land in Phase 3. Fresh projects ship with the right defaults for the primary CAD workflow.
    3. Scale readback is now human-readable. The HUD and the calibration preview show 1 m = N px (primary), 1 px = N cm (reciprocal), and the raw N px/m — a wrong-unit entry falls out immediately (1 m = 0.19 px screams before you save).
    4. Measure tool (top toolbar between "Import image" and "Calibrate"). Click two points, read the distance in your working unit. Transient inspection ruler — nothing stored. This is what lets you verify calibration: calibrate on one known dimension, then measure a second known dimension to check the number lines up.
    5. Fit / 100% buttons now floated above the drawing with their own solid backdrop — no longer disappear on busy plans.

    Re-testing the plan you already had. No migration needed. The OroVerde-DD floorplan you were on: just hit Re-calibrate scale…, click your two points, this time the mm-vs-m dropdown will default to mm (CAD default), enter your CAD dimension in millimetres, save. Then use Measure… against a second known dimension to verify.

    Windows Settings → About should read 0.2.1; the installer filename is LOUD-Patch-Authority-0.2.1-windows-x86_64-setup.exe. Anything else is a stale build — flag it. SmartScreen will warn on first run (unsigned): More info → Run anyway.

    Build: a7c2a13. Backend test coverage: 60 tests, all green — 2 new tests pin the mm↔m equivalence at floating-point exact tolerance.

    Downloads