# Sweep not working based on input curves

**URL:** <https://discourse.mcneel.com/t/sweep-not-working-based-on-input-curves/152858>\
**Category:** Grasshopper\
**Tags:** windows, rhino7\
**Created:** [January 4, 2023, 1:49pm UTC](https://discourse.mcneel.com/t/sweep-not-working-based-on-input-curves/152858 "2023-01-04T13:49:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shaikh\_Adnan](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/shaikh_adnan/32/426157_2.png) [@Shaikh\_Adnan](https://discourse.mcneel.com/u/Shaikh_Adnan)\
**Post date:** [January 4, 2023, 1:49pm UTC](https://discourse.mcneel.com/t/sweep-not-working-based-on-input-curves/152858/1 "2023-01-04T13:49:08Z")

</div>

I have attached a Rhino screen-shot of the problem area. Essentially I have a set of curves constructed from points and I need to perform a sweep operation with that selected curves which will be acting as our rails or sections .  
The error is occurring while I am inserting the rails as they sweep in a twisted manner .The arrow in the second image refers here the sweep is not working as required as it gets twisted or gets overlapped with side rail curve .  
Kindly refer if I am missing some crucial step for that error for not to occur  
Any Suggestions appreciated  
Thanks.

 ![Screenshot 2023-01-04 183501](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/9/7/e/97e46527c8a4b8e8f37a9dab21832dd5a74f41e8.jpeg)  
 ![Screenshot 2023-01-04 190319](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/e/4/f/e4f5b57c3c2d9965b4984b76a82957263c185a23.jpeg)

---

<div class="post-metadata">

**Author:** ![Japhy](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/japhy/32/487647_2.png) [@Japhy](https://discourse.mcneel.com/u/Japhy)\
**Post date:** [January 4, 2023, 1:53pm UTC](https://discourse.mcneel.com/t/sweep-not-working-based-on-input-curves/152858/2 "2023-01-04T13:53:57Z")

</div>

Hi Shaikh, I changed the category to Grasshopper.

Do note that you will get quicker, more thorough responses by posting geometry (with grasshopper you can internalize any referenced Rhino geometry by Right Click\>Internalize)

> [@Help Us Help You](https://discourse.mcneel.com/t/help-us-help-you/50034):
>
> Asking questions and getting answers is what this forum is all about. Although people are generally very helpful, there are things you can do to improve your chances of getting good and quick answers. Below you will find some suggestions, but don’t think of them as rules and especially don’t think of them as guarantees. 1. Choose a descriptive title for your post Don’t title your question Help! or I have a problem or Deadline tonight!, but actually describe the problem you are having. 2. Be s…
