# Creating a solid using 4 edge curves

**URL:** <https://forum.dynamobim.com/t/creating-a-solid-using-4-edge-curves/3512>\
**Category:** Packages\
**Created:** [March 23, 2016, 3:44am UTC](https://forum.dynamobim.com/t/creating-a-solid-using-4-edge-curves/3512 "2016-03-23T03:44:19Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![ABHIJEET\_SHARMA1](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@ABHIJEET\_SHARMA1](https://forum.dynamobim.com/u/ABHIJEET_SHARMA1)\
**Post date:** [March 23, 2016, 3:44am UTC](https://forum.dynamobim.com/t/creating-a-solid-using-4-edge-curves/3512/1 "2016-03-23T03:44:19Z")

</div>

Hello everyone,

If you look at the attached Images you will see that I have 4 closed curves from rhino in Dynamo, now that I want to convert these into solid as shown in right. So far, I cant’t figure out how to do that without creating intersecting planes to get sections.

Is there any way to achieve the solid using these four curves as edges? Also is it possible to take that solid as a mass in revit?

&nbsp;

Thanks in advance.

 ![Guide Curve](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/a/a3cde5870c6f25842658ef09608d93267a4d0ce8.jpg)

---

<div class="post-metadata">

**Author:** ![Mostafa\_El\_Ayoubi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mostafa_el_ayoubi/32/7815_2.png) [@Mostafa\_El\_Ayoubi](https://forum.dynamobim.com/u/Mostafa_El_Ayoubi)\
**Post date:** [March 23, 2016, 3:58am UTC](https://forum.dynamobim.com/t/creating-a-solid-using-4-edge-curves/3512/2 "2016-03-23T03:58:10Z")

</div>

Hi Abhijeet,

&nbsp;

I would suggest to loft your curves two by two then create a list of surfaces that you can extract a solid from with the Solid.ByJoinedSurfaces node .

If you want to import your solid as a mass in revit i recommand the use of spring nodes package’s Form.ByGeometry node.

&nbsp;

---

<div class="post-metadata">

**Author:** ![ABHIJEET\_SHARMA1](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@ABHIJEET\_SHARMA1](https://forum.dynamobim.com/u/ABHIJEET_SHARMA1)\
**Post date:** [March 29, 2016, 2:32am UTC](https://forum.dynamobim.com/t/creating-a-solid-using-4-edge-curves/3512/3 "2016-03-29T02:32:20Z")

</div>

![Scissors](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/8/81bdee325a39f596966d1a50e6aae65a731ca584.jpg)HI Mostafa, I was trying exactly the same(I have 14 such curved elements in my design). I am able to create surface for all of them, But when I join surfaces to extract solid not all the curves turn to solid, only 7-8 out of 14 turn solid. I get “surfaces could not be joined into a closed solid, even with refinement!” error for the rest of the solids. Don’t know what’s going wrong, any idea?

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [March 29, 2016, 2:45am UTC](https://forum.dynamobim.com/t/creating-a-solid-using-4-edge-curves/3512/4 "2016-03-29T02:45:38Z")

</div>

Hi Abhijeet,

Did you try “Curve.ApproximateWithArchAndLineSegments” node?

&nbsp;

---

<div class="post-metadata">

**Author:** ![ABHIJEET\_SHARMA1](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@ABHIJEET\_SHARMA1](https://forum.dynamobim.com/u/ABHIJEET_SHARMA1)\
**Post date:** [March 29, 2016, 3:13am UTC](https://forum.dynamobim.com/t/creating-a-solid-using-4-edge-curves/3512/5 "2016-03-29T03:13:40Z")

</div>

Yes I tried that. Using curves to generate surfaces were taking way too much time. So, I created all the surfaces in Rhino and then used Rhino.BrepToDS node to convert those into polysurface. All the polysurfaces are coming fine, just not able to create solid from few of them.

---

<div class="post-metadata">

**Author:** ![Mostafa\_El\_Ayoubi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mostafa_el_ayoubi/32/7815_2.png) [@Mostafa\_El\_Ayoubi](https://forum.dynamobim.com/u/Mostafa_El_Ayoubi)\
**Post date:** [March 29, 2016, 3:20am UTC](https://forum.dynamobim.com/t/creating-a-solid-using-4-edge-curves/3512/6 "2016-03-29T03:20:51Z")

</div>

Hey Abhijeet,

could you share your files with us?

---

<div class="post-metadata">

**Author:** ![ABHIJEET\_SHARMA1](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@ABHIJEET\_SHARMA1](https://forum.dynamobim.com/u/ABHIJEET_SHARMA1)\
**Post date:** [March 29, 2016, 3:34am UTC](https://forum.dynamobim.com/t/creating-a-solid-using-4-edge-curves/3512/7 "2016-03-29T03:34:31Z")

</div>

[20160323\_3D Model\_FSI 3\_v04](http://dynamobim.org/wp-content/uploads/forum-assets/ar-abhijeet-designgmail-com/03/29/20160323_3D-Model_FSI-3_v04.zip) [ScissorsV3\_from surface - Copy](http://dynamobim.org/wp-content/uploads/forum-assets/ar-abhijeet-designgmail-com/03/29/ScissorsV3_from-surface-Copy.dyn)

&nbsp;

Sure, These are my Rhino files and Dyn file. Please have a look.

---

<div class="post-metadata">

**Author:** ![Mostafa\_El\_Ayoubi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mostafa_el_ayoubi/32/7815_2.png) [@Mostafa\_El\_Ayoubi](https://forum.dynamobim.com/u/Mostafa_El_Ayoubi)\
**Post date:** [March 29, 2016, 5:33am UTC](https://forum.dynamobim.com/t/creating-a-solid-using-4-edge-curves/3512/8 "2016-03-29T05:33:39Z")

</div>

There you go 🙂

(dyn file -\> [ScissorsV3\_from-surface- GET SOLIDS](http://dynamobim.org/wp-content/uploads/forum-assets/elayoubi-mostafagmail-com/03/29/ScissorsV3_from-surface-GET-SOLIDS.dyn) )

![get solids](http://dynamobim.org/wp-content/uploads/forum-assets/elayoubi-mostafagmail-com/03/29/get-solids.png)

---

<div class="post-metadata">

**Author:** ![ABHIJEET\_SHARMA1](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@ABHIJEET\_SHARMA1](https://forum.dynamobim.com/u/ABHIJEET_SHARMA1)\
**Post date:** [March 29, 2016, 5:51am UTC](https://forum.dynamobim.com/t/creating-a-solid-using-4-edge-curves/3512/9 "2016-03-29T05:51:15Z")

</div>

AWESOME!

Thanks Mostafa. Can you please guide me where and what I was doing wrong? And what’s the purpose of exploding the geometry?

---

<div class="post-metadata">

**Author:** ![Mostafa\_El\_Ayoubi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mostafa_el_ayoubi/32/7815_2.png) [@Mostafa\_El\_Ayoubi](https://forum.dynamobim.com/u/Mostafa_El_Ayoubi)\
**Post date:** [March 29, 2016, 7:27am UTC](https://forum.dynamobim.com/t/creating-a-solid-using-4-edge-curves/3512/10 "2016-03-29T07:27:30Z")

</div>

Glad I could help 🙂

Actually your question about the explode node taught me something. I didn’t know that you could use the Polysurface.ByJoinedSurfaces node with Polysurfaces, so you can actually skip that part. It makes everything even easier.

The problem in your script was the way you uses the Solid.ByJoinedSurfaces . You need to map that node or it will try to make one big solid out of all the surfaces (no mather what the lacing of the node is set to), as you can see in cases 3 and 4 of the image below.

There is another issue with that node, that I think is a glitch (but maybe there is a reason to it). Even if you map it and get all the separate solids, you sometimes wont be able to import them into revit, as you can see in the case number 2 in the image. If someone can explain that I would be very interested to know what happens there.

That leaves the otpion of extracting solids from polysurfaces , which has always worked fine for me .

 ![solid from surfaces](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/0/00d06d35297fd7f170c7983af20a9e19283e362f.png)

&nbsp;

&nbsp;

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![ABHIJEET\_SHARMA1](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@ABHIJEET\_SHARMA1](https://forum.dynamobim.com/u/ABHIJEET_SHARMA1)\
**Post date:** [March 29, 2016, 10:58pm UTC](https://forum.dynamobim.com/t/creating-a-solid-using-4-edge-curves/3512/11 "2016-03-29T22:58:09Z")

</div>

Tanks Mostafa for such an elaborate explanation 🙂 That cleared so many of my doubts, thanks again 🙂

&nbsp;

---

<div class="post-metadata">

**Author:** ![ABHIJEET\_SHARMA1](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@ABHIJEET\_SHARMA1](https://forum.dynamobim.com/u/ABHIJEET_SHARMA1)\
**Post date:** [March 29, 2016, 11:19pm UTC](https://forum.dynamobim.com/t/creating-a-solid-using-4-edge-curves/3512/12 "2016-03-29T23:19:28Z")

</div>

Now this is the error I am getting, not able to create form in revit using those solids ☹

&nbsp;

![scissors2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/5/5a1f4842f9f932e706d74a667f4a80f9faa1af37.jpg)

&nbsp;

---

<div class="post-metadata">

**Author:** ![Dimitar\_Venkov](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dimitar_venkov/32/2068_2.png) [@Dimitar\_Venkov](https://forum.dynamobim.com/u/Dimitar_Venkov)\
**Post date:** [March 29, 2016, 11:52pm UTC](https://forum.dynamobim.com/t/creating-a-solid-using-4-edge-curves/3512/13 "2016-03-29T23:52:25Z")

</div>

Hi,

You’ll need to flatten your list first.

---

<div class="post-metadata">

**Author:** ![ABHIJEET\_SHARMA1](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@ABHIJEET\_SHARMA1](https://forum.dynamobim.com/u/ABHIJEET_SHARMA1)\
**Post date:** [March 30, 2016, 12:20am UTC](https://forum.dynamobim.com/t/creating-a-solid-using-4-edge-curves/3512/14 "2016-03-30T00:20:24Z")

</div>

Thanks Dimitar 🙂

---

<div class="post-metadata">

**Author:** ![ABHIJEET\_SHARMA1](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@ABHIJEET\_SHARMA1](https://forum.dynamobim.com/u/ABHIJEET_SHARMA1)\
**Post date:** [April 1, 2016, 12:17am UTC](https://forum.dynamobim.com/t/creating-a-solid-using-4-edge-curves/3512/15 "2016-04-01T00:17:21Z")

</div>

So, everything worked out but there is something strange. If you guys see the attached image you will find few handle like lines for curves(only in plan or elevation) I can’t click or select those line, EXCEPT when I import this model into my project and use Linework to make them invisible. What can be these mysterious lines? By-product of dynamo geometry generation?

 ![scissors03](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/e/ef69f139c9265cfb15fc935f0e4cde2c286fc42e.jpg)
