Mesh from brep

How can I generate a mesh from brep but without trimmed parts?
Thanks in advance!

Hi zer41k,

Check the Mesh.CreateFromBrep method.