<p>I'm a fan of OpenSCAD and have used the method suggested in the first answer. For non-OpenSCAD users, another option exists, which I've also used.</p>
<p>PrusaSlicer is a free 3D printer slicing program. One can configure layer heights as desired for the material thickness, even though it's not likely one will find a printer with such values, except perhaps concrete 3D printers!</p>
<p>Once configured and sliced, the exported file (configured for a Prusa SL1 printer) is renamed to .ZIP and the files within extracted. The files of note are going to be PNG format, one file per layer.</p>
<p>The settings within the slicer software have to be &quot;adjusted&quot; for your creation.</p>
<p>In Print Settings tab, change the layer height to match your material thickness. Also in the Print Settings tab, turn off supports and turn off pad (left column selections).</p>
<p>In Material Settings tab, change the Initial layer height to match your overall layer thickness. Unchanged, it remains the default 0.05 mm, unlikely to match your building material.</p>
<p>On the Printer Settings tab, change the bed shape to match your objective plus a bit of spacing around the item. Change the max height appropriately.</p>
<p>Set the Display Width parameters to match your output. Excessively large values will result in small model segments in a large blank area. Set pixel values to desired resolution of the output image file. For example, 200 is equivalent to a typical inkjet printer resolution.</p>
<p>I performed all of the above steps for a simple cube, exported the file to the default .SL1 extension, renamed it to .ZIP and extracted to a folder. The folder contained a number of support files for the MSLA printer, but also a full list of the layer .PNG files. Depending on your system settings, you may be able to change the extension in the Save dialog to .ZIP.</p>
<p>If PNG is not a suitable format, one can convert them to SVG using Inkscape bitmap trace or similar software.</p>
<p>I recommend to create a model with some form of registration incorporated to the design. One can create and subtract a pair of cylinders, for example, that travels through each layer, allowing insertion of a dowel to more easily stack the slices for assembly.</p>
<p>One can add primitives within the slicer, but they fall to the bed and also cannot be subtracted, at least so far as my limited research has shown. I've used Fusion 360 and Meshmixer to create such modifications.</p>
<p>Another aspect of the slicer is the ability to hollow the model, which would provide for some interesting constructions as well as possibly easier alignment.</p>
<p>This should be a .GIF animation of the results of my testing on Astronaut Phil A Ment, 1 millimeter layer height:</p>
<p><a href="https://i.sstatic.net/ES8A3.gif" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ES8A3.gif" alt="astronaut slicing animation" /></a></p>
<p>stltopng conversion of original STL file of Phil:</p>
<p><a href="https://i.sstatic.net/of3mZ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/of3mZ.png" alt="phil a ment model" /></a></p>

CC BY-SA 4.0
2022-05-20T16:05:31.570Z
Very good to know! My first reaction to seeing the GIF animation was that I was seeing the LCD of a resin printer projecting the individual layers of a model to print.
agarza
CC BY-SA 4.0
2022-05-20T17:16:57.193Z
That's exactly how it's done.
fred_dot_u
CC BY-SA 4.0
2022-05-24T16:57:15.623Z
Thank you very much!

During the weekend I couldn't try it because I was away from home but right now I'm downloading PrusaSlicer and starting to investigate. You have perfectly understood my idea.
Pelayo PA
CC BY-SA 4.0
2022-06-10T18:55:31.700Z
Finally, I am using IceSL, it is the software with which I have best adapted to extract all the layers in svg format.

I still have some shortcomings, I don't know what software I can use to modify and work with the 3D models (STL). Example:

Let's imagine that I have an elephant in STL format but I want to orient it in another way and instead of the layers going from the top to the feet, let the layers start from the ass to the trunk. I don't know if I explain myself.

1/2
Pelayo PA
CC BY-SA 4.0
2022-06-10T18:55:42.650Z
Another thing that I would like to do is to dissect an STL to, for example, have the layers of the body on the one hand and the head on the other hand, in separate projects to be able to use different layer widths.

Can you help me?

