# Split the curves exactly at Plane

**URL:** <https://forum.dynamobim.com/t/split-the-curves-exactly-at-plane/17027>\
**Category:** Geometry\
**Tags:** dynamo\
**Created:** [December 1, 2017, 4:45pm UTC](https://forum.dynamobim.com/t/split-the-curves-exactly-at-plane/17027 "2017-12-01T16:45:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raja](https://avatars.discourse-cdn.com/v4/letter/r/9de0a6/32.png) [@Raja](https://forum.dynamobim.com/u/Raja)\
**Post date:** [December 1, 2017, 4:45pm UTC](https://forum.dynamobim.com/t/split-the-curves-exactly-at-plane/17027/1 "2017-12-01T16:45:53Z")

</div>

Hello All ,

Is there a way to split the curve exactly at the Surface as shown in the picture. The curves are NURBS and I am trying to loft them in Revit.

Thanks.

 ![Unbenannt](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/9/49543cf071bcf4d1b4a67283819d93df9a12a4a5.PNG)

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [December 1, 2017, 5:11pm UTC](https://forum.dynamobim.com/t/split-the-curves-exactly-at-plane/17027/2 "2017-12-01T17:11:12Z")

</div>

@Raja You can use _Geometry.Split_

 ![20171201-5A](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/2/92d5d88bb8aa53dca117e889aafa6865bef3f49a.png)  
However, if the cutting geometry doesn’t pass through the start point of closed curves, splitting gives you 3 curves  
 ![20171201-5B](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/0/9093e417aa7c8f3742ad78fea767592609aaff44.png)

---

<div class="post-metadata">

**Author:** ![Raja](https://avatars.discourse-cdn.com/v4/letter/r/9de0a6/32.png) [@Raja](https://forum.dynamobim.com/u/Raja)\
**Post date:** [December 4, 2017, 9:44am UTC](https://forum.dynamobim.com/t/split-the-curves-exactly-at-plane/17027/3 "2017-12-04T09:44:47Z")

</div>

Hi @Vikram_Subbaiah,

Thanks for your reply. Yes you are right if the start point of the curves doesnt pass through the plane then it explodes in to three parts. So i have to split my curves in Rhino and bring it here.

I searched the forums and found that here in this [link](https://forum.dynamobim.com/t/nurbscurve-bycontrolpoints-can-you-bake-them/444/10?u=raja) the NURBS curves cannot be closed in Revit but could be closed in Dynamo.

---

<div class="post-metadata">

**Author:** ![Nick\_Curtis](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_curtis/32/24343_2.png) [@Nick\_Curtis](https://forum.dynamobim.com/u/Nick_Curtis)\
**Post date:** [December 6, 2017, 6:56am UTC](https://forum.dynamobim.com/t/split-the-curves-exactly-at-plane/17027/4 "2017-12-06T06:56:08Z")

</div>

You could do some work after the split operation to join any successive curves. Archilab Grimshaw package has a node that groups all joinable curves into sublists. You may then be able to pass those lists to a Polycurve.byJoinedCurves node. If the latter node doesn’t do nurbs, you may be able to reconstruct by extracting the nurbs control points and rebuilding the curves by points.

---

<div class="post-metadata">

**Author:** ![Raja](https://avatars.discourse-cdn.com/v4/letter/r/9de0a6/32.png) [@Raja](https://forum.dynamobim.com/u/Raja)\
**Post date:** [December 8, 2017, 8:28am UTC](https://forum.dynamobim.com/t/split-the-curves-exactly-at-plane/17027/5 "2017-12-08T08:28:49Z")

</div>

Thanks @Nick_Curtis that was really helpful. I did try reconstructing the curve using nurbs control points but didn’t know about the Archilab Grimshaw package, that filled the void in this method.

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [December 11, 2017, 2:00pm UTC](https://forum.dynamobim.com/t/split-the-curves-exactly-at-plane/17027/6 "2017-12-11T14:00:15Z")

</div>

You could also try grouping curves using the _Design Script_ code I’ve posted [here](https://forum.dynamobim.com/t/grouping-of-curves-with-design-script/15122)

---

<div class="post-metadata">

**Author:** ![Raja](https://avatars.discourse-cdn.com/v4/letter/r/9de0a6/32.png) [@Raja](https://forum.dynamobim.com/u/Raja)\
**Post date:** [December 11, 2017, 3:23pm UTC](https://forum.dynamobim.com/t/split-the-curves-exactly-at-plane/17027/7 "2017-12-11T15:23:07Z")

</div>

Thanks @Vikram_Subbaiah, I used the Design Script node, since I use some packages from Archi-Lab and some other, this warning shows up

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/f/6fd0c9dd0535024b3aefb4a65a0a565e44f9d2cc.PNG)

so I just replaced `List` in your Code to `DSCore.List` to avoid ambiguity and it works great 🙂
