Context Face selection (MEL)

45 views
Skip to first unread message

Christopher.

unread,
May 24, 2015, 3:51:16 PM5/24/15
to python_in...@googlegroups.com
I want a context menu to select faces on a mesh what is that command, polySelectCtx only does edges ? Is there perspective command whereas I can do operation in a perspective view ?

Rémi Deletrain

unread,
May 26, 2015, 6:21:52 AM5/26/15
to python_in...@googlegroups.com

Rémi Deletrain

unread,
May 26, 2015, 6:58:34 AM5/26/15
to python_in...@googlegroups.com
I don't really like this solution. It's not very clean
For my animator team I developped a marking menu depending on the selecton, type of object and custom attribute of objects.

I can thus separate different type of action with the keys.
":+clic" selection action (symetrize selection, select eyes, etc etc)
';+clic" action (symetrize selected, reset pos, etc etc)

This is my solution:

it's an old script and I can not put full but there was everything you need to understand how it work.
Updating is full in PySide. It is not yet functional as Maya markingmenu but that will come later

Christopher.

unread,
May 26, 2015, 7:30:18 AM5/26/15
to python_in...@googlegroups.com
Hi, thanks I want this to be strictly MEL ;-) Whereas the users only option is to select polygons, then from there select faces, facing a camera and select a specific camera in the scene with a threshold.

Rémi Deletrain

unread,
May 26, 2015, 7:55:20 AM5/26/15
to python_in...@googlegroups.com
I work in Python but it's same way in mel.

Christopher.

unread,
May 26, 2015, 8:06:21 AM5/26/15
to python_in...@googlegroups.com
What is the syntax for having a marking menu load in MEL, what I don' know ? :)

Rémi Deletrain

unread,
May 26, 2015, 8:46:38 AM5/26/15
to python_in...@googlegroups.com
I think you'll find everything you need on this website

Christopher.

unread,
May 29, 2015, 10:23:20 PM5/29/15
to python_in...@googlegroups.com
I looked at the code on the page.  In other words you saying I need a function then add the menuItem syntax with flags ? Just want to break down what is explained on the page.
Reply all
Reply to author
Forward
0 new messages