# TriangleMeshToBinaryImageFilter In Python

**URL:** https://discourse.itk.org/t/trianglemeshtobinaryimagefilter-in-python/1604
**Category:** Beginner Questions
**Tags:** python, itkv5
**Created:** [February 15, 2019, 9:01pm UTC](https://discourse.itk.org/t/trianglemeshtobinaryimagefilter-in-python/1604 "2019-02-15T21:01:05Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![matt.mccormick](https://discourse.itk.org/user_avatar/discourse.itk.org/matt.mccormick/32/7_2.png) [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)
#### Post date: [May 13, 2019, 4:43pm UTC](https://discourse.itk.org/t/trianglemeshtobinaryimagefilter-in-python/1604/6 "2019-05-13T16:43:57Z")

</div>

Hi @buaaduke,

Thanks for the note.

We an issue we are resolving with remote module Python packages in ITK 5.0 RC 2 that causes this segmentation fault. We aim to have these resolved with the 5.0.0 release.

The `itk-iomeshstl` package will encounter this issue, but the `itk.TriangleMeshToBinaryImageFilter` should be available in the 5.0 RC 2 packages. It is possible to write the result with [one of the other mesh file formats supported by ITK](https://itk.org/Doxygen/html/group__ITKIOMesh.html) in the meantime.

CC: @fbudin

---

_[View the full topic](https://discourse.itk.org/t/trianglemeshtobinaryimagefilter-in-python/1604)._
