I am working with 3D Slicer for my research. In my work, I manually used the scissors tool to cut a portion of a 3D model that was generated from ultrasound data. Now, I am trying to automate this process using a Python script. These are the steps I’ve followed so far:
1-Loaded the DICOM file.
2-Created a segment editor.
3-Applied a threshold.
I saw a comment from you stating that the scissors are interactive tools. As such, I used markups (curves) to define the points for the shape and activated the scissors tool with the appropriate settings (operation, shape, and slice cut). However, I am facing an issue when applying the effect of the scissors. While there are no errors, the entire model remains unchanged rather than only the intended part being cut.
Could you please assist me with this? Is there a way to cut across all slices automatically using curve points?