vectors, DXF, polyline, AutoCAD 
Author Message
 vectors, DXF, polyline, AutoCAD

Quote:
>    DXF-subroutines ?
>    I am writing a program (in BP7) doing mechanical calculation on
>    different geometrical shapes. I am looking for a way to export the
>    initial and final (after deflection) geometry to a 2D and/or a 3D
>    program (AutoSkech/AutoCAD) in a DXF-format (line/polyline).
>    If anyone knows about a subroutine (or unit) to write DXF-vectors
>    (lines/polylines), I'd interested in hearing about it.
>---------------------------------------------------------------------------
>|    __   __                             Frank Dahlslett                  |
>|   /  `-' /          ,,,     Energiforsyningens Forskningsinstitutt AS   |
>|   |[====|||||||||||[:::}               N-7034 Trondheim                 |
>|   \__.\._\          ```                    NORWAY                       |
>|                                     Tel. : (+47) 73596471               |

>---------------------------------------------------------------------------

Hi there

What about temperature ?
Here it is still hot enaugh (25 C)

Try an Autocad drawing containing one entity of each kind you want.
Export as entities (DXFOUT [ENTER] then E [ENTER] [ENTER])

The file looks like this

0
SECTION
2
ENTITIES
0
CIRCLE
8
1
62
1
10                  {after this you find x cdnt (start)}
-1401.42
20                  {after this you find y cdnt}
406.21
40                  {after this you find rad}
0.75
0
other field names:

30 : z crnt  (start}
11 : end x crnt
21 : end y crnt
31 : end z crnt

discover other field names (I can help you more but now I am going to eat)

example for 2D line

LINE
8
1
62
7
10
-1482.24   {start x}
20
363.01      {start y}
11
-1473.12  {end  x}
21
366.7       {end y}
0

If you want anything else, mail me .
I will find the time for more  E -  chat

....... Sorry for misspelling.

Manolis Foukakis
Heraklio
Crete

http://www.*-*-*.com/

ftp: knossos.knossos.gr




Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Autocad *.DXF file read/preview

2. AutoCAD DXF Files

3. How can I display AutoCAD graphics (DXF) in TP?

4. autocad and delphi

5. importing AutoCAD drawing

6. Reading DXF

7. How to import DXF files into Turbo Pascal graphics

8. REQ: DXF fileviewer for DOS?

9. DXF File parsing

10. REQ: DXF fileviewer for DOS?

11. DXF-Object

12. DXF, IGES and Animation in Windows

 

 
Powered by phpBB® Forum Software