Region Union problems

Hello guys,
image
I have these 3 districts , each district has 10 plots. each plot is formed from 2 regions, one surface that creates the 3 offsetted rectangle and the other region is the inner curve that share one courtyard.
image
The data of this geometry is distributed this way. 30 plots, each plot is 1 branch and each branch has 2 items ( the 2 regions I specified in the 1st image)


when I use the region union to make each 2 items one big closed curve, most of them work fine but some (the contoured in red line on the image) does not work and make a weird curve.

Weirdly though , when I choose the branch alone (the one that didn’t work in the region union 3rd image) and explode the list using list item and choose each curve alone and merging them together it works.

Is there a way do make this work on all the branches?
Region union problem-01.gh (32.2 KB)

this is what I see when I open your definition on Version 8 SR9 (8.9.24171.3001, 2024-06-19)

You need to have TTtoolbox plugin , or just replace the white component with the basic Tree Branch component and go around each branch to check the regions

looks all good to me in Rhino8

Region union problem-01_inno_no_plugins.gh (37.6 KB)

Yes I know that it’s working this way because we are taking each branch individually and making the region union, but it’s not working if you put region union to all the curves from the beginning. Which is what I am not understanding

this is your original GH file opened in my Rhino 7

the problem you illustrate in your screenshot does not appear in your GH file when I open it on Rhino 7 on my machine :upside_down_face:

by the way, if I really do increase the Rhino7 drawing tolerance, these problems arise (which are somehow different from yours)

so I would try to lower the Rhino7 tolerance to 0.01 and recompute the GH script (F5 on windows or right click on canvas → recompute) and see if the problems disappears:

Actually I didn’t realise that the region union for all the curves is working here on rhino 8

It’s not a problem in my rhino tolerance i tried it but the weird thing is that it’s working on ur computer and not mine i dont get it

Which R7 and R8 versions are you running?

If it’s possible to avoid the plugin then why did you use it? :man_facepalming:

because it’s just for showing the specific branch i need to show better than go around and put many components to select the branch by naming {1;1} :grin:
Anything else that can really help the case I am showing ?

I am working on R8 : 8.7.24138.15431, 2024-05-17

I don’t have that plugin and don’t want to install it, so haven’t tried to look at your code at all.

What about Tree Statistics?