Voltecx 目前為測試版。macOS 版先推出,Windows 與 Linux 安裝包仍在測試中。測試版。macOS 版先推出,Windows 與 Linux 版仍在測試。⁠最新消息
文件

新增線段 (geometry.addSegment)

元件參考 · English

選單: 無(快速開啟、CLI、Python 與 MCP) · 執行方式: 立即完成

預覽功能:在「編輯 › 偏好設定 › 模擬」開啟預覽功能,或執行 preview.set {"enabled":true}。回覆會帶有 preview: true 與說明。

以下參數與說明取自指令本身的定義,與 CLI、Python 及 MCP 讀到的文字相同,因此保留英文。

說明

Adds the straight segment; points given by coordinates are added or reused, and the same segment is reused. One undo step.

參數

  • from: int|[number] (a point index, or x, y in m)
  • to: int|[number]
  • snap: number? (grid, m)

回覆

  • edge (its index)
  • from
  • to (point indices)
  • ...summary