在基于构造实体几何(CSG)的 CAD 中引入双向编程
Introducing Bidirectional Programming in Constructive Solid Geometry-Based CAD
AI总结:
针对 CSG CAD 中脚本编辑与三维直接操纵割裂的问题,本文提出双向编程方法,使用户可在代码与视图间同步编辑,并基于修改版 OpenSCAD 给出概念验证。
摘要:
三维计算机辅助设计(CAD)用户若想受益于程序化界面工具的灵活性,需要克服若干障碍。除了任何编程语言本身的门槛之外,用户还面临三维空间交互所固有的挑战。为简单操作编写脚本,例如在三维空间中移动一个元素,可能比使用直接操纵完成同一任务困难得多。基于我们对程序化界面用户开展的访谈,我们为构造实体几何(CSG)CAD 工具引入双向编程概念。我们描述了用户如何通过视图中的直接操纵或代码编辑来导航和编辑三维模型,同时由系统确保两个空间之间的一致性。我们还详细介绍了使用修改版 OpenSCAD 实现的概念验证。
英文摘要:
3D Computer-Aided Design (CAD) users need to overcome several obstacles to benefit from the flexibility of programmatic interface tools. Besides the barriers of any programming language, users face challenges inherent to 3D spatial interaction. Scripting simple operations, such as moving an element in 3D space, can be significantly more challenging than performing the same task using direct manipulation. We introduce the concept of bidirectional programming for Constructive Solid Geometry (CSG) CAD tools, informed by interviews we performed with programmatic interface users. We describe how users can navigate and edit the 3D model using direct manipulation in the view or code editing while the system ensures consistency between both spaces. We also detail a proof-of-concept implementation using a modified version of OpenSCAD.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。