How to get the nearest polygon face and height of intersection point

I have multiple 3D polygons meshes (sketchup format) in the world, for any specified point (x,y,z), how do I get the direct closest polygon face below this point? and how to get the height for the projected intersection point on the face?

Can someone point me the direction how to get started?

@JianyunLi

Without knowing exactly what you are trying to achieve, I would think the Raytest method in the SketchUp API is a good start. This method is used in many of the extensions to drop components onto a surface.

CD

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.