# Manually Create PolyData in vtk.js

**URL:** https://discourse.vtk.org/t/manually-create-polydata-in-vtk-js/885
**Category:** Web
**Created:** [May 1, 2019, 1:17am UTC](https://discourse.vtk.org/t/manually-create-polydata-in-vtk-js/885 "2019-05-01T01:17:36Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Sebastien\_Jourdain](https://discourse.vtk.org/user_avatar/discourse.vtk.org/sebastien_jourdain/32/100_2.png) [@Sebastien\_Jourdain](https://discourse.vtk.org/u/Sebastien_Jourdain)
#### Post date: [May 1, 2019, 3:49pm UTC](https://discourse.vtk.org/t/manually-create-polydata-in-vtk-js/885/4 "2019-05-01T15:49:15Z")

</div>

One thing that could be worth adding to the vtkDataArray could be the setTuple{1,2,3,6} methods.  
That way you could have a similar feel. But we were also trying not to wrap any functionality that could be naturally achieved on the native JS arrays.

---

_[View the full topic](https://discourse.vtk.org/t/manually-create-polydata-in-vtk-js/885)._
