Can anyone explain me how to close gaps in my geometry?

Hi, I have made a design of an hourglass, and I gave a rectangular shape on the line to give it a wall thickness and the height of the figure. However, the problem is that at the edge of the design, there are gaps between the two rectangles. I want to join them so there are no open spaces between them. I am trying to understand how to make this work. Can anyone help me?

I appreciate any help you can provide.

Here is the file of the design. Hourglass.gh (29.5 KB)

Hourglass Edited v0.gh (56.1 KB)
Clipper2, Lunchbox

This is a hasty effort, rough around the edges, that demonstrates the idea that you create a surface before extruding.


extrude_2024Oct24a.gh (25.0 KB)

Thank you for your help, i will try and understand how this code works :slight_smile:

Thank you for your help :slight_smile:

This purple group offsets the bounding box surface to get a cleaner result.


extrude_2024Oct24b.gh (27.7 KB)

is there a way to increase the cell size and the repitition of the cell? because i tried to increase the cell sized, but the geometry change as the number increases

Of course :exclamation: Slider ranges need to be increased and I added two ‘Count’ sliders for the ‘N’ inputs of both ArrLinear components. The ‘X Size’ slider connected to Rectangle and the ‘Distance’ sliders connected to Offset Curve and MoveAway must be increased.


extrude_2024Oct24bb.gh (28.0 KB)

The code is not complicated, try to understand all of it.

1 Like