Surface vs BrepFace

What’s the difference between a surface and a BrepFace. I know the Rhino UI uses the term surface while the development environment uses both. Is a surface similar to a brep face? What’s the difference between the two?

It seems like a “Surface” is a general type of object, it’s a ‘base class’ used by most of the other more specific ones. A “brep” is a surface or polysurface made up of trimmed surfaces, while a “brepface” is exactly one surface(by itself or part of a polysurface) and its trim curves.

To a great extent they’re not so much different kinds of geometry as different ways of looking at your model, you can “cast” the same object to be a “surface” or a “brep” or other things depending what you’re trying to do with it.

1 Like