Create a plane or curved surface and save as STL

How do I create a plane or a bezier surface and export it as STL? Thanks.

Did you look into the SurfaceMarkups extension? I think it is exactly what you want.

I have some progress. Surprisingly, I managed to figure out how to create a grid surface. But when I saved it as an .stl file, the resulting plane is only only one point thin. Which is OK on screen, but rather impossible to 3d print.
How do I increase the thickness/width of these planes?
Markups to Models does not seem to be the right tool. It changes a plane

to either this

or this

. Thank you.

  1. Convert the output of the Markups2Models output to a segmentation object by right-clicking and selecting the relevant option
  2. In the Segment Editor, use the WarpSurfaceSolidy effect to increase the thickness of the shell. (This is a separate extension, you need to install)
  3. Re-export the segmentation as a model object.

Sorry, but I do not understand how to convert a model to a segmentation.

When I used Segment editor and its function to import models to segmentation

It turned the grid surface from this

to this

What am I doing wrong?

The source volume you specified probably has a low resolution. You need to increase that. Please read the relevant sections of the documentation: Segmentations — 3D Slicer documentation

I increased resolution the way you suggested, but it does not work. The results are the same as with normal resolution. The curved plane is broken into parts.

Is there any other way to make a plane or grid surface homogenously thicker and 3d printable?

What do you get when you right-click on the 3D surface model, and choose Convert Model to Segmentation Node

to me, the end result seems fairly good. (yellow original model, dark red is the segmentation object)

Yes, but is the object created from the curved plane uniformly thick? Or does it have areas of thicker parts where the curvature was higher, and thinner parts, where the curve was more flat and straight ? Because that is all I always get. I need a resulting plane to be of the same thickness in curves as it is in areas where it is flat and straight, but it seems impossible for me.

I would like to make 3d printed models and highlight segments segments in parenchymatous organs by creating dividing planes within the organs. Thats why I need those “planes” to be of the same thickness.

I hope you understand what I am trying to say.

I am sure it is not difficult in 3d slicer, but so far I have been too stupid to figure it out…

I would love to see Markups to models offering not only a closed surfaces and curves, but also curved planes. Or some tool in segment editor or somewhere else to make a planar segment of a uniform thickness according to model from the grid surface.

I don’t know anything about 3D printing, so take my comments with a grain of salt.

I think you are almost there, just run this segmentation with the SurfaceWrapSolidy (search the extension manager), which let’s you extract a "shell’ with specified thickness. I believe that’s what you want.

To do that, you do need a Source Volume, which you can easily create by right-clicking the segmentation you generated from the surface, and by choosing the “export the segmentation as a labelmap”. In the segment editor, set this newly created labelmap as your source volume, and then play with the various parameters of the SurfaceWrapSolidy effect in the segment editor (after you install the extension).

Something like this?

Yes. Something like that. The rough surface and uneven edges can be smoothed, but my point is to create not just a single point thin plane, but an object with a defined uniform thicknessbased on that plane. What did you do to achieve this result? Thanks

I used the same procedure I described above,

  1. Use the SurfaceMarkups to cut a surface from a 3D model. This is like an egg-shell, there is no thickness.
  2. Convert this model to a segmentaiton object
  3. Adjust the geometry of the segmentation object (increase the resolution)
  4. Use the SurfaceWrapSolidy effect to extract a model with thickness (in this case 0.25mm)

Which oversampling factor do you use? My pc 3d slicer keeps crashing when increasing the resolution.

In my case, I actually undersampled (0.5). It was a very high-resolution model, and I wanted things go fast.

If Slicer is crashing you might be running out of memory. What was the original reported segmentation geometry and what oversampling did you use? Remember memory usage increases with the cubic size of oversampling factor.

Maybe use one of the Dynamic modeler tools to extrude our your surface

Hope it helps

1 Like

Suggestion of @mau_igna_06 should be a good solution for you.

I would just mention that in cases when you want to start your warped surface from a boundary curve then you can use Baffle Planner module in SlicerHeart extension to create the model. You can specify a thickness if you want to 3D print it.

Guys, you are awesome! Thank you, it finally works!