Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5834

Variable Curve.OffsetOnSurface

$
0
0

Documentation states that since Rhino 5 there is an overload method to offset a crv on a surface, by variable distances:

https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Curve_OffsetOnSurface_2.htm

@piac , @dale , @stevebaer Is it possible to provide a small sample code? C#/VB/python?

What I am struggling to understand is ‘curveParameters’ array input.

Attached is an example surface with its border crv.
srf_example.3dm (31.9 KB)

As a workaround I can use the basic method and offset each crv’s segment individually, then split it with other segment offsets in order to get the final offset of the initial crv. But I am interested if this can be done instead with the upper overload.

Thank you in advance for any help.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5834

Latest Images

Trending Articles



Latest Images