Inverse kinematics 3 dimensions pi

resiliently I payed Raspberry Pi Lynxmotion AL5D Arm I and I tryed the Example in Lynxmotion of the 2D example

I want to use 3 dimensions on same code to pick and place a box using python

if any one has completed code of 3 dimensions code using python please help me here or any one have any solution for my problem