ar0551 / Wasp

Combinatorial Design with Grasshopper plug-in (LGPL) initiated by Andrea Rossi
https://linktr.ee/gh_wasp
GNU Lesser General Public License v3.0
54 stars 14 forks source link

Tiny hotfix to make support constraints work in Rhino 8 #18

Open fstwn opened 3 months ago

fstwn commented 3 months ago

When using support constraints in Rhino 8 in local constraint mode, the aggregation component throws an IndexError.

This happens during a check_intersection_w_line call in colliders.py. The function checks the is_rh7 constant, which returns False when running in Rhino 8.

I know this is probably not an optimal solution, but the quickest and easiest way to make it work in Rhino 8.