Added a 3d pdf creation support