First let me introduce you to some new apps.
Blender :
It's a famous 3D application package.The main reason behind it's fame is that it is open-sourced ..
You can actually download it's source code from the following repository:
svn checkout https://svn.blender.org/svnroot/bf-blender/trunk/blender
You can use any SubVersion Client, SmartSVN is the one I'm using.
I'm going to use Blender because it offers an ability to develop more plugins/features to it using Python.
Python:
So what is Python? it's a programming language.I heard about it because LOTs of 3d packages offer it as the programming language to develop plugins for them e.x. : RealFlow , Houdini , Blender , etc..
I don't know why specifically they are choosing Python, But I hope I found the reason while learning it.
So, what I'm doing now is that I'm learning Python "Syntax,for,while,conditions,etc.." and in the same time going through the Blender API to learn how to write Scripts/Plugins for it.
Here's my start :
This is a simple program to loop on the Cube vertices and print the coordinates "x,y,z" of each point.
[Little Hint about the code]
bpy.data.objects["Cube"] :: Get the Object named "Cube" from the scene.
.data.verts[i] :: The cube has an array storing all the vertices.
.verts[i].co.x :: Get the x coordinate of the vertex i.
Pretty simple isn't it ?
Hope you enjoyed reading the post and wish me Goodluck guys ! :D.
Good start, wish you good luck :)
ReplyDeleteand ma tensash t2olena a5r el a5bar :)
@ElKhateb : Thx & isAllah :) :) ..
ReplyDelete