Re: [Maya-Python] Re: Maya 2022 immediate crash after launching through batch file

2022-01-11 Thread Hannes Delbeke
the only env var we use is MAYA_MODULE_PATH the module then loads a few basic paths PYTHONPATH+:= MAYA_SHELF_PATH+:=maya\shelves icons: maya\icons presets: maya\presets scripts: maya\scripts plug-ins: maya\plug-ins On Tue, 11 Jan 2022 at 18:32, Marcus Ottosson wrote: > QT_PREFERRED_BINDING is r

[Maya-Python] Re: Maya 2022 immediate crash after launching through batch file

2022-01-11 Thread Hannes Delbeke
had the same happen when trying our setup with 2022 2022 by default uses python 3. any chance there is something in your pipeline or env variables that is python 2 and causing it to crash? to check if this is the issue try launching 2022 in python 2 mode. if it doesn't crash you know how to solv

Re: [Maya-Python] automatically load shelf images in other computers

2021-11-02 Thread Hannes Delbeke
. and set your path to %MYICONFOLDER%/someImage.png then if everyone sets their env var correctly it will load the icon Kind Regards, Hannes Delbeke On Mon, 1 Nov 2021 at 23:55, Rudi Hammad wrote: > Hello, > > we are a working in a project where every one is working locally. So

Re: [Maya-Python] Re: transfer vertex ids between different

2021-06-22 Thread Hannes Delbeke
that's true when it stays separate, but when merging the 2 pieces together including merging overlapping verts and vert UV, order for those merged verts can change On Tue, 22 Jun 2021 at 12:01, Alok Gandhi wrote: > Nice! > > On Tue, Jun 22, 2021 at 4:30 PM Rudi Hammad wrote: > >> Actually I

Re: [Maya-Python] Re: transfer vertex ids between different

2021-06-22 Thread Hannes Delbeke
match by vert id is impossible in that case because the vert ids cant ever match, unless you somehow reorder the verts yourself from the mesh with the most verts(the body) what i suggest to do instead is match vert by world position, or if you have unique UVs by UV position. get the closest vert,

Re: [Maya-Python] numpy, pylab, matplotlib inside of Maya

2021-03-31 Thread Hannes Delbeke
Adding to Marcus his point installing from numpy wont work due to compile issues however at a previous work place i asked the engineers to compile it for the maya specific version and this kept erroring out the result: i never managed to get numpy working in maya so if people online talk about