mpl_toolkits.mplot3d.art3d.
path_to_3d_segment_with_codes
Convert a path to a 3D segment with path codes.