.input是input的外框,.input input是input的內框
沙雕
?全部input都換成textarea了
自己的方法用接口定義,把自己的方法pub出去,定義在內部拉出去只是取個值
這其實是mainwindow端pub回來的
窗口pub端把數據pub回 mainwindow端讓mainwindow端執行就不用callback了
------------------------------------------------------------------------------
xiangechen/chili3d | DeepWiki
I'll answer your question about why BoxNode and CylinderNode are in the "chili" package.
我將回答您關于為什么 BoxNode 和 CylinderNode 位于 “chili” 包中的問題。
Answer答In the Chili3D project, BoxNode and CylinderNode are part of the "chili" package because they are core geometric shape nodes that implement 3D primitives used in the CAD modeling system. These nodes are defined in the "bodys" directory of the chili package and serve as the representation of box and cylinder shapes within the document model.
在 Chili3D 項目中,BoxNode 和 CylinderNode 是“chili”包的一部分,因為它們是實現 CAD 建模系統中使用的 3D 基元的核心幾何形狀節點。這些節點在 chili 包的 “bodiess” 目錄中定義,用作文檔模型中箱形和圓柱形的表示。The BoxNode class represents a 3D box primitive with properties for:
BoxNode 類表示一個 3D 盒體基元,該基元具有以下屬性:A plane defining its orientation定義其方向的平面Width (dx), depth (dy), and height (dz) dimensions box.ts:16-20寬度 (dx)、深度 (dy) 和高度 (dz) 尺寸 box.ts:16-20Similarly, the CylinderNode class represents a 3D cylinder primitive with properties for:
同樣,CylinderNode 類表示一個 3D 圓柱體基元,該基元具有以下屬性:A normal vector defining its axis direction定義其軸方向的法線向量A center point 一個中心點A radius 半徑A height (dz) cylinder.ts:16-20身高 (dz) cylinder.ts:16-20These nodes are part of the "chili" package because:
這些節點是 “chili” 包的一部分,因為:Core Geometry System: They implement fundamental 3D shapes that are essential building blocks for CAD modeling.Core Geometry System:它們實現了基本的 3D 形狀,這些形狀是 CAD 建模的基本構建塊。Document Model Integration: They extend ParameterShapeNode, which allows them to be part of the document tree structure. box.ts:16文檔模型集成 :它們擴展了 ParameterShapeNode,這使它們成為文檔樹結構的一部分。box.ts:16Command System Integration: They are created by corresponding commands in the "create" namespace:命令系統集成 :它們由 “create” 命名空間中的相應命令創建:Box command creates BoxNode instances box.ts:47-50Box 命令創建 BoxNode 實例 box.ts:47-50Cylinder command creates CylinderNode instances cylinder.ts:81-91Cylinder 命令創建 CylinderNode 實例 cylinder.ts:81-91Centralized Shape Management: All shape nodes are exported from a central index file in the bodys directory: index.ts:4-7集中式形狀管理 :所有形狀節點都從 bodiess 目錄中的中央索引文件導出:index.ts:4-7The "chili" package appears to be the core package of the Chili3D project, containing the fundamental building blocks for the CAD system, including shape definitions, commands for creating and manipulating shapes, and the document model structure.
“chili” 包似乎是 Chili3D 項目的核心包,包含 CAD 系統的基本構建塊,包括形狀定義、用于創建和作形狀的命令以及文檔模型結構。
Notes筆記The "chili" package seems to be the main package in the Chili3D project, containing core functionality like shape definitions and commands. BoxNode and CylinderNode are part of a collection of geometric primitives that also includes other shapes like Circle, Cone, Ellipse, etc. as seen in the bodys/index.ts file. These nodes are created through a multistep command system that guides users through the process of specifying parameters for the shapes.
“chili” 包似乎是 Chili3D 項目中的主要包,包含形狀定義和命令等核心功能。BoxNode 和 CylinderNode 是幾何圖元集合的一部分,該集合還包括其他形狀,如 Circle、Cone、Ellipse 等,如 bodys/index.ts 文件中所示。這些節點是通過多步驟命令系統創建的,該系統將指導用戶完成為形狀指定參數的過程。
?
2025-05-04 12-25-57 ai生成圓柱體