Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

Brep
Curve
Utilities
Vector

Multi-threaded mesh-ray intersection with bounding box check

Inputs

NameIDDescriptionType
MeshesMMeshes as list. Do not join disjointed meshes if computing bounding boxes for fastest calculations.Mesh
Ray StartPStart point of ray. Each list acts as a bucket calculated on a single thread.Point
Ray DirectionVDirection of ray. Each list acts as a bucket calculated on a single thread.Vector

Outputs

NameIDDescriptionType
HitHBoolean indicating hit or missBoolean
Collision IndexIIndex of mesh which the ray colides withInteger
Ray ParameterTDistance to nearest intersection. -1 on missNumber

Site design © Robin Rodricks.   Sasquatch and associated data © 2022 Scott Overall, SHoP Architects.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service