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

Creating a PolygonMesh... ?

1 REPLY 1
Reply
Message 1 of 2
Anonymous
265 Views, 1 Reply

Creating a PolygonMesh... ?

Hi,

I need help creating AcDbPolygonMesh object by defining it vertex-by-vertex, like the 3dmesh command does? How is that done? I kinda figure that this is performed using the brep API, but I don't know what a "brep" is, for starters, and couldn't find any samples in this matter..

Any more than conceptual info, sample pointers, etc. would be greatly apprectiated.

Thanks,
Janko Jerinic
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

Take a look at the AcDbPolygonMesh::appendVertex() methods and the
AcDbPolygonMeshVertex class. All you need to do is to create a new
AcDbPolygonMesh object, then start creating AcDbPolygonMeshVertex objects
(there is a constructor that takes a position point) and adding them to the
AcDbPolygonMesh objects using appendVertex().

Brep is for solids not for Polygon or polyface meshes.

wrote in message news:5082772@discussion.autodesk.com...
Hi,

I need help creating AcDbPolygonMesh object by defining it vertex-by-vertex,
like the 3dmesh command does? How is that done? I kinda figure that this is
performed using the brep API, but I don't know what a "brep" is, for
starters, and couldn't find any samples in this matter..

Any more than conceptual info, sample pointers, etc. would be greatly
apprectiated.

Thanks,
Janko Jerinic

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

Post to forums  

Autodesk Design & Make Report

”Boost