Pycharm and 3d slicer

I would like to ask, can I add the measurement length and angle of 3dslicer and the function of cutting the segmented 3D view to my own Python program. Is to run their own Python program, and then display the divided 3D view, and on this view, cut, length and angle measurement?

Yes. You can access all features of Slicer via Pycharm. The only thing that you may find unusual is that since Slicer embeds Python, you’ll need to launch your Python program using the Slicer executable. You can then attach PyCharm debugger to it as described here.