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

Part Catalog adds unwanted parts when aggregation is blocked by local constraints #13

Open ar0551 opened 1 year ago

ar0551 commented 1 year ago

When aggregating with a Part Catalog containing some part amounts set to 0, if the aggregation is blocked by local constraints, the algorithm adds unwanted parts which should not be allowed. A check is needed in the PartCatalog.return_weighted_part() function to avoid this.