# Sweep not working

**URL:** <https://discourse.mcneel.com/t/sweep-not-working/185016>\
**Category:** Grasshopper\
**Tags:** windows\
**Created:** [June 21, 2024, 12:55pm UTC](https://discourse.mcneel.com/t/sweep-not-working/185016 "2024-06-21T12:55:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aleksander\_Bachrouch](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/aleksander_bachrouch/32/637586_2.png) [@Aleksander\_Bachrouch](https://discourse.mcneel.com/u/Aleksander_Bachrouch)\
**Post date:** [June 21, 2024, 12:55pm UTC](https://discourse.mcneel.com/t/sweep-not-working/185016/1 "2024-06-21T12:55:37Z")

</div>

Hi.  
My sweep doesn’t work and I don’t know the reason.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/e/9/f/e9fd70c1590a931356a66304acd14e490045598a.png)

[sweep\_problem.gh](https://discourse.mcneel.com/uploads/short-url/8NWrM62vFlkYvrV7YPpM6wpSkWD.gh) (5.1 KB)

---

<div class="post-metadata">

**Author:** ![xy236](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/xy236/32/502825_2.png) [@xy236](https://discourse.mcneel.com/u/xy236)\
**Post date:** [June 21, 2024, 1:03pm UTC](https://discourse.mcneel.com/t/sweep-not-working/185016/2 "2024-06-21T13:03:53Z")

</div>

First, make sure your rail curves direction is correct.

It seems that Sweep1 needs one rail curve for every section curve, so you could match the rail curves with ‘Duplicate Data’  
[sweep\_problem\_XY.gh](https://discourse.mcneel.com/uploads/short-url/6GdxQ4pd5jKEO8Wgt0xEiutwXY6.gh) (4.5 KB)

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/b/4/f/b4f8716acbb583f9f3e564d16120b3e4254e2fc9.jpeg)

---

<div class="post-metadata">

**Author:** ![Aleksander\_Bachrouch](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/aleksander_bachrouch/32/637586_2.png) [@Aleksander\_Bachrouch](https://discourse.mcneel.com/u/Aleksander_Bachrouch)\
**Post date:** [June 21, 2024, 1:09pm UTC](https://discourse.mcneel.com/t/sweep-not-working/185016/3 "2024-06-21T13:09:22Z")

</div>

Thank you @xy236!
