.NET

Reply
Active Member
chi_nm
Posts: 6
Registered: ‎05-30-2013
Message 1 of 6 (449 Views)

Get more informations of solid3d from BREP API

449 Views, 5 Replies
05-30-2013 07:37 PM

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.

ADN Support Specialist
Balaji_Ram
Posts: 733
Registered: ‎03-21-2011
Message 2 of 6 (399 Views)

Re: Get more informations of solid3d from BREP API

06-06-2013 11:21 AM 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

Active Member
chi_nm
Posts: 6
Registered: ‎05-30-2013
Message 3 of 6 (376 Views)

Re: Get more informations of solid3d from BREP API

06-09-2013 08:47 PM in reply to: Balaji_Ram

Thanks Balaji Ram,

 

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

ADN Support Specialist
Balaji_Ram
Posts: 733
Registered: ‎03-21-2011
Message 4 of 6 (365 Views)

Re: Get more informations of solid3d from BREP API

06-09-2013 11:02 PM 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

ADN Support Specialist
Balaji_Ram
Posts: 733
Registered: ‎03-21-2011
Message 5 of 6 (360 Views)

Re: Get more informations of solid3d from BREP API

06-09-2013 11:22 PM 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

Active Member
chi_nm
Posts: 6
Registered: ‎05-30-2013
Message 6 of 6 (335 Views)

Re: Get more informations of solid3d from BREP API

06-10-2013 06:27 PM in reply to: Balaji_Ram

Thanks for your help,

i will try it.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!