# create cylinders from csv file with start and end locations

**URL:** <https://discourse.paraview.org/t/create-cylinders-from-csv-file-with-start-and-end-locations/11425>\
**Category:** ParaView Support\
**Created:** [February 16, 2023, 2:42pm UTC](https://discourse.paraview.org/t/create-cylinders-from-csv-file-with-start-and-end-locations/11425 "2023-02-16T14:42:13Z")\
**Posts on this page:** 1\
**Showing post:** 9

<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:** [July 24, 2023, 9:54am UTC](https://discourse.paraview.org/t/create-cylinders-from-csv-file-with-start-and-end-locations/11425/9 "2023-07-24T09:54:08Z")

</div>

Hi,

I don’t have a good grasp of what you want to do, but if you want to add new arrays, the following is a good reference.

[https://docs.paraview.org/en/latest/ReferenceManual/pythonProgrammableFilter.html#reading-a-csv-file-with-particles](https://docs.paraview.org/en/latest/ReferenceManual/pythonProgrammableFilter.html#reading-a-csv-file-with-particles)

If the radius of each cylinder changes, you may want to add an array of radii to the `zip` function. Also, if you need to color by RGB, the following is a good guide.

> [@how to use RGB vectors as rgb coloring in Paraview](https://discourse.paraview.org/t/how-to-use-rgb-vectors-as-rgb-coloring-in-paraview/7470):
>
> Dear community members. I hope that I can find my answer here. I created a “VTK” output which gives an RGB vector for each point on my microstructure. The RGB range is (0-255), not (0-1); however, I can normalize the vector as well. My question is, How do we get the RGB colour in Paraview out of these vectors? Kindly find my output. Is it possible? Could you please advise me Best regards, Hesham Salama

---

_[View the full topic](https://discourse.paraview.org/t/create-cylinders-from-csv-file-with-start-and-end-locations/11425)._
