Not applicable
09-04-2020
07:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey guys
Right, I'm trying to create a square from a CV curve in python for use as a control object on a joint, but everytime I spawn it the curve ends up like this. I'm creating the curve as a variable, how do I centre the pivot for the curve? Or is there another method to create a curve for it?
newCtrl = cmds.curve(d=1, p=[(0,0,0), (4,0,0), (4,0,4), (0,0,4), (0,0,0)])
base.parent(newCtrl, offsetGroup)
Thanks
Solved! Go to Solution.
Link copied