Skip to content

relate 支持约束求解后的独立 transformation #49

Description

@vilicvane

relate() 的回调除了返回 Constraint,也能返回独立的 Transformation,从而表达多个约束共同求解后,再对默认求解结果依次执行位移与旋转。例如 [align, on, offset, rotate] 先联合求解 align/on,再执行 offset/rotate。

这些 transformation 属于组合中的实例摆放,不改变模型独立查看时的局部几何。它们与 constraint 自身的 offset/rotate 参数分别表达;后置变换可以离开此前的接触位置,不交回此前同一组约束重新求解。未约束自由度以求解器默认结果为基准。

后续讨论具体构造入口、变换参考坐标系,以及 [align, offset, on] 等交错排列是否分段、如何分段。本 issue 记录需求,不在本轮坐标语义修正中实现。关联 #48#44 已完成的是现有约束链按光标阶段预览,不覆盖这一新能力。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionDesign question; not an implementation commitmentenhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions