Interpolated Pick and place movement

Hello all,
I’m relatively new to VC, but a Robot jockey for some time.
I’d like to model a cartesian robot with pick and place movements (so a depart in Z an interpolated curve whilst translating in XY, another curve and appro in Z)
I’ve got a XYZ robot moving but the python path planning aspect is currently foxing me.
Am I missing something?