I think I must have asked this once before on the GH Forum, but I’ll throw it out here again… Just looking for a “cheap” way to make meshes from largish pointclouds in Rhino via GH… But there is no component that seems able to reference a pointcloud object. Even the GeometryPipeline refuses…
What I found I can do is script a Python component to get ALL the pointclouds in the document, then with an integer I can “scroll” through the list and see which one is activated:
import Rhino
import rhinoscriptsyntax as rs
if objN == None: objN=0
otype=Rhino.DocObjects.ObjectType.PointSet
objs=Rhino.RhinoDoc.ActiveDoc.Objects.FindByObjectType(otype)
pts=rs.PointCloudPoints(objs[objN])
But this is kind of a kludge… Shouldn’t there be a pointcloud parameter component to reference pointcloud objects in Rhino?
I also can simply do the whole thing in Python by importing the grasshopper component Delaunay… But still think this should be possible in GH.
Thx,
–Mitch