DIYbanter

DIYbanter (https://www.diybanter.com/)
-   Metalworking (https://www.diybanter.com/metalworking/)
-   -   DXF files (https://www.diybanter.com/metalworking/223275-dxf-files.html)

mkr5000 December 1st 07 06:40 PM

DXF files
 
In my CAD program you can specify what machine you can apply to a
line(s).

Like a cut, bend etc.

And you can see your work with a 3D view as you go along.

This program will export a DXF file and I was wondering -- is the bend
information in a DXF file as well? (All I see in my viewer is the
complete piece outline with all the holes I need).

I would imagine it has to be right? But typically you wouldn't see the
bend lines in a DXF viewer?

Thanks.

Ned Simmons December 1st 07 06:57 PM

DXF files
 
On Sat, 1 Dec 2007 10:40:17 -0800 (PST), mkr5000
wrote:

In my CAD program you can specify what machine you can apply to a
line(s).

Like a cut, bend etc.

And you can see your work with a 3D view as you go along.

This program will export a DXF file and I was wondering -- is the bend
information in a DXF file as well? (All I see in my viewer is the
complete piece outline with all the holes I need).

I would imagine it has to be right? But typically you wouldn't see the
bend lines in a DXF viewer?


Perhaps the bend lines are on a layer that's not turned on or
otherwise not visible in the viewer. The DXF is just a (huge) text
file, and the format is public. With a little poking you should be
able to determine whether your CAD program exports the bend lines to
DXF. In Autocad, I'd first look at the properties of the bend lines in
the drawing (for example, which layer they reside on), then open the
DXF in Notepad and search for text matching the layer name, linetype,
etc.

--
Ned Simmons

[email protected] December 2nd 07 03:10 AM

DXF files
 
On Dec 1, 10:40 am, mkr5000 wrote:
In my CAD program you can specify what machine you can apply to a
line(s).



In my CAD program I can specify which layers are exported to the DXF
file.

mkr5000 December 2nd 07 01:40 PM

DXF files
 
Ok thanks.

I may not see it, but from what I understand the information (has to
be) there in the file.

I tried the layer(s) menu but I'm probably missing something.


Ned Simmons December 2nd 07 06:53 PM

DXF files
 
On Sun, 2 Dec 2007 05:40:08 -0800 (PST), mkr5000
wrote:

Ok thanks.

I may not see it, but from what I understand the information (has to
be) there in the file.

I tried the layer(s) menu but I'm probably missing something.


In autocad the command to use is "list". This is what acad returned in
the text window in response to a list inquiry on a skewed line I put
on layer SearchFor, linetype - dashed2, color - red.

******************************
Command: list

Select objects: 1 found

Select objects:

LINE Layer: "SearchFor"
Space: Model space
Color: 1 (red) Linetype: "DASHED2"
Handle = 8b
from point, X= 12.3316 Y= 12.5615 Z= 0.0000
to point, X= 23.5253 Y= 18.3920 Z= 0.0000
Length = 12.6211, Angle in XY Plane = 28
Delta X = 11.1937, Delta Y = 5.8305, Delta Z = 0.0000
************************************

I saved as a dxf and searched the dxf for "searchfor" with Notepad and
found this string buried in the file. You'll see that the linetype and
layer are named explicitly and the endpoints are specified.

LINE
5
8B
330
1F
100
AcDbEntity
8
SearchFor
6
DASHED2
62
1
100
AcDbLine
10
12.33163163438488
20
12.56150988842169
30
0.0
11
23.5253107690713
21
18.3920099971888
31
0.0
0

Here's the entire dxf spec, but you really shouldn't need it if all
you want to do is see whether the lines are exported to dxf.
http://images.autodesk.com/adsk/files/dxf_format.pdf

On the other hand, can't you just save to dxf, then open the dxf with
your CAD program and see if the lines are there?

--
Ned Simmons


All times are GMT +1. The time now is 12:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2014 DIYbanter