# Problem to pipe a rail curve

**URL:** <https://discourse.mcneel.com/t/problem-to-pipe-a-rail-curve/135822>\
**Category:** Grasshopper\
**Tags:** windows\
**Created:** [January 4, 2022, 6:00pm UTC](https://discourse.mcneel.com/t/problem-to-pipe-a-rail-curve/135822 "2022-01-04T18:00:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![flokart](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/flokart/32/765122_2.png) [@flokart](https://discourse.mcneel.com/u/flokart)\
**Post date:** [January 4, 2022, 6:00pm UTC](https://discourse.mcneel.com/t/problem-to-pipe-a-rail-curve/135822/1 "2022-01-04T18:00:41Z")

</div>

Hi all,

can someone take a look why these 4 curves are not able to pipe in grasshopper.  
[Curve\_pipe.3dm](https://discourse.mcneel.com/uploads/short-url/fZmqNwabqpKDlH0e463mUB6C968.3dm) (138.9 KB)

---

<div class="post-metadata">

**Author:** ![HS\_Kim](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/hs_kim/32/473975_2.png) [@HS\_Kim](https://discourse.mcneel.com/u/HS_Kim)\
**Post date:** [January 4, 2022, 6:22pm UTC](https://discourse.mcneel.com/t/problem-to-pipe-a-rail-curve/135822/2 "2022-01-04T18:22:56Z")

</div>

> [@flokart](#):
>
> why these 4 curves are not able to pipe in grasshopper.

It seems to work fine here.

 ![Canvas at 03;21;05](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/5/2/3/5239eed35d2da33f840971adecc780b72d40ee3d.png)

---

<div class="post-metadata">

**Author:** ![flokart](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/flokart/32/765122_2.png) [@flokart](https://discourse.mcneel.com/u/flokart)\
**Post date:** [January 4, 2022, 8:07pm UTC](https://discourse.mcneel.com/t/problem-to-pipe-a-rail-curve/135822/3 "2022-01-04T20:07:10Z")

</div>

This is really odd i tried it again and it works wtf.  
Befor i got a lot of twists and strainght deformations so i used a c# script with

> **[Brep.CreatePipe Method (Curve, Double, Boolean, PipeCapMode, Boolean, Double,...](https://developer.rhino3d.com/5/api/RhinoCommon/html/M_Rhino_Geometry_Brep_CreatePipe_1.htm)**
>
> Creates a single walled pipe

This method worked in grasshopper but not the default one and now without any change it works…???.  
Anyway thanks for testing.
