First I import a cone next to a box:
The cone has a good position in the X axis but not in the Y and Z axis.
So I translate it to this position :
Ideally, I want about 1 mm between the edges of the box and the center of the cone. I was wondering how can I translate the cone to that position (which is linked to the box) with a python script ?