feat(area): add object and aggregate modes

Mesh-backed measurements need cached surface metrics. Keep shared loop collection available in web builds.
This commit is contained in:
Hakan Seven 2026-08-03 22:31:20 +03:00
commit 48332ee807
8 changed files with 458 additions and 62 deletions

View file

@ -40,6 +40,24 @@ command-line-hint = Type a command or use the ribbon. Open OBJ from the Insert t
command-line-label = Command:
command-line-literal-spaces = Literal spaces: Space stays in the line instead of running the command. Stays on until toggled off.
area-option-object = Object
area-option-add = Add area
area-option-subtract = Subtract area
area-prompt-first = AREA Specify first corner point or [Object/Add area/Subtract area] <Object>:
area-prompt-add = AREA ADD Specify first corner point or [Object/Subtract area] <Object>:
area-prompt-subtract = AREA SUBTRACT Specify first corner point or [Object/Add area] <Object>:
area-prompt-next = AREA Specify next point ({ $count } picked, Enter to calculate):
area-prompt-object = AREA Select object:
area-object-not-measurable = AREA: the selected object has no measurable area.
area-result = Area = { $area }, Perimeter = { $perimeter }
area-result-area-only = Area = { $area }
area-running-result =
Area = { $area }, Perimeter = { $perimeter }
Total area = { $total_area }, Total perimeter = { $total_perimeter }
area-running-result-area-only =
Area = { $area }
Total area = { $total_area }
start-new-drawing = New Drawing
start-open-file = Open File…
start-donate = Donate