# "Markups to model" did not strictly go through all control points of the markups, resulting in the surface not being what I expected. Unable to create complex surfaces

**URL:** <https://discourse.slicer.org/t/markups-to-model-did-not-strictly-go-through-all-control-points-of-the-markups-resulting-in-the-surface-not-being-what-i-expected-unable-to-create-complex-surfaces/36633>\
**Category:** Feature requests\
**Tags:** segmentation, surface-toolbox, markups\
**Created:** [June 7, 2024, 2:23am UTC](https://discourse.slicer.org/t/markups-to-model-did-not-strictly-go-through-all-control-points-of-the-markups-resulting-in-the-surface-not-being-what-i-expected-unable-to-create-complex-surfaces/36633 "2024-06-07T02:23:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![linhuanfeng](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/linhuanfeng/32/70132_2.png) [@linhuanfeng](https://discourse.slicer.org/u/linhuanfeng)\
**Post date:** [June 7, 2024, 2:23am UTC](https://discourse.slicer.org/t/markups-to-model-did-not-strictly-go-through-all-control-points-of-the-markups-resulting-in-the-surface-not-being-what-i-expected-unable-to-create-complex-surfaces/36633/1 "2024-06-07T02:23:41Z")

</div>

“Markups to model” did not strictly go through all control points of the markups, resulting in the surface not being what I expected. Unable to create complex surfaces.

 ![409ce85116a44f02484a47d14807c60e_](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/5/15e2501f943bfef8f40c53e84571e8e8aade2109.jpeg)

---

<div class="post-metadata">

**Author:** ![linhuanfeng](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/linhuanfeng/32/70132_2.png) [@linhuanfeng](https://discourse.slicer.org/u/linhuanfeng)\
**Post date:** [June 7, 2024, 2:29am UTC](https://discourse.slicer.org/t/markups-to-model-did-not-strictly-go-through-all-control-points-of-the-markups-resulting-in-the-surface-not-being-what-i-expected-unable-to-create-complex-surfaces/36633/2 "2024-06-07T02:29:53Z")

</div>

I found that all of the Slicer tools are based on the Markup module, but it is not possible to generate surfaces or inclusions that strictly follow the control points. Recurrence satisfies complex scenarios.  
The slicer has something similar to a bezier surface, but it is too simple and the operation is also very cumbersome. I hope to generate complex surfaces based on a set of control points (ensuring passing through all control points)

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/e/7e92f946b60d0cede189cd034b68dfdb753e4862.png)

Here is an example of generating a surface from points and strictly passing through all control points。（minics）

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/a/c/ac25efefea01b2393a851135d42f429dbc904eaa.jpeg)

---

<div class="post-metadata">

**Author:** ![linhuanfeng](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/linhuanfeng/32/70132_2.png) [@linhuanfeng](https://discourse.slicer.org/u/linhuanfeng)\
**Post date:** [June 7, 2024, 2:36am UTC](https://discourse.slicer.org/t/markups-to-model-did-not-strictly-go-through-all-control-points-of-the-markups-resulting-in-the-surface-not-being-what-i-expected-unable-to-create-complex-surfaces/36633/3 "2024-06-07T02:36:42Z")

</div>

I have achieved some results by adjusting the following parameters, but they cannot meet the requirements and are very troublesome

 ![74b5614f8f0cae0cc2e3afa65ae8fc1](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/f/8f71c5c175f149bae19c72b6067b662a77df28c2.png)

---

<div class="post-metadata">

**Author:** ![linhuanfeng](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/linhuanfeng/32/70132_2.png) [@linhuanfeng](https://discourse.slicer.org/u/linhuanfeng)\
**Post date:** [June 7, 2024, 2:39am UTC](https://discourse.slicer.org/t/markups-to-model-did-not-strictly-go-through-all-control-points-of-the-markups-resulting-in-the-surface-not-being-what-i-expected-unable-to-create-complex-surfaces/36633/4 "2024-06-07T02:39:50Z")

</div>

If you have a good solution, please contact me（mail:2303814193@qq.com）. I am also very willing to pay the compensation.

---

<div class="post-metadata">

**Author:** ![linhuanfeng](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/linhuanfeng/32/70132_2.png) [@linhuanfeng](https://discourse.slicer.org/u/linhuanfeng)\
**Post date:** [June 7, 2024, 6:04am UTC](https://discourse.slicer.org/t/markups-to-model-did-not-strictly-go-through-all-control-points-of-the-markups-resulting-in-the-surface-not-being-what-i-expected-unable-to-create-complex-surfaces/36633/5 "2024-06-07T06:04:46Z")

</div>

I have found that “Grid Surface” can achieve precise surfaces, so can we use this in turn to generate surfaces from countless points. Just like the minics above

 ![f9db0bcfaf3b34e6d4dd72a44d9e24f](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/0/40bfa36d3c967941c8741682463a0816b085befd.jpeg)
