# The OffsetCrvOnSrf problem

**URL:** <https://discourse.mcneel.com/t/the-offsetcrvonsrf-problem/64240>\
**Category:** Rhino for Windows\
**Created:** [June 2, 2018, 2:18pm UTC](https://discourse.mcneel.com/t/the-offsetcrvonsrf-problem/64240 "2018-06-02T14:18:34Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Modeler3D](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/modeler3d/32/486828_2.png) [@Modeler3D](https://discourse.mcneel.com/u/Modeler3D)\
**Post date:** [June 2, 2018, 2:18pm UTC](https://discourse.mcneel.com/t/the-offsetcrvonsrf-problem/64240/1 "2018-06-02T14:18:35Z")

</div>

Hello, why does the OffsetCrvOnSrf tool work so strangely?  
[Untitled.3dm](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/9/5/95cf472352dc2b9d169b5b05179e9083a5868f20.3dm) (323.4 KB)

![2018-06-02_171415](https://global.discourse-cdn.com/mcneel/original/3X/7/6/76e5260a0bfffc534df9417dc572fc6e54f92b28.png)  
 ![2018-06-02_171441](https://global.discourse-cdn.com/mcneel/original/3X/7/8/784973480c52c69a57a049a28d6dd79b806ce1e4.png)

---

<div class="post-metadata">

**Author:** ![Andrew\_Nowicki](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/andrew_nowicki/32/60177_2.png) [@Andrew\_Nowicki](https://discourse.mcneel.com/u/Andrew_Nowicki)\
**Post date:** [June 2, 2018, 5:09pm UTC](https://discourse.mcneel.com/t/the-offsetcrvonsrf-problem/64240/2 "2018-06-02T17:09:54Z")

</div>

Try CurveOnSurface plugin. This plugin requires at least version 6.3 of Rhino.

Unlike InterpCrvOnSrf, the curve created with CurveOnSurface is independent of the parametrization of the surface. The curve will tend to go in a straight or direct path instead of following the surface isocurves. In fact, when only two points are specified the curve is the shortest possible path (a geodesic) – the same curve made by the ShortPath command. source: [http://www.food4rhino.com/app/curveonsurface-0](http://www.food4rhino.com/app/curveonsurface-0)

---

<div class="post-metadata">

**Author:** ![Modeler3D](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/modeler3d/32/486828_2.png) [@Modeler3D](https://discourse.mcneel.com/u/Modeler3D)\
**Post date:** [June 3, 2018, 9:50am UTC](https://discourse.mcneel.com/t/the-offsetcrvonsrf-problem/64240/3 "2018-06-03T09:50:43Z")

</div>

No thanks. I’m just interested in this tool.

---

<div class="post-metadata">

**Author:** ![davidcockey](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/davidcockey/32/771921_2.png) [@davidcockey](https://discourse.mcneel.com/u/davidcockey)\
**Post date:** [June 3, 2018, 1:47pm UTC](https://discourse.mcneel.com/t/the-offsetcrvonsrf-problem/64240/4 "2018-06-03T13:47:47Z")

</div>

@Modeler3D The file you uploaded does not have most of the curves in your illustration. You need to upload a file with the input curve and the output curve(s).

Added - What is the significance of the points?

---

<div class="post-metadata">

**Author:** ![Modeler3D](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/modeler3d/32/486828_2.png) [@Modeler3D](https://discourse.mcneel.com/u/Modeler3D)\
**Post date:** [June 3, 2018, 2:41pm UTC](https://discourse.mcneel.com/t/the-offsetcrvonsrf-problem/64240/5 "2018-06-03T14:41:57Z")

</div>

The points on the surface for the ThroughPoint button in the OffsetCrvOnSrf tool.  
But the file with the resulting curves:  
[Untitled2.3dm](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/6/5/651f57e6ef33ce94b8c438341f31feaab8a8608e.3dm) (374.7 KB)

---

<div class="post-metadata">

**Author:** ![davidcockey](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/davidcockey/32/771921_2.png) [@davidcockey](https://discourse.mcneel.com/u/davidcockey)\
**Post date:** [June 3, 2018, 2:52pm UTC](https://discourse.mcneel.com/t/the-offsetcrvonsrf-problem/64240/6 "2018-06-03T14:52:34Z")

</div>

The cause of the bad offset curves is not obvious to me. Perhaps someone from McNeel can respond.

---

<div class="post-metadata">

**Author:** ![Andrew\_Nowicki](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/andrew_nowicki/32/60177_2.png) [@Andrew\_Nowicki](https://discourse.mcneel.com/u/Andrew_Nowicki)\
**Post date:** [June 3, 2018, 4:16pm UTC](https://discourse.mcneel.com/t/the-offsetcrvonsrf-problem/64240/7 "2018-06-03T16:16:54Z")

</div>

There is no problem with the OffsetCrvOnSrf. The outer circle was open - this may have been the source of the problem. Another possible source of the problem is offseting inside with large spacing. When I offset outside (Flip), everything looks OK. I used [Reparameterize](https://docs.mcneel.com/rhino/6/help/en-us/commands/reparameterize.htm) command on the circles and the surface, but I doubt that it mattered.  
[Untitled3.3dm](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/7/7/774979563f1b415338e93a55fb5ec3278194060a.3dm) (359.9 KB)

---

<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:** [June 4, 2018, 2:37am UTC](https://discourse.mcneel.com/t/the-offsetcrvonsrf-problem/64240/8 "2018-06-04T02:37:58Z")

</div>

Hello - my guess of the moment is that the offsetter does not like the rational surface - it works more cleanly on a rebuilt sphere - say 24 by 12 points, degree 5 - that is a very close approximation of the sphere. Because of the way the curves are extended you’ll need to explode the resulting curves and pick out the pieces that make the expected offset.

 ![image](https://global.discourse-cdn.com/mcneel/original/3X/1/4/14a7b259829121110f7ff33cea1de0bdbd2bb100.png)

-Pascal

---

<div class="post-metadata">

**Author:** ![Modeler3D](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/modeler3d/32/486828_2.png) [@Modeler3D](https://discourse.mcneel.com/u/Modeler3D)\
**Post date:** [June 4, 2018, 12:51pm UTC](https://discourse.mcneel.com/t/the-offsetcrvonsrf-problem/64240/9 "2018-06-04T12:51:10Z")

</div>

> [@Andrew\_Nowicki](#):
>
> Another possible source of the problem is offseting inside with large spacing.

Good idea! If I use small offsets, then everything is fine. However, sometimes it may take a lot of clicks for the desired offset.  
 ![2018-06-04_154717](https://global.discourse-cdn.com/mcneel/original/3X/3/e/3ee2982d716915bc2d7e99fcb52d9e410be57263.jpg)

---

<div class="post-metadata">

**Author:** ![Modeler3D](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/modeler3d/32/486828_2.png) [@Modeler3D](https://discourse.mcneel.com/u/Modeler3D)\
**Post date:** [June 4, 2018, 12:57pm UTC](https://discourse.mcneel.com/t/the-offsetcrvonsrf-problem/64240/10 "2018-06-04T12:57:27Z")

</div>

However, here the original curve is already at the edge, and therefore it can be displaced at any distance.  
 ![2018-06-04_155514](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/9/0/908fbad8784f8745bd1c8eae3d0a13179b2926e1.jpg)

---

<div class="post-metadata">

**Author:** ![Modeler3D](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/modeler3d/32/486828_2.png) [@Modeler3D](https://discourse.mcneel.com/u/Modeler3D)\
**Post date:** [June 4, 2018, 1:02pm UTC](https://discourse.mcneel.com/t/the-offsetcrvonsrf-problem/64240/11 "2018-06-04T13:02:13Z")

</div>

Here the curve has crossed the edge calmly, but with increasing distance the curve breaks.

 ![2018-06-04_155934](https://global.discourse-cdn.com/mcneel/original/3X/9/0/902202f44a5b18863d1968c8e06efaf692d11b79.jpg)

---

<div class="post-metadata">

**Author:** ![Modeler3D](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/modeler3d/32/486828_2.png) [@Modeler3D](https://discourse.mcneel.com/u/Modeler3D)\
**Post date:** [June 5, 2018, 2:36pm UTC](https://discourse.mcneel.com/t/the-offsetcrvonsrf-problem/64240/12 "2018-06-05T14:36:40Z")

</div>

So is this Rhino error or is it normal?
