# Adding a polyhedra source

**URL:** https://discourse.paraview.org/t/adding-a-polyhedra-source/14084
**Category:** Development
**Created:** [March 4, 2024, 2:28pm UTC](https://discourse.paraview.org/t/adding-a-polyhedra-source/14084 "2024-03-04T14:28:56Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Alexandre\_Minot](https://discourse.paraview.org/user_avatar/discourse.paraview.org/alexandre_minot/32/7132_2.png) [@Alexandre\_Minot](https://discourse.paraview.org/u/Alexandre_Minot)
#### Post date: [March 4, 2024, 2:28pm UTC](https://discourse.paraview.org/t/adding-a-polyhedra-source/14084/1 "2024-03-04T14:28:56Z")

</div>

Hello,

Would it be valuable to add an arbitrary polyhedra source to ParaView? I think it would be a good addition to the existing data sources.

---

<div class="post-metadata">

### Author: ![dcthomp](https://discourse.paraview.org/user_avatar/discourse.paraview.org/dcthomp/32/20_2.png) [@dcthomp](https://discourse.paraview.org/u/dcthomp)
#### Post date: [March 4, 2024, 3:00pm UTC](https://discourse.paraview.org/t/adding-a-polyhedra-source/14084/2 "2024-03-04T15:00:46Z")

</div>

I am surprised there is not already one. It would be nice to add an option to `vtkPlatonicSolidSource` to output either polygon faces (as it currently does) or polyhedra and expose it in ParaView.

---

<div class="post-metadata">

### Author: ![Andy\_Bauer](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andy_bauer/32/5442_2.png) [@Andy\_Bauer](https://discourse.paraview.org/u/Andy_Bauer)
#### Post date: [March 4, 2024, 4:16pm UTC](https://discourse.paraview.org/t/adding-a-polyhedra-source/14084/3 "2024-03-04T16:16:18Z")

</div>

I agree that it would be good to have an arbitrary polyhedra source. I’m not sure if it would fit well in `UnstructuredCellTypes` source for arbitrary polyhedra but that is a potential place it could go.

---

<div class="post-metadata">

### Author: ![dcthomp](https://discourse.paraview.org/user_avatar/discourse.paraview.org/dcthomp/32/20_2.png) [@dcthomp](https://discourse.paraview.org/u/dcthomp)
#### Post date: [March 4, 2024, 4:58pm UTC](https://discourse.paraview.org/t/adding-a-polyhedra-source/14084/4 "2024-03-04T16:58:46Z")

</div>

Agreed; if you wanted to extend `UnstructuredCellTypes`, you would need to create polyhedra that support a regular tiling of a rectangular prism.

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [March 4, 2024, 5:21pm UTC](https://discourse.paraview.org/t/adding-a-polyhedra-source/14084/5 "2024-03-04T17:21:17Z")

</div>

If anyone writes this up in git, please reference it here.

---

<div class="post-metadata">

### Author: ![Alexandre\_Minot](https://discourse.paraview.org/user_avatar/discourse.paraview.org/alexandre_minot/32/7132_2.png) [@Alexandre\_Minot](https://discourse.paraview.org/u/Alexandre_Minot)
#### Post date: [March 4, 2024, 5:27pm UTC](https://discourse.paraview.org/t/adding-a-polyhedra-source/14084/6 "2024-03-04T17:27:37Z")

</div>

Thanks for the support. Here is the ticket: [https://gitlab.kitware.com/paraview/paraview/-/issues/22506](https://gitlab.kitware.com/paraview/paraview/-/issues/22506)  
FYI @MicK7

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [March 4, 2024, 5:29pm UTC](https://discourse.paraview.org/t/adding-a-polyhedra-source/14084/7 "2024-03-04T17:29:53Z")

</div>

Thanks. It is now funded. Note, there is lots on Kitware’s plate, this doesn’t mean it will happen soon. We will see.
