Hi, I am trying to get to grips with kangaroo and am looking for some suggestions on how I could adjust a rectangle closed polyline (or mesh) to enclose a series of points. The target should be to get a a closed polyline or mesh with minimum area to still enclose the points.

I ideally would like to anchor the points, so that only one dimension is moved (in this case y), the red rectangle would be the starting point, with the yellow (manually drawn for now) is the sort of output I’m aiming for.

Ultimately I want to recreate for a closed wireframe enclosing points with minimum volume, observing some geometrical constraints such as minimum angles of faces etc. but I’m starting small!