I am trying to use rayshoot to detect if the geometry is in a location or not. However, the method is not recognizing the geometery and seems to be using a bounding box. I attached the files and a screenshot of the issue. Is this a bug in the API, or how can I fix it?ray shoot (1).py (557 Bytes)
RayShoot computes point intersections that occur when shooting a ray to a collection of
surfaces. Your object is a trimmed surface or brep so it finds the intersection with the untrimmed surface.
Hi @Mat_S, i guess there is nothing to fix as the method does what it describes in the helpfile. It is possible to write a ShootRay method though, which supports trimmed surfaces and meshes using the available methods in RhinoCommon using Python scripting.