comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » about DXF format
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: about DXF format [message #54470 is a reply to message #54401] Wed, 13 June 2007 18:51 Go to previous messageGo to previous message
airy.jiang is currently offline  airy.jiang
Messages: 37
Registered: May 2007
Member
Rick,Maybe you are right.
The DXF format is indeed complicated,I knew it and I have read some
documents about that.The key is a DXF file is not only has "Entity"
section,but also include many other sections,like "Table"
section,"Object" section,"Class" setction and so on.The IDLffDXF
object can get a lot information from one DXF file by the GetEntity
method.Just like I've wrote,we can get the most basic vertex data and
vertex connectivities,that is enough information to make a full
polygon.But that's all we can do until now.The truth is,I use
GetContent method get the entity type of the file,the result is
[9,18,19,20],that represents the types of the entities which including
in the
file :IDL_DXF_POLYGON,IDL_DXF_INSERT,IDL_DXF_BLOCK,IDL_DXF_LAYER. The
vertex data and connectivity can be found in the IDL_DXF_POLYGON ,and
we can use them to make a polygon.But what the use of the other types
of entity?IDL_DXF_INSERT,IDL_DXF_BLOCK,IDL_DXF_LAYER,Are they useless?
I use 3DMAX and AutoCAD read the same DXF file,they all showed a exact
result.My program which used IDLffDXF object has two errors.
First,the shape of the polygon are all right,but the polygon are all
composed of the triangles.The 3DMAX and AutoCAD shows that the right
result is not only the triangles,many polygons are composed of the
rectangles.And the number of polygons of the DXF file which made by my
program are more than the number which made by the 3DMAX and AutoCAD.
Second,the position of some parts of polygons are not precision.I
think that's maybe some offset information contained in the DXF
file,but I'm not very sure.

My computer is good,that' not the problem.The number of polygons is
nearly 10000,but infact the right result showed by the 3DMAX and
AutoCAD tell us that's not actual number,it just needs 1000 or more
less polygons to show that.Anyway,let me list my hardware:
cpu:AMD 3600+
memory: 1G DDR2 667
Graphic Card: Unika 1650XT (600MHz/1200)
HardDisk:Hitachi 160G SATA2 8M buffer memory
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL on Mac OS X
Next Topic: how to use Mosaic_doit procedure

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:04:53 PDT 2025

Total time taken to generate the page: 0.00436 seconds