Hello out there,
I've been desperately avoiding doing any proper work… this is what filled the void.
The attached shelf tool is made to be used along with the Capture Layer Paint SOP, and when launched will prompt you to select a position in the viewport. Clicking on the surface of the mesh you are currently weighting will query the geometry for the capture regions currently influencing that primitive and if there is more than one, will bring up a dialog with the bone names (ordered by descending influence), so you can select which one you want to paint with.
If there is only one cregion influencing the primitive, it will skip the dialog and update the Capture Layer Paint to paint that cregion.
The script ignores weights below a threshold which you can set at the top of the script.
Made out of bad memories of trying to weight eyelids with bonkers amounts of ghosted bones all over the place and MMB clicking like a fiend Maybe someone else will find it useful.
Cheers!
PS. Assigning a hotkey is recommended!
Capture Layer Paint select cregion from mesh
2995 7 2- friedasparagus
- Member
- 402 posts
- Joined: June 2014
- Offline
- CYTE
- Member
- 669 posts
- Joined: Feb. 2017
- Offline
Hey Henry,
WOW this tool is so super useful!
Picking the right bone to weight to is cumbersome in all 3D packages i know.
sweet solution!
Thank you so much for sharing!
Cheers
Philipp
edit:
one little nitpicking caveat: is it possible to spawn the selector window near the mouse cursor and not in the center of the screen? love it!
WOW this tool is so super useful!
Picking the right bone to weight to is cumbersome in all 3D packages i know.
sweet solution!
Thank you so much for sharing!
Cheers
Philipp
edit:
one little nitpicking caveat: is it possible to spawn the selector window near the mouse cursor and not in the center of the screen? love it!
Edited by CYTE - May 9, 2018 15:31:03
- friedasparagus
- Member
- 402 posts
- Joined: June 2014
- Offline
Hey Philipp,
Haha! Yes, that thought was on my mind too. I'd love to clean up the pyside stuff here and make the ui a little more slick. Hopefully I'll be able to get round to that very shortly.
Glad you find it handy!
Henry
CYTE
one little nitpicking caveat: is it possible to spawn the selector window near the mouse cursor and not in the center of the screen?
Haha! Yes, that thought was on my mind too. I'd love to clean up the pyside stuff here and make the ui a little more slick. Hopefully I'll be able to get round to that very shortly.
Glad you find it handy!
Henry
Henry Dean
- friedasparagus
- Member
- 402 posts
- Joined: June 2014
- Offline
Ok, couldn't resist. Here's the updated version…
Fixes include
Undo handling improved - the tool will properly stay in the capture layer paint state either when applying or exiting the dialog
Dialog appear next to the mouse position upon clicking
Improvements (hopefully):
Cleaner UI
Coloured bars to help quickly distinguish the influence of each bone
Clicking outside of a button will close the dialog with no change to the bone selection
Enjoy
Fixes include
Undo handling improved - the tool will properly stay in the capture layer paint state either when applying or exiting the dialog
Dialog appear next to the mouse position upon clicking
Improvements (hopefully):
Cleaner UI
Coloured bars to help quickly distinguish the influence of each bone
Clicking outside of a button will close the dialog with no change to the bone selection
Enjoy
Henry Dean
- seifdune
- Member
- 56 posts
- Joined: Aug. 2016
- Offline
- jordibares
- Member
- 655 posts
- Joined: Feb. 2006
- Offline
- friedasparagus
- Member
- 402 posts
- Joined: June 2014
- Offline
- timbolland
- Member
- 167 posts
- Joined: May 2016
- Offline
-
- Quick Links