Shape construction

Does anyone know how to construct this shape in gh?

Please upload what you have already. Internalise into a .gh file.

As a general guide, I’d focus on determining the medial axis.

The whole process could be roughly as follows:

  1. Draw a flat outline of the shape you’re interested in.
  2. Use the medial axis/emboss shape methods to obtain the 3D geometry.
  3. Depending on whether the 3D geometry is Brep or Mesh, use the appropriate method to cut off the top using solid difference.
  4. Convert the geometry to a mesh. You may need to apply some remeshing to obtain a fairly dense and uniform mesh.
  5. Apply mesh smoothing methods.

The most difficult step is step 2, but I think you can successfully use some of the methods created by Laurent Delrieu.