# Pipe variables

**URL:** <https://discourse.mcneel.com/t/pipe-variables/76648>\
**Category:** Grasshopper\
**Created:** [December 23, 2018, 1:38pm UTC](https://discourse.mcneel.com/t/pipe-variables/76648 "2018-12-23T13:38:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![giusseppe](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/giusseppe/32/643377_2.png) [@giusseppe](https://discourse.mcneel.com/u/giusseppe)\
**Post date:** [December 23, 2018, 1:38pm UTC](https://discourse.mcneel.com/t/pipe-variables/76648/1 "2018-12-23T13:38:50Z")

</div>

I understand how to link a curve to the pipe command in grasshopper and use a slider to vary the overall radius but cannot work out how to set up variable values for start and end radii and radii on other points on the curve. Can someone help please…possibly point me to where this is described in detail  
thanks  
Giusseppe

---

<div class="post-metadata">

**Author:** ![603419608](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/603419608/32/487406_2.png) [@603419608](https://discourse.mcneel.com/u/603419608)\
**Post date:** [December 23, 2018, 1:47pm UTC](https://discourse.mcneel.com/t/pipe-variables/76648/2 "2018-12-23T13:47:00Z")

</div>

Hi Giusseppe  
You can use the “Pipe Variable” component like this

 ![QQ%E6%88%AA%E5%9B%BE20181223214624](https://global.discourse-cdn.com/mcneel/original/3X/4/e/4e611a4da356c37935c7b18d4b0ab67263d9d8ef.jpeg)

---

<div class="post-metadata">

**Author:** ![giusseppe](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/giusseppe/32/643377_2.png) [@giusseppe](https://discourse.mcneel.com/u/giusseppe)\
**Post date:** [December 23, 2018, 2:17pm UTC](https://discourse.mcneel.com/t/pipe-variables/76648/3 "2018-12-23T14:17:40Z")

</div>

thank you…how did you define the points 0,1,2 ? I mean, how are they linked to points in rhino ?

I assume the lists of values have to be typed in manually in order to change …is there a way to attach a slider to each end point and to other points so that I can both vary radii and move the points along the curve and get visual feedback of the changing bulges?

---

<div class="post-metadata">

**Author:** ![giusseppe](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/giusseppe/32/643377_2.png) [@giusseppe](https://discourse.mcneel.com/u/giusseppe)\
**Post date:** [December 23, 2018, 2:54pm UTC](https://discourse.mcneel.com/t/pipe-variables/76648/4 "2018-12-23T14:54:53Z")

</div>

Actually I cannot find how you made the value lists…yellow boxes…would you mind posting the grasshopper file so that I can work out what you did please…I am on a mac and some of the grasshopper tutorial videos seem to show things that I cannot do on the mac…like use the space bar to bring up the circle of commands

---

<div class="post-metadata">

**Author:** ![giusseppe](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/giusseppe/32/643377_2.png) [@giusseppe](https://discourse.mcneel.com/u/giusseppe)\
**Post date:** [December 23, 2018, 3:40pm UTC](https://discourse.mcneel.com/t/pipe-variables/76648/5 "2018-12-23T15:40:02Z")

</div>

Thanks for the feedback….I cannot work out how you made the lists…what is the name of the yellow boxes

---

<div class="post-metadata">

**Author:** ![603419608](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/603419608/32/487406_2.png) [@603419608](https://discourse.mcneel.com/u/603419608)\
**Post date:** [December 23, 2018, 3:55pm UTC](https://discourse.mcneel.com/t/pipe-variables/76648/6 "2018-12-23T15:55:40Z")

</div>

> [@giusseppe](#):
>
> yellow boxes

Yellow boxes is panel component.  
my gh file:  
[pipe.gh](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/0/f/0f784b4454c82581fb8e80530f7323d82163544d.gh) (5.4 KB)

---

<div class="post-metadata">

**Author:** ![giusseppe](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/giusseppe/32/643377_2.png) [@giusseppe](https://discourse.mcneel.com/u/giusseppe)\
**Post date:** [December 23, 2018, 4:15pm UTC](https://discourse.mcneel.com/t/pipe-variables/76648/7 "2018-12-23T16:15:24Z")

</div>

thank you so much…this is exactly what I wanted…now I just have to work out how to do it myself
