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

Identify self-intersecting curves without adding points to Rhino Document

$
0
0

@Bianchi wrote:

With reference to this previous post on an unsupported command for detecting self-intersecting curves, I’d like to do the same thing but without adding any points to the Rhino Document. I would just need a True/False output (True - there is a self-intersection, False - there is none), and no other outputs (the unsupported command adds points to the intersection locations, and this is not necessary for my script).

I am aware that I can run the command using the rs.Command(macro) function. While this does return a True/False based on the existence of the intersections, I cannot retrieve the points added to the intersections. Is there a Python scripting way to go about this (I’m completely only scripting in the RhinoPython editor)? What other workarounds are possible?

Posts: 6

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 5892

Trending Articles