# Write 1D structure for paraview

**URL:** https://discourse.vtk.org/t/write-1d-structure-for-paraview/5646
**Category:** Support
**Created:** [April 27, 2021, 12:09pm UTC](https://discourse.vtk.org/t/write-1d-structure-for-paraview/5646 "2021-04-27T12:09:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![nparent](https://discourse.vtk.org/user_avatar/discourse.vtk.org/nparent/32/3305_2.png) [@nparent](https://discourse.vtk.org/u/nparent)
#### Post date: [April 27, 2021, 12:09pm UTC](https://discourse.vtk.org/t/write-1d-structure-for-paraview/5646/1 "2021-04-27T12:09:54Z")

</div>

Hello,

I am trying to read files generated by [ExportPolyDataScene](https://kitware.github.io/vtk-examples/site/Cxx/IO/ExportPolyDataScene/) with paraview …unsuccessfully. Any idea why ?

More generally, I have a slender 1D structure (yarn, rod, hair, beam) given in terms of its centerline and a material frame (or torsion). I’d like to write datas (centerline positions, plus frames) and to be able to read them with paraview.

So far I am thinking of using vtkLineSource and vtkTubeFilter to draw the yarn, and use vtkPolyDataWriter but I am very beginner to it. So if any of you have examples to help me through this, that would be very welcome.

Thanks

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [April 27, 2021, 12:16pm UTC](https://discourse.vtk.org/t/write-1d-structure-for-paraview/5646/2 "2021-04-27T12:16:10Z")

</div>

1. Use actual scene format export instead of this example, eg vtkglTFExporter
2. ParaView does not support to import a scene. ParaView glance and F3D supports it.

---

<div class="post-metadata">

### Author: ![nparent](https://discourse.vtk.org/user_avatar/discourse.vtk.org/nparent/32/3305_2.png) [@nparent](https://discourse.vtk.org/u/nparent)
#### Post date: [April 27, 2021, 12:20pm UTC](https://discourse.vtk.org/t/write-1d-structure-for-paraview/5646/3 "2021-04-27T12:20:39Z")

</div>

Thanks for this first answer.
