# Convert 3D Segmentation to contours along different axis

**URL:** <https://discourse.slicer.org/t/convert-3d-segmentation-to-contours-along-different-axis/13400>\
**Category:** Development\
**Created:** [September 9, 2020, 1:35pm UTC](https://discourse.slicer.org/t/convert-3d-segmentation-to-contours-along-different-axis/13400 "2020-09-09T13:35:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![evanakm](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/evanakm/32/6725_2.png) [@evanakm](https://discourse.slicer.org/u/evanakm)\
**Post date:** [September 9, 2020, 1:35pm UTC](https://discourse.slicer.org/t/convert-3d-segmentation-to-contours-along-different-axis/13400/1 "2020-09-09T13:35:40Z")

</div>

If I use SlicerRT to export a segmentation to a Dicom RTSS file using , the 2D contours are all along axial slices. Is there a way to export the contours along a perpendicular direction?

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [September 9, 2020, 1:51pm UTC](https://discourse.slicer.org/t/convert-3d-segmentation-to-contours-along-different-axis/13400/2 "2020-09-09T13:51:30Z")

</div>

For that you will need to use a reference volume differently oriented. Looking at the exporter code the transform does not need to be hardened. Just make sure its Z axis points to the direction perpendicular to the contours you want. Please note that this volume will be exported to DICOM as well.
