# 2D mesh to 3D prismatic by extrusion along z-axis

**URL:** <https://discourse.paraview.org/t/2d-mesh-to-3d-prismatic-by-extrusion-along-z-axis/10154>\
**Category:** ParaView Support\
**Tags:** vtk\
**Created:** [August 16, 2022, 2:39pm UTC](https://discourse.paraview.org/t/2d-mesh-to-3d-prismatic-by-extrusion-along-z-axis/10154 "2022-08-16T14:39:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Kenichiro-Yoshimi](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@Kenichiro-Yoshimi](https://discourse.paraview.org/u/Kenichiro-Yoshimi)\
**Post date:** [August 18, 2022, 4:16am UTC](https://discourse.paraview.org/t/2d-mesh-to-3d-prismatic-by-extrusion-along-z-axis/10154/2 "2022-08-18T04:16:22Z")

</div>

Hello,

The **Linear Cell Extrusion** filter would be able to extrude triangles into prism elements. However, this filter requires that the data be Cell data.

If this filter is not available, you will need to write an extrusion script with a **Programmable Filter**. The following may be helpful in this case.

> [@Adding thickness to a surface mesh](https://discourse.paraview.org/t/adding-thickness-to-a-surface-mesh/6568):
>
> I have a spherical surface with a scalar field on it, as shown here in 3d and in a cross section: I would like to give the surface a thickness, so that it looks more like this (surface has thickness and there should be no artifacts in the cross section): [target] What has not worked so far is: Change line width: Under Styling \> Line Width. This has no effect on the 3d view. It only changes the width of the line in the cross section. However, the larger line thickness l…

---

_[View the full topic](https://discourse.paraview.org/t/2d-mesh-to-3d-prismatic-by-extrusion-along-z-axis/10154)._
