Problem project point rhinocommon

I am trying to project a point to a brep with Rhinocommon, but am I doing wrong?
Thank you for your response. :smiley:

problem project point (14.9 KB)

ProjectPointsToBreps needs a list of Breps and a list of Point3ds to work properly.

import Rhino.Geometry as rg
import scriptcontext as sc
tolerance = sc.doc.ModelAbsoluteTolerance
a =rg.Intersect.Intersection.ProjectPointsToBreps([x],[y[0]],y[1],tolerance) (18.0 KB)

1 Like