Maya 中 MEL/Python 中使用的 AttrFieldSliderGrp 命令
我想在 Maya UI 中使用滑块移动 3D 对象的边缘。
是否可以使用 -at
标志通过 attrFieldSliderGrp
命令移动任何组件(顶点、边或面),但不能移动整个对象?
感谢您的帮助。
I wanna move the edge of 3D object with a slider in Maya UI.
Is it possible to move any component (vertex, edge or face) but not the whole object with the attrFieldSliderGrp
command using -at
flag?
Thank you for your help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用
AttrFieldSliderGrp
命令您可以平移顶点:但是您无法使用
AttrFieldSliderGrp
命令平移边缘和面,因为没有它们的 tx
、ty
和tz
属性。尽管如此,还是有
polyMoveEdge
和polyMoveFacet
(cmds.polyMoveEdge()
和cmds.polyMoveFacet()
)命令用于通过 MEL 和 Python 移动边和面:Using
AttrFieldSliderGrp
command you can translate a vertex:But you can't translate edges and faces with
AttrFieldSliderGrp
command because there are notx
,ty
andtz
attributes for them.Nonetheless, there are
polyMoveEdge
andpolyMoveFacet
(cmds.polyMoveEdge()
andcmds.polyMoveFacet()
) commands for moving edges and faces via MEL and Python: