Offsetting Surface - Can't get uniform thickness

Hi all,

I have been working on a script that generates a series of planes on different levels and then joins them together as one surface. I am now wanting to offset the surface to create a solid slab but am having some difficulties. I am guessing this is because I have faces of the surface on different planes (horizontal and vertical).

If I try and use the Offset Surface component, each individual face offsets separately. If I use the Offset Mesh component then I do not get a uniform thickness. In the below screenshot you can see that the red lines between vertexes are a constant distance, but this results in the yellow lines not being parallel in all instances and creating odd junctions.

Any help would be greatly appreciated! :slight_smile:

tempsnip

190422_offset surfaces_WIP.gh (26.8 KB)

If I try and use the Offset Surface component, each individual face offsets separately.

Surface being the keyword, AKA not polysurface or Brep.

If I use the Offset Mesh component then I do not get a uniform thickness.

Because mesh offset offsets the mesh verts a set distance by their normals.

Look into shelling, or if you are feeling risky, offset brep (although that command usually gives not great edge conditions)

You can use this but you need use round edges


offset.gh (25.9 KB)

Hmm, I have used shelling a little bit in Rhino but am not entirely sure how to use it in gh. I’m getting some very odd results when loading my brep into it, any thoughts on what’s going wrong?

190425_shelling slab_WIP.gh (24.3 KB)