新增矩形 (geometry.addRectangle)
選單: 無(快速開啟、CLI、Python 與 MCP) · 執行方式: 立即完成
預覽功能:在「編輯 › 偏好設定 › 模擬」開啟預覽功能,或執行
preview.set {"enabled":true}。回覆會帶有preview: true與說明。
以下參數與說明取自指令本身的定義,與 CLI、Python 及 MCP 讀到的文字相同,因此保留英文。
說明
Adds the axis-aligned rectangle as four segments, reusing points and segments it shares with the drawing. One undo step.
參數
min: [number] (one corner, x, y in m)max: [number] (the opposite corner)snap: number? (grid, m)
回覆
- added:[int] (the edges: bottom, right, top, left)
- ...summary