# 用Grasshopper建立曲線切線雙邊垂直線

**URL:** <https://cn.discourse.mcneel.com/t/grasshopper/637>\
**Category:** Grasshopper\
**Created:** [2015年五月4日 00:48 UTC](https://cn.discourse.mcneel.com/t/grasshopper/637 "2015-05-04T00:48:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jyhjeng\_Deng](https://avatars.discourse-cdn.com/v4/letter/j/ecc23a/32.png) [@Jyhjeng\_Deng](https://cn.discourse.mcneel.com/u/Jyhjeng_Deng)\
**Post date:** [2015年五月4日 00:48 UTC](https://cn.discourse.mcneel.com/t/grasshopper/637/1 "2015-05-04T00:48:14Z")

</div>

你好:

可否請教一個grasshopper的技術問題。  
我需要在一個曲線作divide，長度每0.6mm放置一個點，  
並且，在每個點上作切線的雙邊垂直線，長0.3mm，  
由於該曲線有100多個點，我需要一個grasshopper程式重複這個動作，  
請問要如何做？請參考vedio clip.

鄧志堅 敬上[bear-02.3dm](https://sea3.discourse-cdn.com/mcneel/uploads/mcneel_cn/709/23a39365e2497901.3dm) (87.0 KB) [Grasshopper-01.mp4](https://sea3.discourse-cdn.com/mcneel/uploads/mcneel_cn/710/cd671cd0acc10059.mp4) (7.8 MB)

---

<div class="post-metadata">

**Author:** ![KelvinC](https://sea3.discourse-cdn.com/mcneel/user_avatar/cn.discourse.mcneel.com/kelvinc/32/3391_2.png) [@KelvinC](https://cn.discourse.mcneel.com/u/KelvinC)\
**Post date:** [2015年五月4日 00:52 UTC](https://cn.discourse.mcneel.com/t/grasshopper/637/2 "2015-05-04T00:52:00Z")

</div>

@dixon 請你看一下這個問題。

---

<div class="post-metadata">

**Author:** ![dixon](https://sea3.discourse-cdn.com/mcneel/user_avatar/cn.discourse.mcneel.com/dixon/32/2309_2.png) [@dixon](https://cn.discourse.mcneel.com/u/dixon)\
**Post date:** [2015年五月4日 11:39 UTC](https://cn.discourse.mcneel.com/t/grasshopper/637/3 "2015-05-04T11:39:29Z")

</div>

Jyhjeng\_Deng：

如果您有一点grasshopper的使用基础，那么您试着打开我给您写的gh文件并被阅读编写思路，如果有任何问题请再与我联系，谢谢！  
这里可以下载gh文件 [分段垂直线.gh](https://sea3.discourse-cdn.com/mcneel/uploads/mcneel_cn/711/3d9e26dd8ab748e5.gh) (10.6 KB)

---

<div class="post-metadata">

**Author:** ![anon667555](https://sea3.discourse-cdn.com/mcneel/user_avatar/cn.discourse.mcneel.com/anon667555/32/3067_2.png) [@anon667555](https://cn.discourse.mcneel.com/u/anon667555)\
**Post date:** [2015年五月5日 03:13 UTC](https://cn.discourse.mcneel.com/t/grasshopper/637/4 "2015-05-05T03:13:18Z")

</div>

[test.gh](https://cn.discourse.mcneel.com/uploads/mcneel_cn/719/c3a7f1e7d3df158d.gh) (7.9 KB)

![](https://sea3.discourse-cdn.com/mcneel/uploads/mcneel_cn/718/96bbb6df3f80d126.png)

---

<div class="post-metadata">

**Author:** ![Jyhjeng\_Deng](https://avatars.discourse-cdn.com/v4/letter/j/ecc23a/32.png) [@Jyhjeng\_Deng](https://cn.discourse.mcneel.com/u/Jyhjeng_Deng)\
**Post date:** [2015年六月1日 00:50 UTC](https://cn.discourse.mcneel.com/t/grasshopper/637/5 "2015-06-01T00:50:29Z")

</div>

Dixon:

Grasshopper的程式終於懂得如何使用了。  
謝謝。

鄧志堅 敬上
