# How to extrude a surface in paraview and export stl format

**URL:** https://discourse.paraview.org/t/how-to-extrude-a-surface-in-paraview-and-export-stl-format/14843
**Category:** ParaView Support
**Tags:** vtk
**Created:** [June 13, 2024, 7:27pm UTC](https://discourse.paraview.org/t/how-to-extrude-a-surface-in-paraview-and-export-stl-format/14843 "2024-06-13T19:27:19Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Maryam\_Mgh](https://discourse.paraview.org/user_avatar/discourse.paraview.org/maryam_mgh/32/14592_2.png) [@Maryam\_Mgh](https://discourse.paraview.org/u/Maryam_Mgh)
#### Post date: [June 13, 2024, 7:27pm UTC](https://discourse.paraview.org/t/how-to-extrude-a-surface-in-paraview-and-export-stl-format/14843/1 "2024-06-13T19:27:20Z")

</div>

Hi,  
I have my results in vtu format and it is in 2D. how can I extrude this surface? and then export the stl file?  
thank you

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 14, 2024, 8:22am UTC](https://discourse.paraview.org/t/how-to-extrude-a-surface-in-paraview-and-export-stl-format/14843/2 "2024-06-14T08:22:31Z")

</div>

Use “ExtractSurface” filter, then use File → SaveData

---

<div class="post-metadata">

### Author: ![Francois\_Mazen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/francois_mazen/32/6483_2.png) [@Francois\_Mazen](https://discourse.paraview.org/u/Francois_Mazen)
#### Post date: [June 14, 2024, 12:01pm UTC](https://discourse.paraview.org/t/how-to-extrude-a-surface-in-paraview-and-export-stl-format/14843/3 "2024-06-14T12:01:27Z")

</div>

Hi @Maryam_Mgh !

> [@Maryam\_Mgh](#):
>
> how can I extrude this surface?

If you want generate a 3D surface or 3D volume from a 2D shape, you may try “Linear Extrusion” filter or “Linear Cell Extrusion” in ParaView.

Hope this helps.

---

<div class="post-metadata">

### Author: ![Maryam\_Mgh](https://discourse.paraview.org/user_avatar/discourse.paraview.org/maryam_mgh/32/14592_2.png) [@Maryam\_Mgh](https://discourse.paraview.org/u/Maryam_Mgh)
#### Post date: [June 19, 2024, 4:32pm UTC](https://discourse.paraview.org/t/how-to-extrude-a-surface-in-paraview-and-export-stl-format/14843/4 "2024-06-19T16:32:08Z")

</div>

Hi, Thank you so much. I did that but there is no change after extrusion.

---

<div class="post-metadata">

### Author: ![Kenneth\_Moreland](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kenneth_moreland/32/15033_2.png) [@Kenneth\_Moreland](https://discourse.paraview.org/u/Kenneth_Moreland)
#### Post date: [June 19, 2024, 6:03pm UTC](https://discourse.paraview.org/t/how-to-extrude-a-surface-in-paraview-and-export-stl-format/14843/5 "2024-06-19T18:03:35Z")

</div>

Perhaps you need to adjust the scale factor. Or perhaps the direction vector of extrusion.

It would help if you would share your data. It’s hard to guess what your problem is without seeing anything.
