Hello,
I am working on a program to draw some company-specific spirals. I found that sometimes my grasshopper crashes (Doesn’t respond). After a couple hours of searching I found the culprit, but I can’t seem to fix it or find out why it actually crashes.
The program crashes when moving the spiral very specific amounts to the X direction. It doesn’t if the Y value is different. I tried fixing it by rounding it to 4 decimal places (the original was 6 or 7 decimal places), which fixes one spiral but creates the bug in another one.
The spiral is made by a lot of arcs, joined and filleted and then piped. The wiggly line is very similar, just a lot of arcs joined and piped. Pipe ends are capped. The balls on either side are just spheres. To relieve some load on the system, I opted for grouping instead of boolean processes.
In the test file I added you can see two exact copies, but mirrored in XY and moved in Y direction. One of them doesn’t crash, the other one does. There is also two values for movement amount. They differ only in the fourth digit. One of them crashes, the other one doesn’t.
Could someone tell me what I’m doing wrong and what might cause the crashes? The values and geometry come from specific calculations and I can’t simply move the entire system in Y direction if it crashes, because I am drawing maybe 60 of these spirals and there’s almost always one that causes crashing.
TEST.gh (627.7 KB)