.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get more informations of solid3d from BREP API

5 REPLIES 5
Reply
Message 1 of 6
chi_nm
1470 Views, 5 Replies

Get more informations of solid3d from BREP API

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.

5 REPLIES 5
Message 2 of 6
Balaji_Ram
in reply to: chi_nm

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.

 

 



Balaji
Developer Technical Services
Autodesk Developer Network

Message 3 of 6
chi_nm
in reply to: Balaji_Ram

Thanks Balaji Ram,

 

I want to recreate this solid 3d from list Edges received from BREP.

Message 4 of 6
Balaji_Ram
in reply to: chi_nm

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.



Balaji
Developer Technical Services
Autodesk Developer Network

Message 5 of 6
Balaji_Ram
in reply to: chi_nm

To understand the creation of a SubDMesh, this post may be of some help :

http://adndevblog.typepad.com/autocad/2012/04/working-with-vertices-edges-and-faces-of-a-subdmesh.ht...



Balaji
Developer Technical Services
Autodesk Developer Network

Message 6 of 6
chi_nm
in reply to: Balaji_Ram

Thanks for your help,

i will try it.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost