# models and NRRD files exported from Slicer don't align in vtkjs/itk

**URL:** https://discourse.vtk.org/t/models-and-nrrd-files-exported-from-slicer-dont-align-in-vtkjs-itk/2440
**Category:** Web
**Created:** [January 16, 2020, 3:53pm UTC](https://discourse.vtk.org/t/models-and-nrrd-files-exported-from-slicer-dont-align-in-vtkjs-itk/2440 "2020-01-16T15:53:51Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![mhalle](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/m/50afbb/32.png) [@mhalle](https://discourse.vtk.org/u/mhalle)
#### Post date: [January 17, 2020, 3:52am UTC](https://discourse.vtk.org/t/models-and-nrrd-files-exported-from-slicer-dont-align-in-vtkjs-itk/2440/11 "2020-01-17T03:52:28Z")

</div>

I added a flipping i and j hack to the demo. I do:

```auto
new_origin = indexToWorld(i_max, j_max, 0);
new_spacing = (-spacing_i, -spacing_j, spacing_k)

```

and everything aligns and looks anatomically correct.

Somewhere there’s a coordinate system problem. As I said, the NRRD file is already LPS.

---

_[View the full topic](https://discourse.vtk.org/t/models-and-nrrd-files-exported-from-slicer-dont-align-in-vtkjs-itk/2440)._
