# VTK polyhedra not rendering in XML format

**URL:** https://discourse.paraview.org/t/vtk-polyhedra-not-rendering-in-xml-format/16379
**Category:** ParaView Support
**Tags:** vtk
**Created:** [March 24, 2025, 11:56pm UTC](https://discourse.paraview.org/t/vtk-polyhedra-not-rendering-in-xml-format/16379 "2025-03-24T23:56:28Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Kbhansson](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/k/bb73d2/32.png) [@Kbhansson](https://discourse.paraview.org/u/Kbhansson)
#### Post date: [March 24, 2025, 11:56pm UTC](https://discourse.paraview.org/t/vtk-polyhedra-not-rendering-in-xml-format/16379/1 "2025-03-24T23:56:29Z")

</div>

I’ve been trying to reproduce the example polyhedral cell from here: [https://examples.vtk.org/site/Python/GeometricObjects/PolyhedronAndHexahedron/](https://examples.vtk.org/site/Python/GeometricObjects/PolyhedronAndHexahedron/)

Instead of rendering to screen I am dumping the scene to a .vtu file. When I load the file in Paraview (5.13.2), I don’t see the polyhedra. I checked against PyVista, where everything seems to working correctly. However, if I change the writer to the VTK legacy format, the polyhedra will render. I have attached both files:

[output.vtk](https://discourse.paraview.org/uploads/short-url/6XHGvUUcNTiqAv6kXotaKt1I3iv.vtk) (400 Bytes)  
[output.vtu](https://discourse.paraview.org/uploads/short-url/z0LxUEFjwAPiQjBCs52QHfRIBhn.vtu) (2.1 KB)

Here is a crude Jupyter notebook as well:

[check\_with\_pyvista.ipynb](https://discourse.paraview.org/uploads/short-url/1Q780ut93aO7cNZjrYDmvW159iN.ipynb) (5.8 KB)

Thoughts? (Running on Mac BTW)

---

<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: [March 25, 2025, 8:39am UTC](https://discourse.paraview.org/t/vtk-polyhedra-not-rendering-in-xml-format/16379/2 "2025-03-25T08:39:22Z")

</div>

Use the nightly version of ParaView instead: [https://www.paraview.org/download/?version=nightly](https://www.paraview.org/download/?version=nightly)

---

<div class="post-metadata">

### Author: ![Kbhansson](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/k/bb73d2/32.png) [@Kbhansson](https://discourse.paraview.org/u/Kbhansson)
#### Post date: [March 25, 2025, 5:30pm UTC](https://discourse.paraview.org/t/vtk-polyhedra-not-rendering-in-xml-format/16379/3 "2025-03-25T17:30:32Z")

</div>

Cool,

For reference it works on the March 25th and March 10th builds but not on the 21/03/25 build 15.3.2-27.

---

<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: [March 26, 2025, 8:14am UTC](https://discourse.paraview.org/t/vtk-polyhedra-not-rendering-in-xml-format/16379/4 "2025-03-26T08:14:52Z")

</div>

> [@Kbhansson](#):
>
> not on the 21/03/25 build 15.3.2-27.

Expected, this is a `release` branch build, not a `master` branch build.
