fix(rect): harden rectangle behavior

Reject invalid trim geometry instead of silently changing dimensions.\nRegister XData application IDs so rectangle metadata survives saves.
This commit is contained in:
Hakan Seven 2026-08-22 22:55:36 +03:00
commit 27cae9467a
26 changed files with 543 additions and 114 deletions

View file

@ -314,6 +314,7 @@ common =
.block-rotation = Block rotation
.blocks = Blocks
.blue = Blue
.bulge = Bulge
.boolean-failed-the-solids-may-not-overlap = Boolean failed — the solids may not overlap.
.boolean-select-exactly-two-solids-created-this = Boolean: select exactly two solids created this session.
.bottom = Bottom
@ -1329,6 +1330,18 @@ draw =
.ray-specify-through-point = RAY Specify through point:
.rect-specify-first-corner = RECT Specify first corner:
.rect-specify-opposite-corner = RECT Specify opposite corner:
.rect-calculate-dimensions-based-on-length-width = RECT Calculate dimensions based on [Length / Width] <Length>:
.rect-specify-elevation = RECT Specify elevation <__ocs_fmt_0__>:
.rect-specify-fillet-radius = RECT Specify fillet radius <__ocs_fmt_0__>:
.rect-specify-first-chamfer-distance = RECT Specify first chamfer distance <__ocs_fmt_0__>:
.rect-specify-orientation-from-the-first-corner = RECT Specify orientation from the first corner:
.rect-specify-rectangle-area = RECT Specify rectangle area:
.rect-specify-rectangle-length = RECT Specify rectangle length:
.rect-specify-rectangle-width = RECT Specify rectangle width:
.rect-specify-rotation-angle = RECT Specify rotation angle <__ocs_fmt_0__>:
.rect-specify-second-chamfer-distance = RECT Specify second chamfer distance <__ocs_fmt_0__>:
.rect-specify-thickness = RECT Specify thickness <__ocs_fmt_0__>:
.rect-specify-width = RECT Specify width <__ocs_fmt_0__>:
.rect-cen-specify-center-point = RECT CEN Specify center point:
.rect-cen-specify-corner-point = RECT CEN Specify corner point:
.rect-rot-specify-adjacent-corner-defines-edge = RECT ROT Specify adjacent corner (defines edge direction):