Finding approximate plane

I’m trying to figure out how to use the plane fit component to to find an approximate planes which are parallel to the morphed planes of hexagons so that I can find the normal to them and make extrusions accordingly. Currently all the extrusions are happening in only one axis.

fit plane query.gh (75.5 KB)

I was looking where the planes were being made by drawing circles. They got made to randomized locations and I couldn’t understand why they don’t get made near the hexagons.

fit plane query.gh (80.1 KB)

I suppose that the optimization function that it uses to approximate the plane has to navigate through space to orient itself towards the minimum deviation from all points.

1 Like


SurfaceNormals.gh (66.7 KB)

1 Like

@Dani_Abalde, @Mahdiyar, thanks for providing solutions.