Simple python objects/verticles distributor
http://www.youtube.com/watch?v=2YtgT3sMrHg
Nice overview by BLENDERSUSHI https://www.youtube.com/watch?v=hnzX6pOkAGw
It chages selected objects location, or vertices of single selected object by different mathematicall expressions.
You should open file, press "Run script" button in text editor window, then change code, Run script once again, and so one. I think it will be better, if I will put txt files with different presets into zip, and will reupload it.
p.s. I wrote that code after reading first 7 pages of blender python coding manual in my life.
I were playing around with different presets, and other guys aked me to upload this file with my presets collection here.
in text editor at 208 line you will see
X = (sin(tt) * cos(pp)* cos(tt), sin(tt) blah blah...
comment it (by placing # symbol into begining of the line)
then uncomment some near string, and press "Run Script" to distribute with other formula. Be careful with margins, they are important.
Man... Ive lost myself in this calculation. You've prepared so many presets... why? You should write fairly clean code(and comment) and let the people to do experimenting. Apart from that its impressive. U used one of true powers of Blender.
This is my first python code (moslty I'm autocad user and LISP developer), so I've done as much improvements in structure as I can.
I hope, that youtube video explains a lot =)
Can you make those functions work in the game engine ? Like a city generator or something
Definitely no =) I wrote this after reading first 7 pages of my first python guide ever, so I can read/write basic code only =)
Awesome script, that allows to build edges on verticles and faces on edges in selection order: http://blenderartists.org/forum/showthread.php?316118-Selected-Vertices-to-Edges
это съедобное?