# Sweep along the curve with the perpendicular profile to base plane

**URL:** <https://forum.dynamobim.com/t/sweep-along-the-curve-with-the-perpendicular-profile-to-base-plane/14246>\
**Category:** Geometry\
**Created:** [August 24, 2017, 8:07am UTC](https://forum.dynamobim.com/t/sweep-along-the-curve-with-the-perpendicular-profile-to-base-plane/14246 "2017-08-24T08:07:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pavel\_Simak](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/pavel_simak/32/30997_2.png) [@Pavel\_Simak](https://forum.dynamobim.com/u/Pavel_Simak)\
**Post date:** [August 24, 2017, 8:07am UTC](https://forum.dynamobim.com/t/sweep-along-the-curve-with-the-perpendicular-profile-to-base-plane/14246/1 "2017-08-24T08:07:05Z")

</div>

Hi everyone,

please, do you know any way how to do sweep along a curve, where will be the profile still perpendicular to the base plane (floor plan)?  
Red line represents the profile on the picture.

Thanks for any help.

 ![dynamo question](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/0/b06d6483249a9cabe330997a1f68982c16c5fdfb.png)

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [August 24, 2017, 8:32am UTC](https://forum.dynamobim.com/t/sweep-along-the-curve-with-the-perpendicular-profile-to-base-plane/14246/2 "2017-08-24T08:32:39Z")

</div>

Hi, did you attempt anything yet? If not, this could help you to get started:

> [@Sweeps along curve with different profile families](https://forum.dynamobim.com/t/sweeps-along-curve-with-different-profile-families/8858/14):
>
> @Mohammadz , This is possible to achieve. Here’w one way you can do it: [multiple profile solid loft.dyn](https://forum.dynamobim.com/uploads/short-url/qBFZky6pRne228TLTpEfaI8YVbN.dyn) (12.2 KB) Since you have a big number of elements, I thought it would be beneficial to avoid having to select them… In the screenshot above you can see that the script makes one path from all the reference curves and sorts the profiles along that path automatically. Now if you try this with the .Rfa you posted in your previous post, it wont work because your profiles are not on t…

> [@Align the origin of a profile in on a new coordinate system](https://forum.dynamobim.com/t/align-the-origin-of-a-profile-in-on-a-new-coordinate-system/9967):
>
> Hi all, I randomly created a nurbs curve(3D) with points, and a rectangle(Profile) on world coordinate system. I want to make a solid sweep along this curve. I pulled this profile from WCS to the endpoint plane. But I found it is not orienting correctly as shown in the picture. I know it is possible to put the rectangle profile on the endpoint plane directly, but what I would like to do is to get the polycurve from a Revit profile family, that I must pull it from the WCS xy plane to the end po…

---

<div class="post-metadata">

**Author:** ![Thomas\_Mahon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/thomas_mahon/32/64209_2.png) [@Thomas\_Mahon](https://forum.dynamobim.com/u/Thomas_Mahon)\
**Post date:** [August 24, 2017, 9:34am UTC](https://forum.dynamobim.com/t/sweep-along-the-curve-with-the-perpendicular-profile-to-base-plane/14246/3 "2017-08-24T09:34:09Z")

</div>

If you know Generative Components or Grasshopper, my advice would be, do this there as Dynamo has a very basic geometry engine which is really in its infancy. Otherwise, read this. I post a solution at the end:

> <https://github.com/DynamoDS/Dynamo/issues/6694>
