Skip to content

Add measurement tools preference with measuring tape and angle tool overlays - Add "Enable Measurement Tools" checkbox to the Preferences dialog (TrackLabPreferencesModel + TrackLabPreferencesNode) - Add i18n strings for the new preference (EN + FR) - Add measurement tool state to SimModel: visibility flags and pixel-space position properties for both tools (tapPoint1/2, angleVertex/Arm1/Arm2) - Create MeasuringTapeNode: two draggable endpoints connected by a yellow dashed tape line; midpoint label shows real-world distance via MVT - Create AngleToolNode: vertex + two arm endpoints with a purple arc and degree label showing the interior angle - Create MeasurementToolsPanel: compact toggle panel (tape icon + angle icon checkboxes) positioned above the Info button, shown only when the preference is enabled - Wire everything into SimScreenView with DerivedProperty visibility guards (video must be loaded before overlays appear) https://claude.ai/code/session_019Lr1B4c4bUbQ4HgiZxG4Mb - #46

Merged
veillette merged 1 commit into
mainfrom
claude/add-measurement-tools-checkbox-LckC4
Feb 23, 2026

Conversation

@veillette

Copy link
Copy Markdown
Collaborator

No description provided.

…verlays

- Add "Enable Measurement Tools" checkbox to the Preferences dialog
  (TrackLabPreferencesModel + TrackLabPreferencesNode)
- Add i18n strings for the new preference (EN + FR)
- Add measurement tool state to SimModel: visibility flags and pixel-space
  position properties for both tools (tapPoint1/2, angleVertex/Arm1/Arm2)
- Create MeasuringTapeNode: two draggable endpoints connected by a
  yellow dashed tape line; midpoint label shows real-world distance via MVT
- Create AngleToolNode: vertex + two arm endpoints with a purple arc and
  degree label showing the interior angle
- Create MeasurementToolsPanel: compact toggle panel (tape icon + angle
  icon checkboxes) positioned above the Info button, shown only when the
  preference is enabled
- Wire everything into SimScreenView with DerivedProperty visibility guards
  (video must be loaded before overlays appear)

https://claude.ai/code/session_019Lr1B4c4bUbQ4HgiZxG4Mb
@veillette
veillette merged commit bb1e95e into main Feb 23, 2026
1 check passed
@veillette
veillette deleted the claude/add-measurement-tools-checkbox-LckC4 branch February 24, 2026 02:13
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.

2 participants