def calculatePts(crv, *args):
"""
uses the window to get the number of pts that should be in the curve
"""
cLen = cmds.arclen(crv, ch=False)
perUnit = cmds.intFieldGrp(widgets["recoIFBG"], q=True, v1=True)
total = cLen * perUnit
return total
评论列表
文章目录