exported 3d rag to python