Testing

Testing

Anonymous
Not applicable
617 Views
1 Reply
Message 1 of 2

Testing

Anonymous
Not applicable

Hello Everyone,

 

I write a new MeshObject derived from AcDbEntity and I finished it yesterday night. Now I have one problem. I can't find a list wich AutoCAD Commands I should try to test the Entity. Sure, I know "_MOVE", "_COPY", "_MIRROR" (both Variants), "_ROTATE",  "ROTATE3D", "_EXPLODE", "_SAVE", "_OPEN". I implemented the Gripstuff, the OSnap-Stuff and many other features. But, 4 example,  I can't test "subGetTransformedCopy". AutoCAD never call this Method in my entity.

 

I think the ObjectARx Documentation should have a floating plan wich Method is calling from wich AutoCAD Command.

 

I want post the Project on Sourceforge free use for everyone, because I learn so much from free Projects. I call it MeshSuite with following features:

 

Supported Import Formats:
=====================
3DRI File Format (3DRI)
3D-Studio File Format (3DS)
Stanford Polygon File Format (PLY)
STL File Format (STL)
Alias Wavefront Object (OBJ)
Quad Object (QOBJ)
Object File Format (OFF)
PTX File Format (PTX)
Breuckmann File Format (BRE)
Collada File Format (DAE)
Epoch Reconstructed mesh (V3D)
Expe's point set (binary) (pts)
Expe's point set (ascii) (apts)
XYZ point with normal (xyz)
GNU Triangulated Surface (GTS)
Protein Data Bank (PDB)
photogrammetric reconstructions (TRI)
ASC (ascii triplets of points) (ASC)
X3D File Format - XML encoding (X3D)
X3D File Format - VRML encoding (X3DV)
VRML 2.0 File Format (WRL)

Supported Export Formats:
=====================
3DC File Format (3DC)
3D-Studio File Format (3DS)
Stanford Polygon File Format (PLY)
STL File Format (STL)
Alias Wavefront Object (OBJ)
Object File Format (OFF)
VRML File Format (WRL)
DXF File Format (DXF)
Collada File Format (DAE)
GNU Triangulated Surface (GTS)
U3D File Format (U3D)
IDTF File Format (IDTF)
X3D File Format (X3D)

The Meshobject is the Kernelobject wich can managed Meshes wich maximum of 2 GByte Datas. It's mean no restriction about Vertexcount and Facecount. Yesterday night I import Lucy.ply (Stanford Reprositority Library) with 5.000.000 Vertices and 10.000.000 Faces. OK, that is a Mesh where every System is VERY slow. But it works.

 

TBMeshSuite is a set of ARX-Proigramms:

 

TBMeshIO.arx Import and Export different file formats
TBMesh.dbx User Defined Entity (TBMesh), without Limitytions for Vertices and Faces
TBMeshUI.arx Userinterface for TBMesh.dbx
TBMeshClean.arx Meshanalyzer und Repairkit.
TBMeshEdit.arx Powerful Mesheditor

 

But I need help for testing, because testing is to complex for one person.

 

Any Post is welcome to TomBengsch@gmx.de

 

Thanks a lot 

0 Likes
618 Views
1 Reply
Reply (1)
Message 2 of 2

philippe.leefsma
Alumni
Alumni

Hi Tom,

 

Unfortunately we do not have such a list of commands <-> methods...

 

Explode should trigger a call to "subGetTransformedCopy". Another approach would be to write a small test procedure that will call explicitely that method on your custom entity.

 

I hope it helps.

 

 

Philippe Leefsma
Developer Consultant
Developer Technical Services
Global Subscription & Support
 

Autodesk EMEA

 

www.autodesk.com/joinadn



Philippe Leefsma
Developer Technical Services
Autodesk Developer Network

0 Likes