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

A question: How to make CurveIntersection inside GHpython?

$
0
0

An error occurred when I tired to make curve intersection in GHpython. Can any kind person help me?
The code is as follows:

import rhinoscriptsyntax as rs
import ghpythonlib.components as ghcomp

intersection = ghcomp.RegionIntersection(R1 , R2)
out = intersection

The error is as follows:

Warning: Region Intersection: input 1 curves_a. error: Data conversion failed from Guid to Curve
Warning: Region Intersection: input 2 curves_b. error: Data conversion failed from Guid to Curve
Warning: Region Intersection: solver component. error: Data conversion failed from Guid to Curve
Warning: Region Intersection: solver component. error: Data conversion failed from Guid to Curve

6 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 5745

Trending Articles