Running into an error when trying to use opennest

  1. System.NullReferenceException: Object reference not set to an instance of an object.
    at OpenNestLib.OpenNestUtil.BrepLoops(Brep B)
    at OpenNest.OpenNestFullComponentCleanUp.GooToOutlines(List`1 geo_)
    at OpenNest.OpenNestFullComponentCleanUp.SolveInstance(IGH_DataAccess DA)
    Mirza_Rahat_ARC280_Assignment3.gh (79.4 KB)
1 Like

this takes the longest curve of each brep (that in this case is pretty safe to assume will be their outer boundary), nests just those, then applies their transform data to the original surfaces:


Mirza_Rahat_ARC280_Assignment3_Re.gh (84.9 KB)

please note that Tolerance plays a big role as your geometries are very small after scaling

1 Like