DXF import problem - 3DSOLID

DXF import problem - 3DSOLID

Anonymous
Not applicable
1,038 Views
5 Replies
Message 1 of 6

DXF import problem - 3DSOLID

Anonymous
Not applicable

Hello,

 

We are working on an interface to import DXF files in an external application. Our problem is that the command 3DSOLID is ill-documented. When we want to open files which contain the 3DSOLID command, we therefore do not know how to interpret it. For example, one of the files using which we are testing the interface contains the lines

 

3DSOLID
5
220
330
1F
100
AcDbEntity
8
0
100
AcDbModelerGeometry
290
1
2
{EA2CF9A8-BA88-426F-AAD0-6234A9F5DBA4}
100
AcDb3dSolid
350
0
1001
ACAD_STEPID
1071
1
0

 

What should we do with that? Is {EA2CF9A8-BA88-426F-AAD0-6234A9F5DBA4} some sort of key which we would have to look up in a database? If so, how could we access that database?

0 Likes
1,039 Views
5 Replies
Replies (5)
Message 2 of 6

Ranjit_Singh
Advisor
Advisor

Can you post the DXF that your are truing to import?

0 Likes
Message 3 of 6

Anonymous
Not applicable

Yes, we can send you the DXF file where we encountered the problem. As you can see there are several 2D objects defined in the section ENTITIES, but there are also five 3DSOLID objects. When viewing this file in A360 we see five 2D objects and five 3D objects, the 3D objects being the 3D equivalents of the 2D objects.

0 Likes
Message 4 of 6

Ranjit_Singh
Advisor
Advisor

Are you developing an external application to view this file? If so you need to share the application so we understand the problem. The 2 in the assoc list is specific to 3d solids. It's a unique identifier for the object to inherit properties from the C++ class that creates the object. You do not need it if you are creating a 3d solid programmatically.

0 Likes
Message 5 of 6

Anonymous
Not applicable

Yes, we are developing an external application. But unfortunately we cannot share it with you. We still do not know how to interpret the 3DSOLID commands in this file. We can display the 2D objects contained in this file but we fail to display the 3D objects. Where can we find the "C++ class that creates the object"?

0 Likes
Message 6 of 6

dgorsman
Consultant
Consultant

The 3DSOLID entries in the DXF file are objects, not commands - the file format describes object properties, not the commands used to build them.  For the most part 3DSOLIDS in AutoCAD are in ACIS format - I haven't dug through your DXF file so I'm not quite certain what's going on with that one (there should be a LOT more data to it).  Even with custom objects they will include the ACIS descriptor data.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


0 Likes