DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

DesignCad V23 (2D) - Importing Problem With Curves/Radii

Started by Industrial Flame Cutting, September 18, 2014, 11:35:26 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Industrial Flame Cutting

Hello,

I work in a steel cutting shop and we've been using DesignCad for a long time and have never had a major issue importing dxf files, until this week.
 
We're currently using DesignCad V23 (2D) with Windows 7. 

The problem is this. 

A customer sent us a dxf file ( I do not know what it was originally drawn on ).  If you import the file into DesignCad, most of the radii and some of the straight lines change into curves or bezier curves and throws the whole part out of shape.  I have not had this problem before. 

If I take the same dxf file and import it into a very simple cad program that we have, it comes out fine, no changes.

Anyone know what is going on? 

I will send the file if you need it.

Thanks

Bob P

Can you post the file?  I'd like to try opening it in some other dxf interpreters. Even a section of the file with the errant lines would help.

Bob P

FWIW, here is an older Autocad-"reader" to try:
http://www.wwslalom.net/temp/intellicad.zip

Just unzip it into its own folder and run the icad.exe file.  No installation necessary.

Industrial Flame Cutting

I've posted a pdf showing how the parts should be and how they are after importing.  The zip file contains the dxf file.

Thanks

Bob P

It looks like the conversion within DC is dropping coincident points (or perhaps the points aren't really coincident to DC at all).  This is a job for DT! ;>)

I've never trusted exporting curves to DXF.  I've always converted "curvy" lines to short arcs.

samdavo

Quote from: Bob P on September 18, 2014, 03:09:34 PM
1. It looks like the conversion within DC is dropping coincident points (or perhaps the points aren't really coincident to DC at all).  This is a job for DT! ;>)
2. I've never trusted exporting curves to DXF.  I've always converted "curvy" lines to short arcs.
Bob,
1. Absolutely agree.
2. I've learnt something - good point.  (PS albeit not so much exporting , but importing?)

Wow, there are major errors there.
I thought I could go into the imported dxf file , now a dcd file, (with all those "rounded corner errors" that IFC found), and simply add a second (duplicate) point at sharp changes of direction. (easily done in Point Select Mode as you know).
I enclose a very approximate resurrection of the first two shapes ( which I did this way).

But i found that there were points on the imported curve that arguably shouldn't have been there - and I was having to guess - and in any case it was a lot of work to get it right.
Also there were subtle feathered chamfers that were hard to resurrect etc.
And in summary, my efforts don't stand up to close scrutiny, and no way would I profile-cut steel based on the guesses I have made.

IFC,
If I was wearing your shoes, I would ask them to resend the dxf drawing as a series of short vectors (not curves).
Cheers

Bob P

Interestingly enough, I opened the file in Irfanview and it correctly interpreted the curves. But - Irfanview only creates bitmaps, so the shapes would have to be traced and scaled.  Still, a possible path since I suspect those curvy shapes don't have to be exact.

The DXF file is in ASCII, so it also might be possible to do some "source-level" editing if you knew what you were doing.  It could take a while though...

When I get into work, I'll try importing the DXFs into DC DOS 2D and see whether things are any better. *

*The DOS DXF import fails, with many errors.  I tried...

Industrial Flame Cutting

#7
Thanks for all of your efforts in figuring out what is going on.  Unfortunately this is an artist customer and we thought it was what was wanted ( they did not send a copy of what it should look like and we didn't send them one showing what we had received - both at fault ). Anyway, we have a very basic cad program here and I was able to import it into that without any issues and I was able to do the job from that.

One other item.  After importing the file into the simple cad program I exported it as a dxf.  I then took the new dxf file and imported that into DesignCad and it was perfect. 

One other item.  I just imported the file into the simple cad program and then I exported it as a dxf.  I then took the new dxf file and imported that into DesignCad and it was perfect.

But it concerns me that this happened and just this morning I received another file from a different customer with the same issue on one part, again it's a curve.  I imported it into the simple cad we have and it works fine.  This file was made on GeoMagic if that's any help.


Thanks very much.

Walt

Bob P

I can't stop myself...

An old (2008) version of Solidworks couldn't read the file.

The file correctly imported into EMachineShop.  Then I exported to DXF from there, creating a new file that DC correctly read.

Dean

Try the attached I converted the Splines to Arc Polylines.
If I'm not mistaken > Design cad doesn't read standard control point splines.
DesignCad 3D max 2021
Lenovo 17.3"Laptop Intel(R) Core(TM) i7-9750H CPU @ 2.6GHz/Turbo boost 6 cores 12 threads.16GB memory.SSD 256GB/HDD 1TB 7200 Rpm.Nvidia Graphics GeForce GTX 1660 Ti 6GB
Windows 10 Home 64 bit

Industrial Flame Cutting

Dean,

Yes it works fine.  Thanks.  How come DC  does not read the splines?  Is this something they will fixing?

Walt



Bob P

I see that the original file was generated by Autocad Express.  (At least A.E. was referenced within the file.)  Knowing Autocad, I suspect that they unilaterally changed the DXF standard sometime in the near past.  DC will have to update their old conversion routine to keep up.


Dr PR

Walt,

There are at least a dozen variations of the DXF file format. AutoDesk seems to change the format slightly with every now and then, so all other software manufacturers have to take time to rewrite their programs to read the new versions.

I have found that many programs do not import some of these versions correctly - but DesignCAD usually does a good job. In fact, I sometimes use DesignCAD to import one DXF format and then export another so some other CAD program can import the file. That's what you are doing with your "basic cad" program.

I don't know if this still works, but in the past I found that if I import a DXF drawing into Word (Copy/Paste) and then Copy/Paste the drawing from Word into DesignCAD the drawing will "import" correctly. This worked with DXF files that DesignCAD could not import directly.

Sorry that you had problems getting the file into DesignCAD. You might try asking your customers if they can save the DXF file in multiple versions. I have found that the older versions (R12) are MUCH more reliable and work with a wider variety of programs.

Phil
DesignCAD user since 1987

Industrial Flame Cutting