Thanks, I’ve attached the part of the file that’s creating the issue. The code is
for (int i = 0; i < WorkingSet.Count; i++)
{ var workingobjA = originalFile.Objects.FindId(WorkingSet[i]);
Brep brepA = Brep.TryConvertBrep(workingobjA.Geometry);
for (int c = 0; c < WorkingSet.Count; c++)
{ if (c != i)
{
var workingobjB = originalFile.Objects.FindId(WorkingSet[c]);
Brep brepB = Brep.TryConvertBrep(workingobjB.Geometry);
bool intersection = Rhino.Geometry.Intersect.Intersection.BrepBrep(brepA, brepB, tolerance, out Curve[] _, out Point3d[] points);
} } }
The tolerance is set to 1e-6. If I reduce the tolerance, it doesn’t find the intersection anymore (but runs through, at least).
Cheers,
Marie
005_03_002_Test Model_V02_bug.3dm (1.4 MB)