Is it possible to open the stl file, cut the desired part, and save it?

Hello all
I want to cut the stl file as much as I want and save it.
I cut and saved the dcm file, but I’m not sure how to do the stl.
Can you tell me if it’s possible?

Thanks to read.

You can use Dynamic Modeler module in recent Slicer versions to edit surface meshes directly.

If you work with closed surfaces then there are many more editing tools for them in Segment Editor module. Your can export segments directly to STL files.

Thank you for your kind reply always :slight_smile:

It’s a different question from the text. I am working on various attempts and Slicer Study to create loadable_moudle.
When designing a GUI with Qt and creating a function that connects it (ex: segmentation editor’s result), can you advise me how to write the code using it?

I don’t understand this question, but it does not seem to be related to this topic, so I would suggest to create a new topic and describe what you want to do in more detail and also give a high-level overview of your overall goal.