Re: [Maya-Python] Closest Point On Mesh

2015-04-27 Thread Marcus Ottosson
Is this for practice/learning? Otherwise, you might be able to achieve what you're looking for using Transfer Attributes . On 27 April 2015 at 07:46, Dile

Re: [Maya-Python] Closest Point On Mesh

2015-04-27 Thread Dilen Shah
Hey marcus, I think you didnt understand my question, if i use transfer attributes it will place vertices in the exact position i dont want that. please see the images so you get what I mean. D, On Monday, April 27, 2015 at 9:03:40 AM UTC+2, Marcus Ottosson wrote: > > Is this for practice/lear

Re: [Maya-Python] Closest Point On Mesh

2015-04-27 Thread Dilen Shah
Well this is a simple example I was using to show me problem, try doing it for facials and complex meshes and topologies. you will know why I cant use wrap. thanks for reply. D. On Monday, April 27, 2015 at 9:55:50 AM UTC+2, Marcus Ottosson wrote: > > I suppose I still don’t understand. I tried

Re: [Maya-Python] Closest Point On Mesh

2015-04-27 Thread Marcus Ottosson
I have indeed used it for quite complicated geometry, including faces. If your concern is in meshes with close proximity such as eyelids, then you can utilise multiple wrap-deformers and associate each on a per-point basis, e.g. one for the lower and one for the upper, and assign both to the same

Re: [Maya-Python] Closest Point On Mesh

2015-04-27 Thread Dilen Shah
Hey Marcus, Thanks but I am looking for something in maya API if you got some idea in that, would like to hear it. D. On Monday, April 27, 2015 at 11:32:54 AM UTC+2, Marcus Ottosson wrote: > > I have indeed used it for quite complicated geometry, including faces. > > If your concern is in meshe

[Maya-Python] Re: Closest Point On Mesh

2015-04-27 Thread Janos Hunyadi
Hey Dilen, One thing I know for sure that the MMeshIntersector uses a different algorithm (octree) than the ClosestIntersection method of the MFnMesh (just comparing distances I guess). So its quite dependent on the size of the object, and to this day I could`t figure it out how is it possible

[Maya-Python] Re: Closest Point On Mesh

2015-04-27 Thread Dilen Shah
Hey Janos, sounds good, yaa i will try some results and see what i get. this is what I needed to know. Going to try and see what I get and will keep posted. Thanks. D. On Monday, April 27, 2015 at 12:57:03 PM UTC+2, Janos Hunyadi wrote: > > Hey Dilen, > > One thing I know for sure that the MM

[Maya-Python] Maya scene unit conversion

2015-04-27 Thread Mark Jackson
So we have a carefully setup facial control board setup in cm's but needs to run it in a client scene set in meters, no problem right? Unfortunately because all the sliders are carefully setup with limits on the transforms of 0-1 when the scene comes into Maya in meters, all those transforms are re