Re: [Maya-Python] api delete issues

2018-11-20 Thread mahmoodhasanzadeh999
On Tuesday, November 20, 2018 at 1:14:27 AM UTC+3:30, Ravi Jagannadhan wrote: > Do you have a scene and some code that people can look at? > > "There are no dumb questions" - Carl Sagan. > > > On Nov 19, 2018, at 13:14, mahmoodhasanzadeh...@gmail.com wrote: > > > > hi! > > > > maya api does

[Maya-Python] Re: Open/New File VERY slow while batching

2018-11-20 Thread Alec Fredericks
So it turns out that the problem is making a bunch of changes in Maya that aren't saved. That must put Maya into a weird state that makes opening up a file or creating a new file take a very long time. My solution was to just save a temp file, which takes just a couple of seconds, and then

Re: [Maya-Python] rewrite maya follicle node

2018-11-20 Thread Michael Boon
You can get the tangent and binormal at each corner of a face of a MFnMesh. Those are based on the UV directions. You would have to choose one, or interpolate for a position in the middle of a face. On Wednesday, 21 November 2018 00:54:52 UTC+11, Angelo wrote: > > I recommend you get Chad

Re: [Maya-Python] attributeAffects and input output name?

2018-11-20 Thread Michael Boon
The compute function won't be run until you ask Maya for outputB, right? Changing the inputs just flags the output as dirty, and then accessing the output causes the calculation to be done. On Sunday, 18 November 2018 19:58:53 UTC+11, Marcus Ottosson wrote: > > I can’t tell for sure, not

Re: [Maya-Python] Dynamically add checkBoxes in PySide while being able to refer to them later

2018-11-20 Thread Jakob Kousholt
Thanks, Marcus. Totally did the trick! Yeah, I wouldn't encourage you to cook that... haha! *Jakob Kousholt - Freelance Creature Modeler and Concept Sculptor* +1 (347) 327-1370 jako...@gmail.com www.jakejk.com On Mon, 19 Nov 2018 at 03:49, Marcus Ottosson wrote: > I think it's referred to

Re: [Maya-Python] rewrite maya follicle node

2018-11-20 Thread Zhen Huang
Seems a good idea , are you mind introduce more please . Thanks . I found the MFnMesh updated a lot , there is a getPointAtUV method . Position solved . How about rotation , any idea ? Normal can get from interpolation of 3 points normal . Tangent should base on UV , have no idea yet . 在

Re: [Maya-Python] rewrite maya follicle node

2018-11-20 Thread Zhen Huang
Thanks Michael , I found a api function to have the correctly normal and tangents depends on UV directions which called MItMeshPolygon.getAxisAtUV , perfectly matched follicle's behavior , will post out soon . 在 2018年11月21日星期三 UTC+8上午11:54:23,Michael Boon写道: > > You can get the tangent and

Re: [Maya-Python] rewrite maya follicle node

2018-11-20 Thread Zhen Huang
Hi Angelo , Thanks ! Awesome turorial , I'm going to use this solution after follicle style method , seems ti's a pure math method base on triangle shape , should be a faster solution . 在 2018年11月20日星期二 UTC+8下午9:54:52,Angelo写道: > > I recommend you get Chad Vernon's "Applied 3d Math" video

Re: [Maya-Python] rewrite maya follicle node

2018-11-20 Thread Angelo Sta. Catalina
I recommend you get Chad Vernon's "Applied 3d Math" video tutorial found here . It goes over how to construct