# 关于gh曲线偏移和rhino里曲线偏移结果不一致的问题

**URL:** <https://cn.discourse.mcneel.com/t/gh-rhino/1088>\
**Category:** Rhino for Windows\
**Created:** [2017年二月17日 05:08 UTC](https://cn.discourse.mcneel.com/t/gh-rhino/1088 "2017-02-17T05:08:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gaudi](https://sea3.discourse-cdn.com/mcneel/user_avatar/cn.discourse.mcneel.com/gaudi/32/1304_2.png) [@Gaudi](https://cn.discourse.mcneel.com/u/Gaudi)\
**Post date:** [2017年二月17日 05:08 UTC](https://cn.discourse.mcneel.com/t/gh-rhino/1088/1 "2017-02-17T05:08:08Z")

</div>

大神们好，是这样的，我有一个图形，用GH偏移出来的结果和Rhino偏移出来的结果不一致，请教一下应该如何解决？（图中红色部分是GH偏移出来的，中间绿色部分是Rhino偏移出来的）

 ![](https://discourse-cdn-aws1.com/mcneel/uploads/mcneel_cn/original/2X/e/e8f0274bc3d4d7269539ac34603901fa8f2fb7be.png)

---

<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:** [2017年二月18日 12:39 UTC](https://cn.discourse.mcneel.com/t/gh-rhino/1088/2 "2017-02-18T12:39:04Z")

</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:** [2017年二月19日 14:48 UTC](https://cn.discourse.mcneel.com/t/gh-rhino/1088/3 "2017-02-19T14:48:49Z")

</div>

您好：

请提供则个文件给我方便我测试谢谢！

---

<div class="post-metadata">

**Author:** ![Gaudi](https://sea3.discourse-cdn.com/mcneel/user_avatar/cn.discourse.mcneel.com/gaudi/32/1304_2.png) [@Gaudi](https://cn.discourse.mcneel.com/u/Gaudi)\
**Post date:** [2017年二月23日 01:57 UTC](https://cn.discourse.mcneel.com/t/gh-rhino/1088/5 "2017-02-23T01:57:56Z")

</div>

[gh、rh偏移线不一样的情况.gh](https://discourse-cdn-aws1.com/mcneel/uploads/mcneel_cn/original/2X/6/6339f4fbf467b89f49c02f470550491c6873731a.gh) (34.5 KB)  
[GH、RH偏移不一致的线.3dm](https://discourse-cdn-aws1.com/mcneel/uploads/mcneel_cn/original/2X/a/a28157a6e62465c2427094e07fd00d5aad77d660.3dm) (162.5 KB)

---

<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:** [2017年二月28日 01:17 UTC](https://cn.discourse.mcneel.com/t/gh-rhino/1088/6 "2017-02-28T01:17:40Z")

</div>

你好：

我测试过了文件，您给出的这种曲线的造型按照正常的曲线offset的逻辑来说本来就不能够做到2mm的偏移，因为曲线本身会发生自交的情况。  
当偏移曲线发生了自交应该如何处理并没有明确的定义，可能在不同的需求下用户需要不同的效果，所以很难说怎么样是正确的。  
gh的offset我会去提一些我认为对用户比较有用的处理方法的建议，或许会增加几种不同的应对这宗情况时候的处理办法。谢谢你的报告！
