Grasshopper freezes

Hello,

I’m having an issue with my Grasshopper script. When I connect my custom plane to the “normal” input of the “Circle CNR” component, the script freezes and doesn’t recover. (even after hours it remains frozen)

I had the same problem with another component, and when I flatten and simplify it, it worked much faster. In this case, flatten and simplify do not work. Could you please let me know if there’s a way to make it run faster or if there’s another issue causing the problem?

I’ve attached the script for your reference.

Thank you for your help.

Best regards,

Hi Eleni -

You’ve attached an image, not a script.

How many planes are you feeding into the circle component?
-wim

Thank you for your response,
Just one plane.
The rhino and gh files are here:
palazzo_lavoro_final_9.gh (69.9 KB)
palazzo_lavoro_final_8.3dm (2.1 MB)

Hi Eleni -

I shouldn’t been needing a Rhino file. Please make sure to read and understand Help Us Help You - #4

You are using a 3rd party plug-in:

Apart from that, there is no plane input to the circle component:

Please post only a Grasshopper file where the circle inputs have been internalized.
-wim

I am sorry I am new to grasshopper,

In this file my custom plane is connected to “normal”, but when I set the “points” component to the points in my rhino file, that’s when it stops working.
Thank you for your time,

for forum.gh (27.7 KB)

Hi Eleni -

Here’s a file with only the circle component and its inputs internalized:
Eleni - Circles Only.gh (125.5 KB)

That creates 12 160 circles and is computed in 13 ms on my system.
This test shows that it’s not that component that is the bottleneck in your code, but something downstream from here. You should test with a smaller dataset first and have the profiler widget turned on to identify places that take a long time to compute.
-wim

Thank you very much for your time,
I did the grasshopper from scratch and I connected it with a much smaller surface in Rhino, and it worked. Although, still when I connect it with the facade of the building it freezes.

Hi Eleni -

Have you check the Windows Task Manager? I’m sure you’ll see that Rhino/Grasshopper is hard at work, not frozen. I didn’t take a close look downstream in your definition but I saw Boolean operations. It’s not hard at all to make a definition in Grasshopper that will take days or weeks to complete.
-wim

Thank you very much for your time, I really appreciate it.