2024-05-19 07:07:14 发布
网友
在Maya中:我有一个管,其轴位于旋转的平面上,但轴不位于顶点上。 我想绕着它的轴心旋转管子,使它与离管子轴心最近的面的法向量完全对齐。你知道吗
我尝试用一个closestPointOnMesh(你可以在constraint>;Closest Point下找到它)来获得脸的法线,但是我没能让它工作。 我想不使用normalConstraint,然后删除它,因为它们非常慢,我计划在很多复杂的对象上执行。你知道吗
我现在正在使用法线约束,但在删除它之前,我断开了 $constraintName.$target+'W0'和$constraintName+'.target[0].targetWeight'
以及 $targetShape+'.worldMesh[0]'和$constraintName+'.target[0].targetGeometry'
(这些连接是法线约束创建的默认连接)
通过在删除约束之前断开属性连接,我几乎将删除时间缩短了一半! 不知道为什么!你知道吗
Maya API法线约束: https://help.autodesk.com/cloudhelp/2019/ENU/Maya-Tech-Docs/CommandsPython/normalConstraint.html
我现在正在使用法线约束,但在删除它之前,我断开了 $constraintName.$target+'W0'和$constraintName+'.target[0].targetWeight'
以及 $targetShape+'.worldMesh[0]'和$constraintName+'.target[0].targetGeometry'
(这些连接是法线约束创建的默认连接)
通过在删除约束之前断开属性连接,我几乎将删除时间缩短了一半! 不知道为什么!你知道吗
Maya API法线约束: https://help.autodesk.com/cloudhelp/2019/ENU/Maya-Tech-Docs/CommandsPython/normalConstraint.html
相关问题 更多 >
编程相关推荐