# Line: Perpendicular from curve

**URL:** <https://discourse.mcneel.com/t/line-perpendicular-from-curve/18650>\
**Category:** Rhino for Windows\
**Created:** [April 7, 2015, 12:51pm UTC](https://discourse.mcneel.com/t/line-perpendicular-from-curve/18650 "2015-04-07T12:51:35Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![rainadil](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/rainadil/32/5524_2.png) [@rainadil](https://discourse.mcneel.com/u/rainadil)\
**Post date:** [April 7, 2015, 12:51pm UTC](https://discourse.mcneel.com/t/line-perpendicular-from-curve/18650/1 "2015-04-07T12:51:35Z")

</div>

When I am running this command, I am usually using it as from “PointOnCurve”.  
And then sometimes it works correct, but most of the time - not.  
Even thou I am sure that curve is planar.  
It works normally if not picking “PointOnCurve” option.  
Does anyone else experiencing this? Maybe I am doing something wrong?

---

<div class="post-metadata">

**Author:** ![Helvetosaur](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/helvetosaur/32/635974_2.png) [@Helvetosaur](https://discourse.mcneel.com/u/Helvetosaur)\
**Post date:** [April 7, 2015, 1:31pm UTC](https://discourse.mcneel.com/t/line-perpendicular-from-curve/18650/2 "2015-04-07T13:31:22Z")

</div>

When you say “not working correctly”, what are the symptoms? --Mitch

---

<div class="post-metadata">

**Author:** ![rainadil](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/rainadil/32/5524_2.png) [@rainadil](https://discourse.mcneel.com/u/rainadil)\
**Post date:** [April 7, 2015, 2:33pm UTC](https://discourse.mcneel.com/t/line-perpendicular-from-curve/18650/3 "2015-04-07T14:33:28Z")

</div>

As usually I forgot to mention it. Sorry.  
It just “fly” freely around, even thou planar mode is active. Not only in XY projection but in XYZ.

---

<div class="post-metadata">

**Author:** ![pascal](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pascal/32/479395_2.png) [@pascal](https://discourse.mcneel.com/u/pascal)\
**Post date:** [April 7, 2015, 3:07pm UTC](https://discourse.mcneel.com/t/line-perpendicular-from-curve/18650/4 "2015-04-07T15:07:09Z")

</div>

`Ortho` should constrain the line the way you are looking for, I think.

-Pascal

---

<div class="post-metadata">

**Author:** ![rainadil](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/rainadil/32/5524_2.png) [@rainadil](https://discourse.mcneel.com/u/rainadil)\
**Post date:** [April 7, 2015, 3:39pm UTC](https://discourse.mcneel.com/t/line-perpendicular-from-curve/18650/5 "2015-04-07T15:39:33Z")

</div>

it kinda does 😄  
Thank you, Pascal

---

<div class="post-metadata">

**Author:** ![jeff\_hammond](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/jeff_hammond/32/768846_2.png) [@jeff\_hammond](https://discourse.mcneel.com/u/jeff_hammond)\
**Post date:** [April 7, 2015, 4:35pm UTC](https://discourse.mcneel.com/t/line-perpendicular-from-curve/18650/6 "2015-04-07T16:35:05Z")

</div>

> [@rainadil](#):
>
> As usually I forgot to mention it. Sorry.  
> It just “fly” freely around, even thou planar mode is active. Not only in XY projection but in XYZ.

yep, it does that instead of staying planar to cplane as sometimes expected.

for setting the second point, reference other geometry to determine which direction the perp line will be drawn. (near snap may come in handy for it).

can you show a typical situation where you’re having problems drawing the perpendicular line?

---

<div class="post-metadata">

**Author:** ![rainadil](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/rainadil/32/5524_2.png) [@rainadil](https://discourse.mcneel.com/u/rainadil)\
**Post date:** [April 7, 2015, 6:25pm UTC](https://discourse.mcneel.com/t/line-perpendicular-from-curve/18650/7 "2015-04-07T18:25:44Z")

</div>

jeff\_hammond,  
of course I could use reference geometries. I could build a tangent line first and than rotate it 90 degres.  
But why use so much commands if there is one instead.

---

<div class="post-metadata">

**Author:** ![jeff\_hammond](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/jeff_hammond/32/768846_2.png) [@jeff\_hammond](https://discourse.mcneel.com/u/jeff_hammond)\
**Post date:** [April 7, 2015, 7:19pm UTC](https://discourse.mcneel.com/t/line-perpendicular-from-curve/18650/8 "2015-04-07T19:19:28Z")

</div>

i meant reference something already in the model…

for instance, if i want to draw a perpendicular line on the plane of this arc, i can set my cursor on the arc and the perp line will go in the proper direction:

![](https://sea3.discourse-cdn.com/mcneel/uploads/default/18486/e8160006cedf56b6.png)

* * *

if i want the line perpendicular from the curve on a plane parallel to the cplane, i push the shift key (to engage ortho)…

![](https://sea3.discourse-cdn.com/mcneel/uploads/default/18487/748143be4ef69227.png)

* * *

if i want it to go in some other direction, i’d need to do some temp geometry to define the plane… because a perpendicular line can be drawn in any direction within the whole 360º of the point… you have to somehow tell it which direction to go… either using ortho, existing geometry, or temporary geometry… (or maybe some other method depending on what exactly you’re trying to accomplish… if you show a situation you’re having problems getting it to work right, i’m sure if you upload the example here- someone will be able to be more specific to the situation)

---

<div class="post-metadata">

**Author:** ![rainadil](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/rainadil/32/5524_2.png) [@rainadil](https://discourse.mcneel.com/u/rainadil)\
**Post date:** [April 9, 2015, 5:24am UTC](https://discourse.mcneel.com/t/line-perpendicular-from-curve/18650/9 "2015-04-09T05:24:13Z")

</div>

I think I didn’t understood the concept of this option from the beginning.  
But now as jeff\_hammond explained it - now I get it.  
Thank you

---

<div class="post-metadata">

**Author:** ![jeff\_hammond](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/jeff_hammond/32/768846_2.png) [@jeff\_hammond](https://discourse.mcneel.com/u/jeff_hammond)\
**Post date:** [April 9, 2015, 6:16am UTC](https://discourse.mcneel.com/t/line-perpendicular-from-curve/18650/10 "2015-04-09T06:16:25Z")

</div>

it might also be important to point out that all of the red lines in the following image are perpendicular to the point on the arc… (plus the infinite amount of lines that could fit in between these ones ;).)… so yeah, in some form or another, you have to tell rhino which one you want it to draw.

![](https://sea3.discourse-cdn.com/mcneel/uploads/default/18615/3aff70de1a1e0b6c.png)

---

<div class="post-metadata">

**Author:** ![rainadil](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/rainadil/32/5524_2.png) [@rainadil](https://discourse.mcneel.com/u/rainadil)\
**Post date:** [April 9, 2015, 6:34am UTC](https://discourse.mcneel.com/t/line-perpendicular-from-curve/18650/11 "2015-04-09T06:34:42Z")

</div>

Thanks jeff\_hammond 👍
