# how to add Axes grid in vtk.js

**URL:** https://discourse.vtk.org/t/how-to-add-axes-grid-in-vtk-js/3592
**Category:** Web
**Created:** [June 19, 2020, 1:14am UTC](https://discourse.vtk.org/t/how-to-add-axes-grid-in-vtk-js/3592 "2020-06-19T01:14:01Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![meihuisu](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/m/9fc348/32.png) [@meihuisu](https://discourse.vtk.org/u/meihuisu)
#### Post date: [June 19, 2020, 1:14am UTC](https://discourse.vtk.org/t/how-to-add-axes-grid-in-vtk-js/3592/1 "2020-06-19T01:14:01Z")

</div>

I have a 3d viewer base on OBJViewer. Is there a way to add axes grid to it ?

---

<div class="post-metadata">

### Author: ![Forrest](https://discourse.vtk.org/user_avatar/discourse.vtk.org/forrest/32/300_2.png) [@Forrest](https://discourse.vtk.org/u/Forrest)
#### Post date: [July 2, 2020, 5:59pm UTC](https://discourse.vtk.org/t/how-to-add-axes-grid-in-vtk-js/3592/2 "2020-07-02T17:59:22Z")

</div>

The closest we have is [OrientationMarkerWidget](https://kitware.github.io/vtk-js/examples/OrientationMarkerWidget.html). If you want in-world axes grid, you can try to make something using vtkPolyData and lines.

---

<div class="post-metadata">

### Author: ![meihuisu](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/m/9fc348/32.png) [@meihuisu](https://discourse.vtk.org/u/meihuisu)
#### Post date: [July 2, 2020, 6:51pm UTC](https://discourse.vtk.org/t/how-to-add-axes-grid-in-vtk-js/3592/3 "2020-07-02T18:51:14Z")

</div>

Thanks. I am using Orientation Marker.  
Will vtk.js have support for axes grid in the future ?

---

<div class="post-metadata">

### Author: ![Forrest](https://discourse.vtk.org/user_avatar/discourse.vtk.org/forrest/32/300_2.png) [@Forrest](https://discourse.vtk.org/u/Forrest)
#### Post date: [July 2, 2020, 8:14pm UTC](https://discourse.vtk.org/t/how-to-add-axes-grid-in-vtk-js/3592/4 "2020-07-02T20:14:41Z")

</div>

Yeah, I think that will be useful to add/port from VTK. Of course, it’s one of the more complicated ones to implement, and right now that’s not on any roadmap I’m aware of.