Thank you very much!
Pelayo PA
CC BY-SA 4.0
2022-06-10T20:24:40.597Z
One can use Meshmixer to re-orient an STL file to provide for your objective in the elephant comment. It's easy enough to import the STL, then use Edit,Transform to change the position. Re: split parts, use Edit, Plane Cut in Meshmixer to break each component. Use "keep both" followed by Edit, separate shells, then export to new file names as desired.
fred_dot_u
CC BY-SA 4.0
2022-06-12T15:50:26.780Z
Wow!! I don't know how to thank you for all this help you are giving me. I'm looking at videos on Youtube about the Meshmixer to see if I can make some holes to go through the figures and use them as references in the assembly. I think that is the only part that I need to control.

I have already managed to cut the parts I want from the .stl to the millimeter and take them to IceSL to extract the layers.
Pelayo PA
CC BY-SA 4.0
2022-06-12T15:50:37.277Z
I have seen that some programs order the different layers in 2D to take advantage of the folio, but researching I have not found the right software.

I still don't control this part but at least I know that I can manually achieve the right result, ordering all the .svg/.jpg in Photoshop, for example.
Pelayo PA
CC BY-SA 4.0
2022-05-20T15:09:15.023Z
2022-05-20T17:19:58.137Z
2022-05-20T17:19:58.137Z
fred_dot_u
<p>With OpenSCAD, you can <code>import</code> the STL file and apply <code>projection</code> with <code>cut=true</code> at successive Z-axis <code>translate</code> operations, and write out the result as SVG. This can all be automated from the command line to product a series of SVG files for your layers to &quot;2D print&quot;.</p>

