# Is vtkSufaceNets3D exposed to python?

**URL:** https://discourse.vtk.org/t/is-vtksufacenets3d-exposed-to-python/12547
**Category:** Development
**Tags:** filter, python
**Created:** [October 26, 2023, 1:19pm UTC](https://discourse.vtk.org/t/is-vtksufacenets3d-exposed-to-python/12547 "2023-10-26T13:19:18Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![natsu\_mizu](https://discourse.vtk.org/user_avatar/discourse.vtk.org/natsu_mizu/32/2375_2.png) [@natsu\_mizu](https://discourse.vtk.org/u/natsu_mizu)
#### Post date: [October 26, 2023, 1:19pm UTC](https://discourse.vtk.org/t/is-vtksufacenets3d-exposed-to-python/12547/1 "2023-10-26T13:19:18Z")

</div>

Hi, I’m interested in using vtkSurfaceNets3D mentioned in [“Really Fast Isocontouring”](https://www.kitware.com/really-fast-isocontouring/) article of the Kitware blog.

However, python vtk module seems not have vtkSurfaceNets3D. I found only vtkSurfaceNets2D.

Is there any way to call `vtkSurfaceNets3D` using vtk python module?

```auto
In [1]: import vtk

In [2]: vtk. __version__
Out[2]: '9.2.6'

In [3]: s2 = vtk.vtkSurfaceNets2D()

In [4]: s3 = vtk.vtkSurfaceNets3D()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[4], line 1
----> 1 s3 = vtk.vtkSurfaceNets3D()

AttributeError: module 'vtk' has no attribute 'vtkSurfaceNets3D'

```

---

<div class="post-metadata">

### Author: ![will.schroeder](https://discourse.vtk.org/user_avatar/discourse.vtk.org/will.schroeder/32/233_2.png) [@will.schroeder](https://discourse.vtk.org/u/will.schroeder)
#### Post date: [October 26, 2023, 7:04pm UTC](https://discourse.vtk.org/t/is-vtksufacenets3d-exposed-to-python/12547/2 "2023-10-26T19:04:41Z")

</div>

I suspect it’s a versioning issue. Try downloading something more recent [https://vtk.org/download/](https://vtk.org/download/) or build the tool from the main branch.

---

<div class="post-metadata">

### Author: ![natsu\_mizu](https://discourse.vtk.org/user_avatar/discourse.vtk.org/natsu_mizu/32/2375_2.png) [@natsu\_mizu](https://discourse.vtk.org/u/natsu_mizu)
#### Post date: [October 26, 2023, 10:18pm UTC](https://discourse.vtk.org/t/is-vtksufacenets3d-exposed-to-python/12547/3 "2023-10-26T22:18:07Z")

</div>

Thanks, I find that the latest vtk 9.2.6 on pypi is released 15 Feb. 2023 and that is too old.
