Rhino 6 and Honeybee Intersect masses issue

rhino-6

#1

Hi,
Why Honeybee_Intersectmasses component doesn’t work and without any error in Rhino 6?
When I use rhino 5 Intersectmasses works fine and split adjacent surfaces between zones in same file.


#2

Illustration between two comparison:

In Rhino 6,


It shows RH 6 intersect mass doesn’t work.

In Rhino 5,

best.


#3

Did you check the tolerance in both documents to be the same?


#4

Hi @mostapha, thank you for the response. Yes, all settings include unit and tolerance in both are the same.


#5

Thanks! Can you share your model? and you input for tolerance. Let me see if I can replicate the issue locally.


#6

I attached both RH 6 and GH files you can find here:
IntersectMass_Hdm01.3dm (80.2 KB)
IntersectMass_Hdm01.gh (475.0 KB)


best.


#7

Hi @mostapha, Have you had a chance to check the issue?

Thanks


#8

No! I realized my Rhino 6 trial version is actually expired. :expressionless:

One suggestion is to try a higher tolerance value. 0.001 should be good enough for any architectural project.


#9

Thank you @mostapha for the response, I tried many types of tolerances after your last reply :smile:
BTW, Until the problem is resolved I can use RH5 in my laptop.
Thanks again.


#10

@mostapha ,

I still have a valid Rhino 6 trial and I’ll see if I can fix this now. The main issue is that Rhinocommon no longer supports the boolean difference method we used previously to find the intersection. It fails to generate the intersection both in our python scripts and using Rhino commands manually. Thankfully, the other code that we have, which splits the surface using the intersection curve still works. I’ll see if I can write one component that will work with both Rhino versions.


#11

I have found a solution that works for both Rhino 5 and Rhino 6 and I have pushed it to the github:

What is perhaps even nicer about this solution is that it is much faster than the previous one and is far less hacky. The only potential downside for the method is that the previous one could sometimes catch cases of curved surfaces that needed to be split. This one can only split planar surfaces and will always leave all curved surfaces un-split. Given that 99% of the interior geometries that we simulate are planar and the fact that we can reliably say what the component does now (whereas the previous curved splitting capabilities were hit-or-miss), I think we will agree that this implementation is an improvement overall.


#12

Great! Thank you @chris and @mostapha!


#13

A post was split to a new topic: Rhino 6 - SplitFloor2ThermalZones


#14

I agree as long as we’re giving a clear warning to user about this limitation once they have non-planar inputs!


#15

@mostapha ,
I can add a warning. Ideally it would be nice if this warning is for the when component fails to make a curved intersection and not when any curved geometry is connected. This may be tough given that the component doesn’t know if a given surface is on the interior or not. Let me see if I can make this work but it will take me some time. If I can’t get it to work, is it still a good idea to give a warning for any curved geometry? I feel like the vast majority of cases with curved geometry are exterior (like a dome).
-Chris


#16

I took a deeper look into this and realized that i could get the new method working for curved surfaces as well as planar surfaces. I also fixed a bug in the way I had implemented the method a few dats agosince it seems Rhino can return a non-planar intersection geometry even when the geometries that are being intersected are completely planar. All updated are recorded in this commit:

…and are available in the version of the components on the github.


#17

Hi @chris, sorry for being here again.
I encountered the same problem again in Rhino 6 doesn’t intersect properly, but in Rhino 5 works fine.
If it possible please check this file:
Intersect problem Again Rhino6.gh (608.2 KB)
Thank you.


#18

@hdimor.mr ,
I opened your file in Rhino 6 and the intersect masses seems to work fine:


Is there something that I am missing?


#19

Thank you @chris for checking out.
Here is my problem the right building is fine, but it does not work in the left building:


and here in Rhino 5:


#20

@hdimor.mr ,
Both buildings are being intersected correctly on my machine. Are you using the latest version of Rhino 6?

If so, what is your Rhino model tolerance? If you changed the tolerance after you made that geometry, it can cause the intersection to fail like this.