# Capping extruded shape not working?

**URL:** <https://forum.babylonjs.com/t/capping-extruded-shape-not-working/9070>\
**Category:** Bugs\
**Created:** [March 9, 2020, 12:24pm UTC](https://forum.babylonjs.com/t/capping-extruded-shape-not-working/9070 "2020-03-09T12:24:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JohnK](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/johnk/32/26764_2.png) [@JohnK](https://forum.babylonjs.com/u/JohnK)\
**Post date:** [March 9, 2020, 1:57pm UTC](https://forum.babylonjs.com/t/capping-extruded-shape-not-working/9070/2 "2020-03-09T13:57:47Z")

</div>

Hi @oli and welcome to the forum. The issue is that the shape you are extruding is concave and the capping method does not work with concave shapes.

You can combine ExtrudeShape and CreatePolygon to get what you want [https://www.babylonjs-playground.com/#G0A3MW#1](https://www.babylonjs-playground.com/#G0A3MW#1)

If you do not want the final mesh to be open you can just use ExtrudePolygon

[https://www.babylonjs-playground.com/#G0A3MW#2](https://www.babylonjs-playground.com/#G0A3MW#2)

---

_[View the full topic](https://forum.babylonjs.com/t/capping-extruded-shape-not-working/9070)._
