PDA

View Full Version : Question: Something about .dxf file!!!!



andes
10th Nov 2005, 05:18 pm
HI,

It is my first time to post something here.
I have a .dxf file which show the 2-D plane with different polygon.
I plan to extrude all the polygon into different height without using any function in AUTOCAD.
Instead I want to add the height to the .dxf file and then use other program to convert this file to AUTOCAD File.

Where should I add the height that I extrude?

MANY THANKS!!! :cry:

Here is our file:
suppose the building height is 253

0
SECTION
2
HEADER
9

$DWGCODEPAGE
3
ansi_1252
9
$EXTMIN
10
836489.8750
20
815105.3750
9
$EXTMAX
10
837643.0625
20
816256.9375
9
$LUPREC
70
14
0
ENDSEC
0
SECTION
2
TABLES
0
ENDSEC
0
SECTION
2
BLOCKS
0
ENDSEC

0
SECTION
2
ENTITIES
0
POLYLINE
8
0SS4_ARC

66

1
0
VERTEX
8
0SS4_ARC

10
837604.5000
20
816252.0000
0
VERTEX
8
0SS4_ARC
10
837597.9375
20
816253.4375
0
VERTEX
8
0SS4_ARC
10
837598.8125
20
816256.9375
0
VERTEX
8
0SS4_ARC
10
837605.1875
20
816255.4375
0
VERTEX
8
0SS4_ARC
10
837604.5000
20
816252.0000
0
SEQEND

hendie
10th Nov 2005, 05:32 pm
I'm afraid it's not as simple as "adding height" to the DXF

how are you going to add this extra "height" ? as a 3D wireframe ? as solids ? ~
in fact, you cannot do it as solids because Autodesk have never released solids information, so, what entites are you going to use ? lines, polylines, arcs ?
You need to know what entities you are going to use and then find/calculate all the relevant values for those entities

I wouldn't even begin to get into that one :o

David Bethel
10th Nov 2005, 05:39 pm
If you want to just add thickness to the POLYLINE, add the lines



39
253


to the POLYLINE header, each VERTEX and the SEQEND definitions. Make sure that they do not interupt another group / value statement. -David

andes
13th Nov 2005, 02:09 pm
:D

Anyway, thank you very much!!!

In fact, I plan to extrude polylines to some height so that it become a soild. As I was mentioned before that I want to add to the dxf file directly.
However, I cannot find any information about this topic in any website.


thanks!!!