algorithmic modeling for Rhino
I have a question regarding referencing faces of geometry in Python.
I wanted to reference the face of the geometry so that if an a line or vector is near the face of the surface, the surface will be identified as surface A.
So, what I did in Python is have a brep as an input and then deconstructing the brep into faces. But I'm not too sure on how to set the conditions. At first I thought of finding the distance of the face and the vector/line. But the distance command in Python can only search the distance between 2 points. Can someone give me a suggestion regarding this? Thank you. I would appreciate your help.
I see, thank you very much for your advice. It's very helpful and I am able to do it now.