CC BY-SA 4.0
2022-05-20T13:10:20.700Z
Thanks friend, I'll have to look at the option even though I don't know how to use OpenScad :-(
Pelayo PA
CC BY-SA 4.0
2022-05-20T13:32:51.613Z
@PelayoPA: It's a programming language of sorts for designing 3D (or 2D) geometry. There are tutorials and [a very good online manual](https://en.wikibooks.org/wiki/OpenSCAD_User_Manual).
R.. GitHub STOP HELPING ICE
CC BY-SA 4.0
2022-06-12T17:20:14.787Z
Before I learned that resin printers slicing results are image files, I used the OpenSCAD projection method as well. I believe one can write a script for command line execution to automate the process, but I do not have that skill, nor did I confirm the concept.
fred_dot_u
CC BY-SA 4.0
2022-05-20T12:58:40.237Z
2022-05-20T12:58:40.237Z
R.. GitHub STOP HELPING ICE
<p>I'm looking for a way to slice up a 3D model and then get the profiles of each individual layer. I need to 2D print the different layers (with the layer height that I define) for a Styrofoam craft.</p>
<p>Thank you very much!</p>

<3d-models><stl>
Any way to print all the layers of a 3D (STL)?
Pelayo PA
# Any way to print all the layers of a 3D (STL)?

(Asked by: username_0 on 2022-05-20)

I'm looking for a way to slice up a 3D model and then get the profiles of each individual layer. I need to 2D print the different layers (with the layer height that I define) for a Styrofoam craft.

Thank you very much!

**Tags:** 3d-models, stl

---

## 2 answers

### Answer by username_1 on 2022-05-20. Score: 2

I'm a fan of OpenSCAD and have used the method suggested in the first answer. For non-OpenSCAD users, another option exists, which I've also used.

PrusaSlicer is a free 3D printer slicing program. One can configure layer heights as desired for the material thickness, even though it's not likely one will find a printer with such values, except perhaps concrete 3D printers!

Once configured and sliced, the exported file (configured for a Prusa SL1 printer) is renamed to .ZIP and the files within extracted. The files of note are going to be PNG format, one file per layer.

The settings within the slicer software have to be "adjusted" for your creation.

In Print Settings tab, change the layer height to match your material thickness. Also in the Print Settings tab, turn off supports and turn off pad (left column selections).

In Material Settings tab, change the Initial layer height to match your overall layer thickness. Unchanged, it remains the default 0.05 mm, unlikely to match your building material.

On the Printer Settings tab, change the bed shape to match your objective plus a bit of spacing around the item. Change the max height appropriately.

Set the Display Width parameters to match your output. Excessively large values will result in small model segments in a large blank area. Set pixel values to desired resolution of the output image file. For example, 200 is equivalent to a typical inkjet printer resolution.

I performed all of the above steps for a simple cube, exported the file to the default .SL1 extension, renamed it to .ZIP and extracted to a folder. The folder contained a number of support files for the MSLA printer, but also a full list of the layer .PNG files. Depending on your system settings, you may be able to change the extension in the Save dialog to .ZIP.

If PNG is not a suitable format, one can convert them to SVG using Inkscape bitmap trace or similar software.

I recommend to create a model with some form of registration incorporated to the design. One can create and subtract a pair of cylinders, for example, that travels through each layer, allowing insertion of a dowel to more easily stack the slices for assembly.

One can add primitives within the slicer, but they fall to the bed and also cannot be subtracted, at least so far as my limited research has shown. I've used Fusion 360 and Meshmixer to create such modifications.

Another aspect of the slicer is the ability to hollow the model, which would provide for some interesting constructions as well as possibly easier alignment.

This should be a .GIF animation of the results of my testing on Astronaut Phil A Ment, 1 millimeter layer height:

[![astronaut slicing animation](https://i.sstatic.net/ES8A3.gif)](https://i.sstatic.net/ES8A3.gif)

stltopng conversion of original STL file of Phil:

[![phil a ment model](https://i.sstatic.net/of3mZ.png)](https://i.sstatic.net/of3mZ.png)

> **Comments:**
> **username_2**: Very good to know! My first reaction to seeing the GIF animation was that I was seeing the LCD of a resin printer projecting the individual layers of a model to print.  
> **username_1**: That's exactly how it's done.  
> **username_0**: Thank you very much!  During the weekend I couldn't try it because I was away from home but right now I'm downloading PrusaSlicer and starting to investigate. You have perfectly understood my idea.  
> **username_0**: Finally, I am using IceSL, it is the software with which I have best adapted to extract all the layers in svg format.  I still have some shortcomings, I don't know what software I can use to modify and work with the 3D models (STL). Example:  Let's imagine that I have an elephant in STL format but I want to orient it in another way and instead of the layers going from the top to the feet, let the layers start from the ass to the trunk. I don't know if I explain myself.  1/2  
> **username_0**: Another thing that I would like to do is to dissect an STL to, for example, have the layers of the body on the one hand and the head on the other hand, in separate projects to be able to use different layer widths.  Can you help me?  Thank you very much!  
> **username_1**: One can use Meshmixer to re-orient an STL file to provide for your objective in the elephant comment. It's easy enough to import the STL, then use Edit,Transform to change the position. Re: split parts, use Edit, Plane Cut in Meshmixer to break each component. Use "keep both" followed by Edit, separate shells, then export to new file names as desired.  
> **username_0**: Wow!! I don't know how to thank you for all this help you are giving me. I'm looking at videos on Youtube about the Meshmixer to see if I can make some holes to go through the figures and use them as references in the assembly. I think that is the only part that I need to control.  I have already managed to cut the parts I want from the .stl to the millimeter and take them to IceSL to extract the layers.  
> **username_0**: I have seen that some programs order the different layers in 2D to take advantage of the folio, but researching I have not found the right software.  I still don't control this part but at least I know that I can manually achieve the right result, ordering all the .svg/.jpg in Photoshop, for example.  

---

### Answer by username_3 on 2022-05-20. Score: 0

With OpenSCAD, you can `import` the STL file and apply `projection` with `cut=true` at successive Z-axis `translate` operations, and write out the result as SVG. This can all be automated from the command line to product a series of SVG files for your layers to "2D print".

> **Comments:**
> **username_0**: Thanks friend, I'll have to look at the option even though I don't know how to use OpenScad :-(  
> **username_3**: @PelayoPA: It's a programming language of sorts for designing 3D (or 2D) geometry. There are tutorials and [a very good online manual](https://en.wikibooks.org/wiki/OpenSCAD_User_Manual).  
> **username_1**: Before I learned that resin printers slicing results are image files, I used the OpenSCAD projection method as well. I believe one can write a script for command line execution to automate the process, but I do not have that skill, nor did I confirm the concept.  

---

