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

@ -301,6 +301,7 @@ common =
.block-rotation = 块旋转
.blocks = 块状物
.blue = 蓝色
.bulge = 凸度
.boolean-failed-the-solids-may-not-overlap = 布尔失败——固件可能不会重叠.
.boolean-select-exactly-two-solids-created-this = 布尔: 选择创建此会话的正中两个固件 。
.bottom = 底部
@ -1316,6 +1317,18 @@ draw =
.ray-specify-through-point = RAY通过点指定 :
.rect-specify-first-corner = RECT 指定第一角 :
.rect-specify-opposite-corner = RECT 指定相向角 :
.rect-calculate-dimensions-based-on-length-width = RECT 根据 [长度 / 宽度] 计算尺寸 <长度>:
.rect-specify-elevation = RECT 指定标高 <__ocs_fmt_0__>:
.rect-specify-fillet-radius = RECT 指定圆角半径 <__ocs_fmt_0__>:
.rect-specify-first-chamfer-distance = RECT 指定第一个倒角距离 <__ocs_fmt_0__>:
.rect-specify-orientation-from-the-first-corner = RECT 从第一个角点指定方向:
.rect-specify-rectangle-area = RECT 指定矩形面积:
.rect-specify-rectangle-length = RECT 指定矩形长度:
.rect-specify-rectangle-width = RECT 指定矩形宽度:
.rect-specify-rotation-angle = RECT 指定旋转角度 <__ocs_fmt_0__>:
.rect-specify-second-chamfer-distance = RECT 指定第二个倒角距离 <__ocs_fmt_0__>:
.rect-specify-thickness = RECT 指定厚度 <__ocs_fmt_0__>:
.rect-specify-width = RECT 指定宽度 <__ocs_fmt_0__>:
.rect-cen-specify-center-point = RECT CEN 指定中心点:
.rect-cen-specify-corner-point = RECT CEN 指定角点:
.rect-rot-specify-adjacent-corner-defines-edge = RECTROT指定相邻的角( 定边方向) :