Re: [Maya-Python] multiprocessing opening up output window GUI

2013-02-09 Thread Jan:
Hi Justin, Thanks a million ! I will try this as soon as I have access to maya again. Its a shame that the .set_executable() function is windows only. As that would have been a great solution. However being able to use the standard interpreter is a great alternative!. I will get back to you asap

[Maya-Python] Re: components in the selected order

2013-02-09 Thread Bradon Webb
On Thursday, July 30, 2009 3:34:59 PM UTC-5, wilsimar wrote: thanks.. I think the scriptjob is the easy way. do you think you can post your code. I'm looking to do the same thing, get a list of selected edges in the order they are selected. I'm not sure I understand how to put the script

[Maya-Python] Folding polygons

2013-02-09 Thread Bradon Webb
I'm trying to develop a script for oragami. I have a few method in the works. It's a pretty difficult problem. I'm not sure if anyone else has tacked the problem or knows some steps that might help. this is my reference for basic functionality: https://vimeo.com/36969599 This is pretty good

[Maya-Python] Re: Finding the angle of a selected face

2013-02-09 Thread Bradon Webb
this code might be useful example for you. Im working on a similar thing. I want to re-orient a polygon if extracted from a mesh based on the angle of the face. Or if you have some model that has lost its transforms because of a lattice or vertex deformation. I think if you only use the face

[Maya-Python] Re: Folding polygons

2013-02-09 Thread Bradon Webb
I think the best way to write this script is to select the fold edges on the mesh. I can query the centerpoint of the edge for joint position. but how would I get the angle of rotation based of that selected edge? here is a math diagram showing a basic setup. I think it is ok to only select