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

how to create a surface using a set of known points ?

3 REPLIES 3
Reply
Message 1 of 4
zhoutao1130
599 Views, 3 Replies

how to create a surface using a set of known points ?

 
3 REPLIES 3
Message 2 of 4
Balaji_Ram
in reply to: zhoutao1130

Hi,

 

I am assuming that you have enough information on how those points are inter connected.

 

If so, then you could first create a subDMesh and then convert it to a surface.

 

To create a SubDMesh from a set of points, you can use the AcDbSubDMesh::setSubDMesh method.

It expects the vertices and face information in a certain format which is explained in this Devblog post :

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

 

After you have created the subDMesh, use the AcDbSubDMesh::convertToSurface method.

 

 

 



Balaji
Developer Technical Services
Autodesk Developer Network

Message 3 of 4
zhoutao1130
in reply to: Balaji_Ram

no,it just e a set  of sactter points ,using the points to reconstruct the surface of  3D entity .

thank you

Message 4 of 4

Here's some code (in .NET) to create a triangulated surface from a set of points in case that helps - http://through-the-interface.typepad.com/through_the_interface/2009/07/triangulating-an-autocad-sub-....

 

Although it sounds like you may actually want a 'shape extraction' algorithm to detect planes etc. from a  set of points with random scatter. I don't have an algorithm for that at hand.

Cheers,

Stephen Preston
Autodesk Developer Network

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

Post to forums  

Autodesk Design & Make Report

”Boost