Page 1 of 1

Trouble reading 2.2-prof files with other apps

Posted: Sat Dec 20, 2008 2:15 am
by denverh
Hello,

I recently started using qcad-2.2.1.0-1-prof.freebsd7.x86. Previously I was using qcad-2.1.1.0-rc2-1-prof.freebsd.x86. Many of the drawing files I create get used for CNC machining, so they need to be read by other applications. Up until I started using 2.2 I never had any trouble. However, any drawing written by 2.2 generally hangs other applications trying to read it. Some examples are TurboCAD 12 and VCarve Pro from Vectric. I can read the files with AccuTrans, rewrite them, and then they can be read by the other applications. The problem with that is that AccuTrans seems to convert all curves to a series of straight line segments. So that's not the best solution.

I notice in looking through the history here that there have been one or two other complaints, but no solutions that apply to my situation. Does anyone have any ideas that might help?

Thanks,

Denver

Posted: Sat Dec 20, 2008 9:29 pm
by denverh
Some additional information:
I created two drawings, each one consisting of a single circle with a radius of 1 inch, centered at 0,0. One was done with 2.1 and the other with 2.2. The drawing created with 2.1 can be read by other applications. The one created with 2.2 causes them to hang.

Here's a diff of the two files:
2c2
< dxflib 2.1.0.2
---
> dxflib 2.2.0.0
50a51,54
> 9
> $CLAYER
> 8
> 0
916a921,922
> 420
> 0
920c926
< 0
---
> 25

Thanks,

Denver

Posted: Sun Dec 21, 2008 3:02 am
by denverh
If I delete lines 921 and 922 (they contain 420 and 9), then the file with a single circle can be read by other applications with no difficulty. I'm not sure what those two lines represent, but they seem to be the source of the trouble, in this simple case.

Thanks,

Denver