feat: add structured placement properties

This commit is contained in:
2026-08-03 00:00:42 -04:00
parent a8f902ceb5
commit 293cff6c36
10 changed files with 95 additions and 10 deletions

View File

@@ -247,6 +247,8 @@ Web CAD 必须先定义“兼容哪些语义”,再选择实现语言。以下
首版属性类型至少包括Boolean、Integer、Float、String、Enumeration、Length、Angle、Vector、Placement、Color、File、ObjectLink、SubshapeLink、ObjectLinkList、Expression 和只读 Shape 摘要。
当前 Facade 已补齐 Vector、Placement、ObjectLinkList/StringList 的结构化值合同,并为几何对象提供可编辑 Placement 数据属性;复合值经过有限数、非零旋转轴、对象存在性校验,深拷贝贯穿 Undo/Redo、自动保存和 SQLite JSON 往返。Placement 编辑器采用可展开的 Position/Axis/Angle 网格。File、只读 Shape 摘要、多选 mixed 和 Placement 对真实特征执行器的完整 FreeCAD 局部坐标语义仍待后续门禁。
每个属性定义包含:
- 稳定名称、显示标签、分组、说明、数据类型和默认值。