# Get outline (region) of points

**URL:** <https://discourse.mcneel.com/t/get-outline-region-of-points/187776>\
**Category:** Grasshopper\
**Tags:** windows\
**Created:** [July 9, 2024, 10:33am UTC](https://discourse.mcneel.com/t/get-outline-region-of-points/187776 "2024-07-09T10:33:43Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin\_Scholtyssek](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/kevin_scholtyssek/32/757560_2.png) [@Kevin\_Scholtyssek](https://discourse.mcneel.com/u/Kevin_Scholtyssek)\
**Post date:** [July 9, 2024, 10:33am UTC](https://discourse.mcneel.com/t/get-outline-region-of-points/187776/1 "2024-07-09T10:33:44Z")

</div>

Hello @all,  
i have a bunch of points and some gridlines…  
i want to get the outline of the whole geometry and cut the lines with the region…  
does someone has an idea of how to get there? 🙂

thanks in advance

---

<div class="post-metadata">

**Author:** ![ftzuk](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ftzuk/32/689170_2.png) [@ftzuk](https://discourse.mcneel.com/u/ftzuk)\
**Post date:** [July 9, 2024, 10:34am UTC](https://discourse.mcneel.com/t/get-outline-region-of-points/187776/2 "2024-07-09T10:34:45Z")

</div>

Upload a file.

---

<div class="post-metadata">

**Author:** ![Kevin\_Scholtyssek](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/kevin_scholtyssek/32/757560_2.png) [@Kevin\_Scholtyssek](https://discourse.mcneel.com/u/Kevin_Scholtyssek)\
**Post date:** [July 9, 2024, 10:42am UTC](https://discourse.mcneel.com/t/get-outline-region-of-points/187776/3 "2024-07-09T10:42:38Z")

</div>

oh yes - sure  
[internalised data.gh](https://discourse.mcneel.com/uploads/short-url/k7D6fFnuygl8zDgfEFyytaBGLgK.gh) (9.7 KB)

---

<div class="post-metadata">

**Author:** ![Kevin\_Scholtyssek](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/kevin_scholtyssek/32/757560_2.png) [@Kevin\_Scholtyssek](https://discourse.mcneel.com/u/Kevin_Scholtyssek)\
**Post date:** [July 9, 2024, 10:44am UTC](https://discourse.mcneel.com/t/get-outline-region-of-points/187776/4 "2024-07-09T10:44:20Z")

</div>

![grafik](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/6/b/4/6b4bc052ca33af24cbe225a3381c8e83cefd8226.png)  
 ![grafik](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/7/8/d/78d599993b3e0ab257ec0dca8c8ee342a2e51641.png)  
i need something like this 😃

---

<div class="post-metadata">

**Author:** ![Kevin\_Scholtyssek](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/kevin_scholtyssek/32/757560_2.png) [@Kevin\_Scholtyssek](https://discourse.mcneel.com/u/Kevin_Scholtyssek)\
**Post date:** [July 9, 2024, 11:22am UTC](https://discourse.mcneel.com/t/get-outline-region-of-points/187776/5 "2024-07-09T11:22:37Z")

</div>

okay, i got this one on my own

 ![grafik](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/5/2/d/52d200480eeedbb3f58831030d825402ed29fd04.png)  
i patched the points to a surface, splitted it by the curves… and filtered the list to get the final result ^^

---

<div class="post-metadata">

**Author:** ![encephalon](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/encephalon/32/611970_2.png) [@encephalon](https://discourse.mcneel.com/u/encephalon)\
**Post date:** [July 9, 2024, 1:32pm UTC](https://discourse.mcneel.com/t/get-outline-region-of-points/187776/6 "2024-07-09T13:32:34Z")

</div>

> [@Kevin\_Scholtyssek](#):
>
> okay, i got this one on my own

next time please categorize your topic accordingly that people not familiar with grasshopper dont waste their time making suggestions which are not applicable to you

---

<div class="post-metadata">

**Author:** ![michaelvollrath](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/michaelvollrath/32/479405_2.png) [@michaelvollrath](https://discourse.mcneel.com/u/michaelvollrath)\
**Post date:** [July 9, 2024, 3:36pm UTC](https://discourse.mcneel.com/t/get-outline-region-of-points/187776/7 "2024-07-09T15:36:51Z")

</div>

Hi @Kevin_Scholtyssek,

Just use the Boundary Surfaces component and then cast the output to a Curve.

Graph Space:  
 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/6/4/c/64cbb9bfbd67c3571eabdce782b9315ab8e32ca9.png)

Model Space:

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/6/8/b/68b0b45f2766288664d09c05f89259d70df70f5d.png)

Patch and Split Surface are fine and all but they can get quite computationally intensive depending on the inputs.

Cheers!

---

<div class="post-metadata">

**Author:** ![Volker\_Rakow](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/volker_rakow/32/770451_2.png) [@Volker\_Rakow](https://discourse.mcneel.com/u/Volker_Rakow)\
**Post date:** [July 9, 2024, 5:24pm UTC](https://discourse.mcneel.com/t/get-outline-region-of-points/187776/8 "2024-07-09T17:24:31Z")

</div>

![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/3/9/4/3944b51755ae7f6e2a9de2aa416c14a5e4e227d1.png)

😢

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/7/a/3/7a39f6d5a3b47f719f3be478c4d943cf9bca8319.png)

❓

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/2/8/8/288426fac49155ce6a030ab4241d768ef47d807e.png)

@michaelvollrath by what magic did you get this to work?

---

<div class="post-metadata">

**Author:** ![Kevin\_Scholtyssek](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/kevin_scholtyssek/32/757560_2.png) [@Kevin\_Scholtyssek](https://discourse.mcneel.com/u/Kevin_Scholtyssek)\
**Post date:** [July 11, 2024, 8:09am UTC](https://discourse.mcneel.com/t/get-outline-region-of-points/187776/9 "2024-07-11T08:09:58Z")

</div>

@michaelvollrath oh okay 😃 thats a lot better - thanks!

---

<div class="post-metadata">

**Author:** ![AndersDeleuran](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/andersdeleuran/32/476683_2.png) [@AndersDeleuran](https://discourse.mcneel.com/u/AndersDeleuran)\
**Post date:** [July 11, 2024, 8:26am UTC](https://discourse.mcneel.com/t/get-outline-region-of-points/187776/10 "2024-07-11T08:26:00Z")

</div>

I don’t know if it has been exposed in vanilla Grasshopper yet, but the [`Curve.CreateBooleanRegions`](https://developer.rhino3d.com/api/rhinocommon/rhino.geometry.curve/createbooleanregions) method seems perfectly suited for solving this problem:

 ![2024-07-11 10_23_37-Grasshopper - 240711_CreateBooleanRegions_00](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/d/c/4/dc41ab036bdd2fc4e2284c58f8b4013f2d6c8883.png)  
[240711\_CreateBooleanRegions\_00.gh](https://discourse.mcneel.com/uploads/short-url/5D9O5t676u2jnUCGPjzAJsalV6J.gh) (11.8 KB)

---

<div class="post-metadata">

**Author:** ![AndersDeleuran](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/andersdeleuran/32/476683_2.png) [@AndersDeleuran](https://discourse.mcneel.com/u/AndersDeleuran)\
**Post date:** [July 11, 2024, 1:34pm UTC](https://discourse.mcneel.com/t/get-outline-region-of-points/187776/11 "2024-07-11T13:34:48Z")

</div>

FWIW, one can use `Curve.CreateBooleanRegions` for these cases too:

 ![2024-07-11 15_32_59-Rhino 7 Educational - Top](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/1/5/0/150f47b2281e911a18b00e002d55388e0427c0fe.png)  
[240711\_CreateBooleanRegions\_01.gh](https://discourse.mcneel.com/uploads/short-url/n4SaSJzglseSOhzYHdlRnU6BEWv.gh) (5.4 KB)

---

<div class="post-metadata">

**Author:** ![Volker\_Rakow](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/volker_rakow/32/770451_2.png) [@Volker\_Rakow](https://discourse.mcneel.com/u/Volker_Rakow)\
**Post date:** [July 11, 2024, 1:42pm UTC](https://discourse.mcneel.com/t/get-outline-region-of-points/187776/12 "2024-07-11T13:42:36Z")

</div>

Thank you. I appreciate that the .CreateBooleanRegions works, but I still do not understand the difference between the examples I was testing and what the OP posted that makes Boundary Surface work on his curves and not mine.

---

<div class="post-metadata">

**Author:** ![Kevin\_Scholtyssek](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/kevin_scholtyssek/32/757560_2.png) [@Kevin\_Scholtyssek](https://discourse.mcneel.com/u/Kevin_Scholtyssek)\
**Post date:** [July 11, 2024, 2:02pm UTC](https://discourse.mcneel.com/t/get-outline-region-of-points/187776/13 "2024-07-11T14:02:00Z")

</div>

it`s a wild guess, but maybe it depends on how the curves are sorted?

---

<div class="post-metadata">

**Author:** ![AndersDeleuran](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/andersdeleuran/32/476683_2.png) [@AndersDeleuran](https://discourse.mcneel.com/u/AndersDeleuran)\
**Post date:** [July 11, 2024, 2:05pm UTC](https://discourse.mcneel.com/t/get-outline-region-of-points/187776/14 "2024-07-11T14:05:10Z")

</div>

> [@Volker\_Rakow](#):
>
> … but I still do not understand the difference between the examples I was testing and what the OP posted that makes Boundary Surface work on his curves and not mine.

It’s hard to say without a file to study/debug. But either way, when there’s a native RhinoCommon method that does exactly what the problem requires (I think), why not just use that method instead of hacky workarounds 😉

---

<div class="post-metadata">

**Author:** ![Volker\_Rakow](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/volker_rakow/32/770451_2.png) [@Volker\_Rakow](https://discourse.mcneel.com/u/Volker_Rakow)\
**Post date:** [July 11, 2024, 2:05pm UTC](https://discourse.mcneel.com/t/get-outline-region-of-points/187776/15 "2024-07-11T14:05:25Z")

</div>

I do not think that this is the case since the order doesn’t matter if the curves do not extend past their intersection points in the corners, but I will try.

---

<div class="post-metadata">

**Author:** ![Volker\_Rakow](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/volker_rakow/32/770451_2.png) [@Volker\_Rakow](https://discourse.mcneel.com/u/Volker_Rakow)\
**Post date:** [July 11, 2024, 2:08pm UTC](https://discourse.mcneel.com/t/get-outline-region-of-points/187776/16 "2024-07-11T14:08:26Z")

</div>

Mostly because I am not familiar enough with coding that I would have been able to use the RhinoCommon method without having an experienced individual like yourself simply providing me with the finished component. In other words, that this a problem for beginning and non-programming Grasshopper users.

---

<div class="post-metadata">

**Author:** ![AndersDeleuran](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/andersdeleuran/32/476683_2.png) [@AndersDeleuran](https://discourse.mcneel.com/u/AndersDeleuran)\
**Post date:** [July 11, 2024, 2:09pm UTC](https://discourse.mcneel.com/t/get-outline-region-of-points/187776/17 "2024-07-11T14:09:45Z")

</div>

That’s fair. Maybe try posting the file and we can have a look.

---

<div class="post-metadata">

**Author:** ![Volker\_Rakow](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/volker_rakow/32/770451_2.png) [@Volker\_Rakow](https://discourse.mcneel.com/u/Volker_Rakow)\
**Post date:** [July 11, 2024, 2:12pm UTC](https://discourse.mcneel.com/t/get-outline-region-of-points/187776/18 "2024-07-11T14:12:17Z")

</div>

I will have to recreate the file. Please give me a moment.

Here:  
[Boundary Surface Test on intersecting Curves with internal Region.gh](https://discourse.mcneel.com/uploads/short-url/zbpLUNSPmnkmfPMxbNBy8i5yARg.gh) (10.7 KB)  
While the curves are internalized, I created them on the basis of Rhino geometry to make sure that the last set has knots that lie on the same corner points.

---

<div class="post-metadata">

**Author:** ![Kevin\_Scholtyssek](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/kevin_scholtyssek/32/757560_2.png) [@Kevin\_Scholtyssek](https://discourse.mcneel.com/u/Kevin_Scholtyssek)\
**Post date:** [July 11, 2024, 3:04pm UTC](https://discourse.mcneel.com/t/get-outline-region-of-points/187776/19 "2024-07-11T15:04:01Z")

</div>

![grafik](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/3/5/3/353a6d03a3dfabc3b9f31be5f01f569c3813946d.png)  
so i think it might have something to do with the “extented curves”…  
give the boundary node just the segments of the closed curve of the object and it will work - but not for the pentagon in this example 😃

---

<div class="post-metadata">

**Author:** ![Volker\_Rakow](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/volker_rakow/32/770451_2.png) [@Volker\_Rakow](https://discourse.mcneel.com/u/Volker_Rakow)\
**Post date:** [July 11, 2024, 3:16pm UTC](https://discourse.mcneel.com/t/get-outline-region-of-points/187776/20 "2024-07-11T15:16:44Z")

</div>

Because the circle is not centered on the pentagon. But still, it is not a solution for a grid of lines that do not have a convex envelope (imagine a U-shape)

[Next page](https://discourse.mcneel.com/t/get-outline-region-of-points/187776.md?page=2)
