Skip to content

Instantly share code, notes, and snippets.

@Onefabis
Created October 18, 2016 14:01
Show Gist options
  • Save Onefabis/1670e91f1f950668c310c754fb15742b to your computer and use it in GitHub Desktop.
Save Onefabis/1670e91f1f950668c310c754fb15742b to your computer and use it in GitHub Desktop.
Create joint in the center of the component selection
clst = mc.cluster()
pos = mc.xform( clst[1], q=1, ws=1, rp=1 )
mc.joint( p=pos, a=1 )
mc.select( cl=1 )
mc.delete( clst[0] )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment