# Ramp Curves

**URL:** <https://forum.dynamobim.com/t/ramp-curves/4423>\
**Category:** Revit\
**Created:** [June 9, 2016, 7:07pm UTC](https://forum.dynamobim.com/t/ramp-curves/4423 "2016-06-09T19:07:18Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jay\_Polding](https://avatars.discourse-cdn.com/v4/letter/j/e95f7d/32.png) [@Jay\_Polding](https://forum.dynamobim.com/u/Jay_Polding)\
**Post date:** [June 9, 2016, 7:07pm UTC](https://forum.dynamobim.com/t/ramp-curves/4423/1 "2016-06-09T19:07:18Z")

</div>

Hi,

I’m looking to convert a Revit Ramp to a Floor. Problem is I can’t get the curves from the Ramp, just an empty list. Any ideas?

---

<div class="post-metadata">

**Author:** ![Jay\_Polding](https://avatars.discourse-cdn.com/v4/letter/j/e95f7d/32.png) [@Jay\_Polding](https://forum.dynamobim.com/u/Jay_Polding)\
**Post date:** [June 9, 2016, 7:17pm UTC](https://forum.dynamobim.com/t/ramp-curves/4423/2 "2016-06-09T19:17:24Z")

</div>

An update to this. I was able to extract the surface(faces) from the ramp and then the perimeter curves from the surface. Still working on getting that to a floors outlineCurves…

---

<div class="post-metadata">

**Author:** ![Danny\_Jones](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@Danny\_Jones](https://forum.dynamobim.com/u/Danny_Jones)\
**Post date:** [June 9, 2016, 8:41pm UTC](https://forum.dynamobim.com/t/ramp-curves/4423/3 "2016-06-09T20:41:24Z")

</div>

Jay, could you just use a DirectShape node or do you need to be able to edit the floor?

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

---

<div class="post-metadata">

**Author:** ![Danny\_Jones](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@Danny\_Jones](https://forum.dynamobim.com/u/Danny_Jones)\
**Post date:** [June 9, 2016, 8:57pm UTC](https://forum.dynamobim.com/t/ramp-curves/4423/4 "2016-06-09T20:57:40Z")

</div>

Or here is the edited floor version. Not sure it’ll work every time but should get you in the right direction.

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/2/2defc7bc0038caa16e355098abc814614c11e52d.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:** [June 10, 2016, 1:40pm UTC](https://forum.dynamobim.com/t/ramp-curves/4423/5 "2016-06-10T13:40:53Z")

</div>

Another possible work around (with some manual work towards the end) would be to create structural framing using the extracted ramp perimeter curves. Then use _Pick Supports_ available under the _Shape Editing_ options to get the floor slab to confirm to the slope of the ramp.

In the case of curved ramps the framing might have to be at regular intervals, spanning the width of the ramp.

The framing could be deleted once the slab is in place.

---

<div class="post-metadata">

**Author:** ![Jay\_Polding](https://avatars.discourse-cdn.com/v4/letter/j/e95f7d/32.png) [@Jay\_Polding](https://forum.dynamobim.com/u/Jay_Polding)\
**Post date:** [June 10, 2016, 3:11pm UTC](https://forum.dynamobim.com/t/ramp-curves/4423/6 "2016-06-10T15:11:44Z")

</div>

Thank you both. I feel like I’m almost there as I can get the surfaces and curves. I can’t seem to isolate only the top curves though. Also, it seems that a floor can be made only flat from Dynamo. I need the object to be a true floor (not directshape) because it needs to be ‘joined’ into other floors. Here’s what I have so far…

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/4/40aca1711deb33657b53c21bf537ca57982a76d1.png)

---

<div class="post-metadata">

**Author:** ![Danny\_Jones](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@Danny\_Jones](https://forum.dynamobim.com/u/Danny_Jones)\
**Post date:** [June 10, 2016, 3:30pm UTC](https://forum.dynamobim.com/t/ramp-curves/4423/7 "2016-06-10T15:30:33Z")

</div>

Jay that is what my code block a[4] is doing. We’re just pulling out the top surface. Then we get the perimeter curves of that surface and project them down to a level. Once we have the flattened surface we can them make a floor. Once the floor is done we can use the original curve end points to manipulate the surface. My 2nd tree should work fine if you can follow it.

---

<div class="post-metadata">

**Author:** ![Jay\_Polding](https://avatars.discourse-cdn.com/v4/letter/j/e95f7d/32.png) [@Jay\_Polding](https://forum.dynamobim.com/u/Jay_Polding)\
**Post date:** [June 10, 2016, 4:52pm UTC](https://forum.dynamobim.com/t/ramp-curves/4423/8 "2016-06-10T16:52:03Z")

</div>

Where did you get the FloorSlab Shape by Points node? Clockwork, got it. They need to have some icons on the nodes or something.

---

<div class="post-metadata">

**Author:** ![Danny\_Jones](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@Danny\_Jones](https://forum.dynamobim.com/u/Danny_Jones)\
**Post date:** [June 10, 2016, 4:56pm UTC](https://forum.dynamobim.com/t/ramp-curves/4423/9 "2016-06-10T16:56:36Z")

</div>

Clockwork package. I really recommend installing it, archi-lab, steamnodes, springnodes, rhythm and lunchbox.

---

<div class="post-metadata">

**Author:** ![Jay\_Polding](https://avatars.discourse-cdn.com/v4/letter/j/e95f7d/32.png) [@Jay\_Polding](https://forum.dynamobim.com/u/Jay_Polding)\
**Post date:** [June 10, 2016, 5:08pm UTC](https://forum.dynamobim.com/t/ramp-curves/4423/10 "2016-06-10T17:08:30Z")

</div>

It works for a straight ramp, except for the z direction. Doesn’t like a curving ramp. Seems that the top surface points just need to be projected. But still, how do we get the floor to slope if possible?

The reason for this is that a lot of architects build ramps in parking garages using the ramp tool. Problem is, a ramp doesn’t work well in the structure model. Ramps don’t copy/monitor and don’t cut and paste very well, and don’t receive rebar or join geometry.

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/2/27a4b715f6ce4d48f86614082d58923184cf963f.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:** [June 10, 2016, 5:54pm UTC](https://forum.dynamobim.com/t/ramp-curves/4423/11 "2016-06-10T17:54:22Z")

</div>

Here are files with a floor in place of a curved ramp on the lines of my earlier comment.

[CurvedRamp.dyn](https://forum.dynamobim.com/uploads/short-url/pzOjpwlqL8M2M8XTxQkRkXl5jie.dyn) (33.4 KB)

[CurvedRamp.rvt](https://forum.dynamobim.com/uploads/short-url/mDgfl5XvCM7lpTfs4aiVeodTxSv.rvt) (1.3 MB)

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/3/34dea1afd0b44f23a1a4ba8e72f06d34c7abf1af.png)  
 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/0/0f087cf258127381fbc2aaddf463083701186a94.png)

---

<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:** [June 10, 2016, 6:32pm UTC](https://forum.dynamobim.com/t/ramp-curves/4423/12 "2016-06-10T18:32:05Z")

</div>

Hi Jay,  
Can you drop here dummy ramp file. There is another possible way to achieve.

---

<div class="post-metadata">

**Author:** ![Jay\_Polding](https://avatars.discourse-cdn.com/v4/letter/j/e95f7d/32.png) [@Jay\_Polding](https://forum.dynamobim.com/u/Jay_Polding)\
**Post date:** [June 10, 2016, 6:58pm UTC](https://forum.dynamobim.com/t/ramp-curves/4423/13 "2016-06-10T18:58:08Z")

</div>

Thanks Vikram, very kind of you. I’ll give that a try. Kulkul, attached is a file with a curved ramp (nothing special and I had to purge it to make it small enough).  
[Ramp convert to Floor.rvt](https://forum.dynamobim.com/uploads/short-url/5fwONeXxocTGx6Lzckn18oYA6Vg.rvt) (1.1 MB)

---

<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:** [June 11, 2016, 9:43am UTC](https://forum.dynamobim.com/t/ramp-curves/4423/14 "2016-06-11T09:43:45Z")

</div>

Hi Jay,  
Here is my solution. I selected the edges using “SelectEdges” node from spring nodes. Then i joined all the edges. Have a look at the process below:

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/3/3d8ac087e88be26c08be483c92058201e89e18f6.gif)

---

<div class="post-metadata">

**Author:** ![Jay\_Polding](https://avatars.discourse-cdn.com/v4/letter/j/e95f7d/32.png) [@Jay\_Polding](https://forum.dynamobim.com/u/Jay_Polding)\
**Post date:** [June 13, 2016, 3:16pm UTC](https://forum.dynamobim.com/t/ramp-curves/4423/15 "2016-06-13T15:16:49Z")

</div>

Kulkul, that worked thanks. I tried it with a number of different ramp shapes and it works great.  
Vikram, putting supports along the ramp is very cool!

I’m going to keep working with these ideas…

---

<div class="post-metadata">

**Author:** ![viktor\_kuzev](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/viktor_kuzev/32/48254_2.png) [@viktor\_kuzev](https://forum.dynamobim.com/u/viktor_kuzev)\
**Post date:** [June 28, 2016, 8:18am UTC](https://forum.dynamobim.com/t/ramp-curves/4423/16 "2016-06-28T08:18:26Z")

</div>

Here is a variation of Vikram’s solution using SlabShape By Points to modify the floor height.  
The Python Node is from the custom node - they should both work but for some reason the node is not working for me. [CurvedRamp\_viktor.dyn](https://forum.dynamobim.com/uploads/short-url/pXCYvMvq3uZ2IOhFEKHu1gt7EZb.dyn) (16.2 KB)

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/2/2d9f2fab51978b2e5c1d22729d67a2f1b280efc8.png)

---

<div class="post-metadata">

**Author:** ![vxquinones](https://avatars.discourse-cdn.com/v4/letter/v/e274bd/32.png) [@vxquinones](https://forum.dynamobim.com/u/vxquinones)\
**Post date:** [August 1, 2017, 8:18am UTC](https://forum.dynamobim.com/t/ramp-curves/4423/17 "2017-08-01T08:18:16Z")

</div>

> [@Kulkul](#):
>
> Hi Jay,  
> Here is my solution. I selected the edges using “SelectEdges” node from spring nodes. Then i joined all the edges. Have a look at the process below:
> 
> ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/3/3d8ac087e88be26c08be483c92058201e89e18f6.gif)

Hi Kulkul,

Newbie here, I am trying to replicate your graph but I hit a road block. what do u think is the problem. Thanks in advance.

 ![Curves not branching](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/5/950271c05d37a38407baadcec87400144a8a8a57.png)

---

<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:** [August 1, 2017, 8:20am UTC](https://forum.dynamobim.com/t/ramp-curves/4423/18 "2017-08-01T08:20:43Z")

</div>

Hi @vxquinones

After the node Curve.PullontoPlane you add this node called “Polycurve.Curve”. I am assuming your trying to feed polycurve.

---

<div class="post-metadata">

**Author:** ![vxquinones](https://avatars.discourse-cdn.com/v4/letter/v/e274bd/32.png) [@vxquinones](https://forum.dynamobim.com/u/vxquinones)\
**Post date:** [August 1, 2017, 9:00am UTC](https://forum.dynamobim.com/t/ramp-curves/4423/19 "2017-08-01T09:00:24Z")

</div>

Hi Kulkul,

thanks for the quick reply, I am trying to “convert” ramps to floors actually so I can use it with walls. will let you know where I got to.

---

<div class="post-metadata">

**Author:** ![sed07](https://avatars.discourse-cdn.com/v4/letter/s/97f17d/32.png) [@sed07](https://forum.dynamobim.com/u/sed07)\
**Post date:** [May 2, 2018, 3:17pm UTC](https://forum.dynamobim.com/t/ramp-curves/4423/20 "2018-05-02T15:17:53Z")

</div>

Hi Kulkul,

This is a very good solution. However, I found that when I try to make more than one floor using this method, it deletes the previous floor before making the new one. A work-around that I found involves continuously recreating a new _select edges_ node for every floor, which is kind of tedious.

I’ve tried modifying the script using the workflow posted below, so that it automatically selects the edges of the ramp, without having to click on them. However, for some reason it’s giving me an error.

If anyone knows why it’s giving this error, or if anyone has a better solution instead of my work-around please let me know.

 ![ramp%20to%20floor](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/6/f6af4d0952fd2381d44b76d7a44356dc29e95900.png)  
 ![ramp%20to%20floor%20error](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/e/eef3f42dfa01ef7bbbb8f12380f54eb022aaa83e.png)
