Hello, hope you are having a great day!
I am having some issues with data matching and was wondering if someone could help me out
I have two sets of data:
1 set of horizontal circles
1 set of vertical curves. The vertical curves are in the centre of the circles
Essentially the script is taking a geometry, and scaling the geometry in 3 dimensions
Y: Following the length of the vertical curve
XZ: Following the diameter of the circle (matching against a bounding box on the geometry and taking the bottom surface of the box - middle point of one edge to the opposite as diameter - in order to scale)
The issue with this data is that I can’t seem to make it pair the circle and vertical curve correctly.
In the image below you can se how the geometry is not scaling correctly in the XY, so it seems like the vertical curve and the circles are not matched correctly.
The original data had a correct match, and once I removed some pairs, the data seemed to get a bit shuffled and I am unsure how to rearrange it.
Does anyone have a suggestion of how I can make this work?
(The geometry is quite far away from 0,0,0 in the GH file, easiest to bake an element and ZEA, sorry!)
Data matching issues - reduced and internalized GH file.gh (130.2 KB)