Auto dimension wall distances

I have a series of line segments for which I created a plane on its midpoint:


I would like to place dimension lines between each of the planes and these lines should be along the normal of the planes. Now, I did sort the data so that each branch contains parallel planes, all I need to do is create a dimension between one plane and the next closest plane. Any idea how I could best approach this?
dimension planes.gh (3.0 KB)

Rhino 9 WIP has a new component called Serial Dimension which essentially does exactly this.

If you’re using Rhino 8, then you can do something similar with native components like this.


SimpleFloorPlan.3dm (142.0 KB)
DimensionsBySectionLine.gh (18.0 KB)

3 Likes

Oh that’s nice! When the alias shenanigans are solved in the next WIP, I’ll be sure to check it out.

I’m also thinking about how I can mimic Revit’s quick dimensions:

E: Figured it out, dimensioned by the room outlines and filtered out duplicate dimensions with Closest point and a line length matching.