Help with designing Parametric Bottle – Offset and Constraints

Hello everyone,

I’m working on a project in Grasshopper and need some help with creating a parametric bottle. The idea is to make the diameters and heights of different sections variable, while maintaining fixed weight and volume constraints. The problem I’m facing is that when I apply offsets to generate the wall thickness or try filleting the edges, I encounter errors preventing me from getting a closed volume.

Here’s a more detailed breakdown:

  • Variable Parameters:
    • Diameters (7 total): base, bottom of the body, top of the body, bottom of the neck, top of the neck, bottom of the top, and top of the top.
    • Heights corresponding to each of these diameters.
    • Wall thickness.
  • Fixed Constraints:
    • Weight and volume.

Additionally, I’ve tried using a cross-section and revolving the shape, but since I need to fillet all the edges, I’ve run into problems here too.

I would appreciate any suggestions on how to fix the offset and filleting issues and make sure I can create a properly closed volume that respects the constraints.

I’ve attached a minimal version of my Grasshopper file with relevant components.

Thanks in advance for your help!
Desenvolvimento 1.1.gh (13.6 KB)
Desenvolvimento 1.2.gh (17.6 KB)
New development.gh (15.1 KB)
Desenvolvimento 2.1.gh (20.4 KB)

Some ideas:

I get a nice result using Pufferfish Offset Brep:

Alternatively you can offset your curve and use that to revolve the outside of your bottle then merge with the rest:

bottle.gh (19.5 KB)

1 Like