I follow a master degree of Artificial intelligence and togther with some friends, I follow a robotics course and we have to do a project about robots

well we choose to script a 321 robotic arm in python , visiualized in blender. and calculate the FK and IK without using the jacobian solver. thus with the formulae used in the the robotics community.
but we have some n00b questions

we already script the turning and positioning of the arms.
- how do we create a new cylinger via scripting ( we now use cylinders that are allready in the scene )
-how can we correctly position the pivot point at the base of the cylinders, manually dragging them tis results in big error at the end of the robotic arm
- if we get the size , iets returns 1 (which we suppose is the scaling vector ), how can we get the 'real' size (e.g. in pixels orso )
well that's it for now
Thanks in advance
AFroDYme, Prometheus