Smaller B-Rep

I loaded a file which was a list of three doubles for point co-ordinates and then those points were referenced by index to describe the faces. This was a small ~200 KB file. However, when I loaded it up and sewed a shell together with all this and saved the resulting topo shape as a brep, I got a ~17 MB file. What could be the problem? Can the file be saved in a more compact format?

Kirill Gavrilov's picture

Any file / script samples to reproduce observed results?

DKGH's picture

One way of getting shape from points is mentioned in this thread: https://dev.opencascade.org/content/generating-and-reading-brep-files. I am using the same approach.