Hi guys,
I have a certain Brep (grey) as shown in below picture, from which I am subtracting the red Brep.
The boolean difference works well and the resulting Brep is valid. But when I save Rhino file and open again, the same Brep is invalid.
I also tried writing a command, which converts this Brep into byte array, and deserialize the bytes back to Brep, and the deserialized Brep is invalid.
I assume there is something wrong with either serialization or deserialization of the brep.
I have attached the 3dm file with the breps and also the code.
@dale is this something you could help with?
TestFiles.zip (2.5 MB)