Scissors effect for models

Is there a good way for STL as is shown in the video,

Can we use Slicer to cut the part of model in the selected field of view.

The tool will be very helpful.

Similar functions can be processed with scissors in segmentation,
but I want to implement this function for a single stl model
and I don’t want to convert the stl model to segmentation,
because it will change the details of the model

Scissors tool will do exactly this.

Default segmentation geometry estimated from stl to segmentation conversion may not be high enough (if you are loosing detail during the conversion process).

You can either try to use the oversampling (in the segmentation geometry setting), or create a blank high-resolution volume (ImageMaker extension) with small voxel size, and use the Segmentations->Import tab models and refer that as the reference volume.

1 Like

I agree with @muratmaga - for anatomical images that you show above Segment Editor should be perfect.

For cases when you need to combine anatomical models with CAD models (that tend to have sharp edges and may have very small details and tight tolerances) you may want to perform Boolean operations (add/remove/intersect) by keeping everything as surface mesh.

We don’t have an integrated “Scissors” tools for models yet, but you can achieve this function in a few steps:

  • Create the cutting model: you can use Segment Editor’s Scissors effect for this (Fill mode) and export the created segment to mode; or create a model directly using MarkupsToModel extension; or load a model from an file and position it using a transform.
    -Use Combine models module (in Sandbox extension) to cut out this model from the other model.

We plan to add surface editing features to the Segment Editor or add a dedicated Model Editor module (to keep things simpler). You can get a preview of what tools this new editor will have if you go to the “Dynamic modeler” module. For many years, having model editing capabilities were out of Slicer’s scope, because we did not want to step into the mesh editing arena. However, since mesh editing capabilities of MeshLab, Mesmhixer, Mimics, etc. essentially all stopped improving about 5 years ago, it is tempting to just add these features so that users don’t need to switch between multiple applications to implement their processing workflows. If there was dedicated funding or new developers interested in working on this then direct those to us. Without that, we can just develop it slowly, piece by piece, as side products from related funded projects.

2 Likes

Thank you very much for the efforts of the Slicer development team!