How to generate cross sectional view in dicom dentistry using python ?

I have generated axial, coronal, and sagittal images using DICOM in Python programming. Now I want to create a cross-sectional cone beam, meaning I want to separate all teeth individually, but I don’t understand how to do it. Can someone please explain to me how to do this?