# How to get a 3D model of a closed surface

**URL:** https://discourse.vtk.org/t/how-to-get-a-3d-model-of-a-closed-surface/11442
**Category:** Support
**Created:** [May 12, 2023, 9:03am UTC](https://discourse.vtk.org/t/how-to-get-a-3d-model-of-a-closed-surface/11442 "2023-05-12T09:03:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![PPYoung](https://discourse.vtk.org/user_avatar/discourse.vtk.org/ppyoung/32/3995_2.png) [@PPYoung](https://discourse.vtk.org/u/PPYoung)
#### Post date: [May 12, 2023, 9:03am UTC](https://discourse.vtk.org/t/how-to-get-a-3d-model-of-a-closed-surface/11442/1 "2023-05-12T09:03:40Z")

</div>

hello. everyone.

I am practicing the example in this link.  
[https://kitware.github.io/vtk-examples/site/Cxx/Medical/MedicalDemo1/](https://kitware.github.io/vtk-examples/site/Cxx/Medical/MedicalDemo1/)

In this example, a marching cube is used to obtain a surface,  
Looking at the resulting image ([https://github.com/Kitware/vtk-examples/blob/gh-pages/src/Testing/Baseline/Cxx/Medical/TestMedicalDemo1.png?raw=true](https://github.com/Kitware/vtk-examples/blob/gh-pages/src/Testing/Baseline/Cxx/Medical/TestMedicalDemo1.png?raw=true)), the upper surface is not closed.

Please let me know how can I get a closed surface.

thank you.
