Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
JhoelForshav
in reply to: _dscholtes_

Hi @_dscholtes_ 

I agree with you that there's no point in questioning why @shiftctrl.io want to create these planes, it's just a fun challenge :slightly_smiling_face:

 

The reason I don't use the first code is because it will look through all the components in the assembly and get the closest face to the point for each of these components. Then I'd have to add functionality to check which face of multiple parallell faces that should be used. Actually two parallell faces should be used, the ones closest to the point on each side of the point with respect to the face's own normal. Of course it's doable but why create and evaluate proxies of every face in the entire assembly if we don't have to? The code would be a complete mess and also unnessecarily slow :slightly_smiling_face: