Enter the NOOB

Hello Everyone,
I have just joined the list… and would really appreciate any guidance anyone might be willing to offer…

Although a total NOOB to Blender (but not 3d; I have a fair amount of experience with both Maya and Processing) I am making headway… even if a bit oddly given my needs/interests*, which are prolly a bit different from most of you …but still progress.
And for this project I have dived into BPY scripting (again which I know outside of Blender, although I am no expert), and have been able write a simple exporter for mEdit (an obscure, but neccesary, 3d program which is needed for my project*),
however…
I am now attempting to script meshes, faces, etc… and having troubles.

So if anyone can point me to previous post for a newbie, or tutorials (here or elsewhere), I would greatly appreciate it.

  • BTW for the curious: I am working on synthesizing the sound of 3d objects. Feel free to contact me off list if you would like more details.

Try looking here

http://members.iinet.net.au/~cpbarton/

the site is down at the moment. He has a bpy wiki and cookbook
and stuff. There is another guy who has a lot of examples
on the net I won’t say who and I don’t recommend it as
you’ll pick up bad coding habits.

BTW doesn’t Processing have a 3D engine?

I installed it on my powerbook but can’t really get into it

have a look to :
http://jmsoler.free.fr/didacticiel/blender/tutor/python_script00_en.htm
http://jmsoler.free.fr/didacticiel/blender/tutor/python_script01_en.htm
http://jmsoler.free.fr/didacticiel/blender/tutor/python_script02_en.htm
http://jmsoler.free.fr/didacticiel/blender/tutor/python_script03_en.htm
http://jmsoler.free.fr/didacticiel/blender/tutor/python_script04_en.htm
http://jmsoler.free.fr/didacticiel/blender/tutor/python_script05_en.htm

Hey guys
Thanks for the links
jms, I read some of your previous posts (about ‘stairs’) which clarified a few things.
Unfortunately I’m still a bit stuck. I probably should have been more specific before: I can generate a multi-vertice mesh… it’s adding the faces that’s tripping me up. Worse still, I can make a four point plane and append a face, but if I append the mesh to six, eight, etc. vertices (multiple joined planes) I get an error at “obj.link(mesh)” in my code, indicating either something is wrong in how the mesh is defined or in how I am defining the mesh index.
But I have few new ideas to try (thanks in part to your code), so I’ll keep plugging away at it.

And macbuse, yes Prossing has two 3d engines, it’s native p3d and OpenGl.
The project I am trying to script is actually something I already made in Processing (3d visualizations of sound files) and now want/need to do in Blender.

Sure Blender only supports faces up to 4 verts.
It barfs if you try and feed it more than 4.

The Cambo dood has (I think) a snippet for doing
N-gons, N>4. It’s somewhere at the URL I gave u.
I’m sure I saw it the other day when I was trawling
for something else.

The Processing thing looks cool. But I’ve already
invested big time in ActionScript and 3 APIs
in the head at one time plus a day job plus 2 kids
is a recipe for disaster.

Good luck.