Mesh - Edge normal vector

This appears to work like a dream. Thank you very very much :slight_smile:

And yep, it’s frustrating because I definitely love thinking about these kinds of things - maths and geometry and the organisation of data, and I have enjoyed the limited amount of coding I can cope with. But if I can’t see it all in front of me with the flow of data represented visually, it all just fizzles away form my mind like snowflakes in a storm. Believe me I’ve had decades to try!

PS:

They are entirely appropriate for the shapes I’m making :smiley:
(and doing the same thing with surfaces is WAY slower I’ve found)

You need a C# Sensei. Search Yellow Pages (and prepare yourself for some pain).

BTW: the latest C# is still very entry level. For instance clash checks (general case: any Mesh) are MIA etc etc.

Funny to be coming back to this. I just wrote a script that determines the edge normals of a mesh. How was it that you were deciding how to truncate the corners of the offsetted faces?

Quickest answer is to screenshot the relevant pages from my report (the project was for my Masters)

It worked well and let me make this model:

Nice!

But, no, that doesn’t help me. I looked at some of the old script and it seems that there you just used a champfer length that was arbitrarily long enough.

I gave a shot at emulating your script. I managed to circumvent the need for edge vectors by creating offset surfaces with Plane Region:



Newsom Concrete Panels VR 1.gh (53.2 KB)

a component, I have to say, I have never actually used before. :thinking:

Correct. I just found the spot with greatest convexity and adjusted the chamfer till the corners didn’t intersect. Nothing fancy!