Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Size of the BREP representation.

Jean-Yves Brud's picture

I would like to save the BREP representation of a shape.

I just need to create a ostream on a buffer.
But to create the buffer, I need a size (in bytes).

Is it possible to know the size of the BREP representation of a shape before saving it ?

And a small additionnal question: What is the difference between BRepTools::Write() and BRepTools::Dump() ?

Thank you all for ideas.