I used Brep API to get all faces, edges or vertices of a solid3d, but i cannot recreate it from these information. Can i get more informations from BREP (such as topology, bulge of arc, ...)
Thanks.
Hi,
Can you please explain what you mean by "cannot recreate it from these information" ?
What is that you want to recreate ?
For example, to retrieve the geometry information from an edge : The "Edge.Curve" property provides an instance of Curve3d which can then be used to extract further geometry information.
Thanks Balaji Ram,
I want to recreate this solid 3d from list Edges received from BREP.
AutoCAD does not provide an API that can directly create a solid using only the BRep information.
You may want to consider working with SubDMesh which can be created using the the vertex and face data. A SubDMesh can then be converted to a solid using the "ConvertToSolid" method.
To understand the creation of a SubDMesh, this post may be of some help :