haiddasalami: thanks man, you're a saviour. couldn't find anything close to this on google at all. Kinda still trying to understand your pseudo code tho. Im stuck on i++. what does that do? sry for being noob at coding
Did you contact the original author and ask him if he's ok with you decompiling his code and making it publically available ? I doubt people release .pyc plugins out of "stupidity", but because they are trying to protect their code ( which PYC isn't great for, as this example shows ).
Pseudo code would be locators = xform all locatorsfor vert in selectedVertices vertloc = xform vert, world space for int i = 0; i < size of locator array; i++ locatorLOC = xform locator world space distanceTEMP = distance between locator(using locatorLOC and vert (vertloc) //First run so store the first distance if (i ==…
Thanks a lot for everybodys help on this. The script works perfectly. But now i run into another problem. First I must explain the purpose for requesting this script. This is part of the main Script Im trying to write which is Quad fill (imitating Quad-cap max plugin by obliviboy). So far Ive been sampling many mel scripts…
ive been stuck on some of the coding unfortunately. I think someone beat me to quad script. (Video Demo) wait till the asian ads finish.. http://v.youku.com/v_show/id_XMTc0NjE3OTM2.html?f=4488599 Script page http://www.creativecrash.com/maya/downloads/scripts-plugins/modeling/c/zhcg_polytools-for-2012-2013---2
The i++ is a counter that increases so at the start its 0 and once it goes through one iteration of the loop it increases so we can iterate through an array. Hopefully I explained that well. Ill try and post some real code real soon. Also just noticed some errors I didnt catch like at the start you should be using the ls…
most code built on python 2.6.4 which is what previous versions of maya uses, will work on 2.7.3 which contains mostly minar changes to python Saf. it is 2.x to 3.x that you got to watch out for in python, which is why a lot of people never moved away from 2.x. Also if the upgrade to 2014 breaks parts of your workflow, why…
Yes, most scripts will work. But only if they are not the compiled. I do not upgrade to 2014 version, just looked trial. Quad fill a very cool thing. I just thought it would be nice to have a clean Quad fill script, not compiled ZhCG version. Here the idea may come in handy: