Quantcast
Viewing all articles
Browse latest Browse all 5793

How to remove self-intersections on non-planar curve using Rhinoscript

Hi everyone

I am quite new to Rhino and I am trying to create a surface from a non-planar curve. The problem is that I need the surface to be bigger than the curve by a certain offset (I’ve been using 2mm), so I cannot just use Patch with Trim.
I have used the command OffsetCrvOnSrf to make a curve slightly bigger than the original one on my surface, however since the curve is quite complex the larger curve has many self-intersections.

Is there an easy way to create the surface without removing the self-intersections by e.g. using the boundary of the curve, if there is such a thing? Or does anyone know how to remove the self intersections automatically using python and rhinoscriptsyntax? I need to repeat the same procedure on many curves so it would be cool to have it automatic and independent of size.

I have attached an example rhino file as well as the code I use to create the curves. The example layer in the Rhino file has a surface that I made by hand of how I need it to look.

I am also new to these forums so if I have not provided all the required information I apologize.
I would appreciate any help! Image may be NSFW.
Clik here to view.
:slight_smile:
Thanks!

example_surface.3dm (4.0 MB)
example_script.py (4.3 KB)

7 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5793

Trending Articles