Rounded Rectangle sketch tool (#891) (#948)

* Rounded Rectangle sketch tool (#891)

A new SKETCH > CREATE command, sketch.rectangle.rounded, in the Rectangle
family: two opposite corners and a corner radius make a 2-point rectangle
whose four corners are filleted alike, as one undo step. The radius is one
parameter (one radius dimension, the other arcs equal to it), so changing it
changes all four corners. While drawing, Width, Height and Radius boxes take
typed values; typed width and height dimension the overall size between
opposite sides. Without a typed radius the corners get a fifth of the shorter
side.

Fixes #891

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Rounded Rectangle in the Simplified Chinese catalog

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
bherbruckandClaude Opus 5.5 authored and GitHub committed 2026-10-13 23:52:10 -04:00
1 parent 19bf854dc9
commit 97ff7578c2
15 files changed
+330 -9

No files matched your search

+3 -2
View File
@@ -1,8 +1,8 @@
# Features
SolidCraft's commands by area, generated by `cargo xtask features` from the command registry (`solidcraft-cli commands`). **342 commands.** Planned (registered, not built yet): 6. Every command runs the same way from the toolbar, a script, `solidcraft-cli exec <id> '<json>'`, the control channel and MCP; parameters are in the [command reference](book/src/reference/commands.md) (`cargo xtask book`). Status and plans: [ROADMAP](../ROADMAP.md).
SolidCraft's commands by area, generated by `cargo xtask features` from the command registry (`solidcraft-cli commands`). **343 commands.** Planned (registered, not built yet): 6. Every command runs the same way from the toolbar, a script, `solidcraft-cli exec <id> '<json>'`, the control channel and MCP; parameters are in the [command reference](book/src/reference/commands.md) (`cargo xtask book`). Status and plans: [ROADMAP](../ROADMAP.md).
## Sketch (98)
## Sketch (99)
| Command | Id | Toolbar |
|---|---|---|
@@ -13,6 +13,7 @@ SolidCraft's commands by area, generated by `cargo xtask features` from the comm
| Draw Dimensioned Sketch Geometry | `sketch.draw.dimensioned` | – |
| 2-Point Rectangle (R) | `sketch.rectangle.two_point` | SKETCH › CREATE |
| 3-Point Rectangle | `sketch.rectangle.three_point` | SKETCH › CREATE |
| Rounded Rectangle | `sketch.rectangle.rounded` | SKETCH › CREATE |
| Center Rectangle | `sketch.rectangle.center` | SKETCH › CREATE |
| Center Diameter Circle (C) | `sketch.circle.center` | SKETCH › CREATE |
| 2-Point Circle | `sketch.circle.two_point` | SKETCH › CREATE |