# SelChain resources / ExtractTangentFaces

**URL:** <https://discourse.mcneel.com/t/selchain-resources-extracttangentfaces/134189>\
**Category:** Rhino\
**Tags:** windows, rhino7\
**Created:** [November 30, 2021, 8:32am UTC](https://discourse.mcneel.com/t/selchain-resources-extracttangentfaces/134189 "2021-11-30T08:32:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![martinborst1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/martinborst1/32/607738_2.png) [@martinborst1](https://discourse.mcneel.com/u/martinborst1)\
**Post date:** [November 30, 2021, 8:32am UTC](https://discourse.mcneel.com/t/selchain-resources-extracttangentfaces/134189/1 "2021-11-30T08:32:41Z")

</div>

I’m looking for resources for the Rhino command “SelChain”, but couldn’t find anything in the tutorials etc as it does not behave as I expect it to.

SelChain only works for the example in the middle, but the order of selection seems to matter.  
If I start from the circle section I get all connected (setting ChainContinuity=Position) edges, when I start from another position it does not work.

What is the reason for this effect? How can I make sure that I always get the resired result independent of the first element?

[extract tangent.3dm](https://discourse.mcneel.com/uploads/short-url/cEotB0K0VN5DpOioiwqhjTtp7Hq.3dm) (59.7 KB)

 ![2021-11-30 09_14_25-Untitled - Rhinoceros 7 Commercial - Perspective](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/3/d/a/3dac5c1af5bfa03a5f58ce110b3b45e934d31a51.png)

Context:  
I’m trying to select all surfaces that have a certain continuity with each other, without being limited to polysurfaces like the rhino plugin from @pascal from  
[SelChain implies surfaces are accepted, but how? - Rhino / Rhino for Windows - McNeel Forum](https://discourse.mcneel.com/t/selchain-implies-surfaces-are-accepted-but-how/92920/9)  
seems to be. As a first step I’d like to select all edges that fit the criteria, but the results don’t make sense to me (yet).

Thanks

---

<div class="post-metadata">

**Author:** ![pascal](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pascal/32/479395_2.png) [@pascal](https://discourse.mcneel.com/u/pascal)\
**Post date:** [November 30, 2021, 3:48pm UTC](https://discourse.mcneel.com/t/selchain-resources-extracttangentfaces/134189/2 "2021-11-30T15:48:44Z")

</div>

Hi Martin - I think what you want is ‘SelectTangentFaces’ rather than ‘Extract’, correct?

-Pascal

---

<div class="post-metadata">

**Author:** ![martinborst1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/martinborst1/32/607738_2.png) [@martinborst1](https://discourse.mcneel.com/u/martinborst1)\
**Post date:** [December 1, 2021, 7:32am UTC](https://discourse.mcneel.com/t/selchain-resources-extracttangentfaces/134189/3 "2021-12-01T07:32:29Z")

</div>

Yes, that name describes what I want to do better -

> SelectContinuousFaces

with C0, C1, C2 option.  
Unfortunately this command doesn’t seems to exist right now.

> Version 7 SR7  
> (7.7.21160.5001, 2021-06-09)

If it does not exist yet, I’ll try to do it myself. Right now I don’t know what would be best for doing this.  
Any suggestions?

A really inefficient way is iteratively combining faces together face by face and then checking if there is any discontinuity with `combined_face.GetNextDiscontinuity`, but there are better ways for this.

---

<div class="post-metadata">

**Author:** ![eddi](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/eddi/32/514714_2.png) [@eddi](https://discourse.mcneel.com/u/eddi)\
**Post date:** [December 1, 2021, 12:12pm UTC](https://discourse.mcneel.com/t/selchain-resources-extracttangentfaces/134189/4 "2021-12-01T12:12:55Z")

</div>

We are in RH7 SR12

> [@martinborst1](#):
>
> Unfortunately this command doesn’t seems to exist right now.

> [@SelChain implies surfaces are accepted, but how?](https://discourse.mcneel.com/t/selchain-implies-surfaces-are-accepted-but-how/92920/11):
>
> Hm… it works here - let me post the latest that I have, it fixed a bug, not obviously related to what you describe though. Does it fail on say a box with a few edges filleted? @eobet[ExtractTangentFaces.rhp](https://discourse.mcneel.com/uploads/short-url/5YKIFJnc8pwd5Kfo3FKAI6o5aZB.rhp) (40.5 KB) -Pascal

---

<div class="post-metadata">

**Author:** ![martinborst1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/martinborst1/32/607738_2.png) [@martinborst1](https://discourse.mcneel.com/u/martinborst1)\
**Post date:** [December 1, 2021, 12:38pm UTC](https://discourse.mcneel.com/t/selchain-resources-extracttangentfaces/134189/5 "2021-12-01T12:38:39Z")

</div>

Thank you for your answer eddi,  
I just tried out the newer version attached to the post you quoted.

> I’m trying to select all surfaces that have a certain continuity with each other, without being limited to polysurfaces like the rhino plugin from @pascal

It still seems to limited to polysurfaces it seems, at least thats what the command windows says and therefore it does not work with my provided example (it contains no polysurfaces, just surfaces / trimmed surfaces).

---

<div class="post-metadata">

**Author:** ![eddi](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/eddi/32/514714_2.png) [@eddi](https://discourse.mcneel.com/u/eddi)\
**Post date:** [December 1, 2021, 12:55pm UTC](https://discourse.mcneel.com/t/selchain-resources-extracttangentfaces/134189/6 "2021-12-01T12:55:19Z")

</div>

> [@martinborst1](#):
>
> It still seems to limited to polysurfaces it seems

I not have Pascal’s plugin installed, but if is limited to polysurface what says one click on command \_Join ?

Edit: Please ignore my comment I had not read your first post 🤒

> [@martinborst1](#):
>
> I just tried out the newer version attached to the post you quoted.

Was only for info and not directly relevant for Your wish.

---

<div class="post-metadata">

**Author:** ![michele4](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/michele4/32/712578_2.png) [@michele4](https://discourse.mcneel.com/u/michele4)\
**Post date:** [November 26, 2025, 8:46am UTC](https://discourse.mcneel.com/t/selchain-resources-extracttangentfaces/134189/7 "2025-11-26T08:46:15Z")

</div>

With the latest update to Rhino 8, the plug-in does not work
