No Fly Geometry (offset challenge)

I have Revit geometry from RIR that I need to use to create “no fly zones” geometry. My first instinct is to use my brep curves and offset parallel curves to rebuild surfaces right next to the original geometry. My problem at this point I think is how to discriminate the appropriate curves “automatically”. (first post ever :woozy_face: :rofl:)


Thank you in advance!

Hi and welcome, Francisco -

Always provide the .gh file with all Rhino geometry internalized!

I’m not sure what that means. Is this 2D or 3D geometry? What’s that purple surface for?
Apart from providing the necessary files, clearly describing the problem that needs solving is a prerequisite for getting good answers.
-wim

1 Like

Thank you for you reply!!!

The goal is 3D geometry.

The purple surface is just to show the edges or curves I want to highlight to use. I know there’s many other ways to do this but that’s what I think is the most ideal data to use, because this is just a sample. The real deal is more like a track, so parallel curves are friendlier data for this purpose.

See additional images and definition with internalized geometry for clarity, I hope I’m explaining this better

Offset_Challenge.gh (34.0 KB)
.

Here is one way to do it:


Offset_Challenge_02.gh (35.7 KB)

A few notes:
The set of breps you provided have some duplicates in them. I just split the list to get rid of duplicates.
I’m getting the side surfaces based on the normal. If the main surfaces aren’t flat, this approach will fail / needs to be adapted.
The “end caps” of each brep is filtered by size. Again works in this case, as I assume they will always be a similar size.
I’m using the offset component from Pufferfish as that does a solid offset.

Alright! I have a good couple of new tricks up my sleeve now. Thank you @Bernd_Möller!