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:
parent
8dc9803c02
commit
27cae9467a
26 changed files with 543 additions and 114 deletions
|
|
@ -428,6 +428,7 @@ pub(super) fn message_attribute(source: &str) -> Option<(&'static str, &'static
|
|||
"Blocks ({}) — insert with INSERT <name>: {}" => Some(("insert", "blocks-insert-with-insert-name")),
|
||||
"Blocks ({}): {}" => Some(("insert", "blocks")),
|
||||
"Blue" => Some(("common", "blue")),
|
||||
"Bulge" => Some(("common", "bulge")),
|
||||
"Body" => Some(("properties", "body")),
|
||||
"Bold" => Some(("properties", "bold")),
|
||||
"Book" => Some(("properties", "book")),
|
||||
|
|
@ -2051,8 +2052,20 @@ pub(super) fn message_attribute(source: &str) -> Option<(&'static str, &'static
|
|||
"RAY Specify start point:" => Some(("draw", "ray-specify-start-point")),
|
||||
"RAY Specify through point:" => Some(("draw", "ray-specify-through-point")),
|
||||
"README could not be loaded" => Some(("plugins", "readme-could-not-be-loaded")),
|
||||
"RECT Calculate dimensions based on [Length / Width] <Length>:" => Some(("draw", "rect-calculate-dimensions-based-on-length-width")),
|
||||
"RECT Specify elevation <{}>:" => Some(("draw", "rect-specify-elevation")),
|
||||
"RECT Specify fillet radius <{}>:" => Some(("draw", "rect-specify-fillet-radius")),
|
||||
"RECT Specify first chamfer distance <{}>:" => Some(("draw", "rect-specify-first-chamfer-distance")),
|
||||
"RECT Specify first corner:" => Some(("draw", "rect-specify-first-corner")),
|
||||
"RECT Specify orientation from the first corner:" => Some(("draw", "rect-specify-orientation-from-the-first-corner")),
|
||||
"RECT Specify opposite corner:" => Some(("draw", "rect-specify-opposite-corner")),
|
||||
"RECT Specify rectangle area:" => Some(("draw", "rect-specify-rectangle-area")),
|
||||
"RECT Specify rectangle length:" => Some(("draw", "rect-specify-rectangle-length")),
|
||||
"RECT Specify rectangle width:" => Some(("draw", "rect-specify-rectangle-width")),
|
||||
"RECT Specify rotation angle <{}>:" => Some(("draw", "rect-specify-rotation-angle")),
|
||||
"RECT Specify second chamfer distance <{}>:" => Some(("draw", "rect-specify-second-chamfer-distance")),
|
||||
"RECT Specify thickness <{}>:" => Some(("draw", "rect-specify-thickness")),
|
||||
"RECT Specify width <{}>:" => Some(("draw", "rect-specify-width")),
|
||||
"RECT CEN Specify center point:" => Some(("draw", "rect-cen-specify-center-point")),
|
||||
"RECT CEN Specify corner point:" => Some(("draw", "rect-cen-specify-corner-point")),
|
||||
"RECT ROT Specify adjacent corner (defines edge direction):" => Some(("draw", "rect-rot-specify-adjacent-corner-defines-edge")),
|
||||
|
|
|
|||
Loading…
Reference in a new issue