Model Generation

Using help given on other posts I’ve made on here I’ve been able to make a nice looking model on the 3D view panel in the software. However, when I export the file to a .obj file it comes through as just a solid block. Does anybody know how to export only certain elements of the segmentation? Or am I able to make a model that can be printed in the 3D slicer software itself? Any help would be appreciated and I have attached pictures.

It seems that you export the “Background” segment, too. You can delete this background segment before exporting. In general, if you don’t want to export some segments then hide them and check “Visible segments only” in the “Export segments to files” window.

Is there a particular reason you’re using OBJ? I’ve found PLY to be a lot smaller and easier to deal with when moving segmentations to blender. OBJ preserves surface colors, other than that, I haven’t seen any advantage to it.

Yes, the main advantage of OBJ is that it allows exporting many segments in a single file and the segments can be separated in Blender.

Well shoot, that’s a pretty big advantage.

I usually only export a couple of segments but I will definitely have to keep OBJ in mind. Thanks!!!

How would you do that in SLicer? Normally, isn’t every segment exported by itself?

“Export to files” feature (in Segmentations and Segment Editor modules) can export all segments to a single OBJ or STL file.

1 Like

OK. I was wondering why there was only OBJ and STL, but not PLY there. Makes sense now. THanks.

Hmm. The “Merge into single file” checkbox is greyed out if I select OBJ but enabled if I select STL.

In case of OBJ, you don’t need to merge the segments, as they remain separate even when they are stored in a single file. I see how it can be confusing, I’ll update the tooltip text and checkbox state to make this more clear.

1 Like