CamBam
News:
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 15, 2019, 11:06:39 am


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: What is wrong with that DXF ? Any ideas ?  (Read 2516 times)
gmoo
Storm Trooper
***
Offline Offline

Posts: 110

Jam it !


View Profile
« on: August 07, 2019, 11:29:12 am »

At first - I believe it´s a QCAD problem and not a CB problem.

Nevertheless I would be thankful for any idea or a hint, so I can raise a complain at QCAD.

I´m creating DXF files using QCAD, to toolchain with CB works usually fine,
but occasionally (? yes, occasionally !) the file is written in a manner that CB imports nonsense !

See files Bullshit and No_Bullshit.
The content and layer structure is identical.
Bullshit was edited approx. 15 times. But suddenly :

Import into CB results in
- ignoring layer colors (everything is green)
- some layers are missing

Loading Bullshit into QCAD : everything´s correct
The only way to reduce the problem is : re-load into QCAD and do a "save as" and overwrite
or create a new file.

What also helps (not always) : Waiting at least 5 seconds after last change before saving the DXF,
wait at least 5 seconds before closing QCAD and wait at least 5 seconds before importing into CB.
VERY, VERY STRANGE !

I made a file-compare, there are slight differences, but I cannot figure out the problem.

Best regards

Bernhard

* Bullshit.dxf (106.45 KB - downloaded 61 times.)
* No_Bullshit.dxf (106.43 KB - downloaded 59 times.)
Logged

best regards

Bernhard
EddyCurrent
CNC Jedi
*****
Offline Offline

Posts: 4079



View Profile
« Reply #1 on: August 07, 2019, 12:55:41 pm »

Bernhard,

I can confirm that my CamBam also ignores the layer colours with Bullshit.dxf, both v0.9.8 and v1.0

Bullshit.dxf opens in Rhino3D okay with layer colours correct
Bullshit.dxf opens in Inkscape okay with layer colours correct

There are differences in the files Bullshit.dxf and No_Bullshit.dxf.

It looks like two issues to me;

1. QCAD is saving the files with slight differences.
However, those differences may have something to do with the time stamp, number of edits, etc. that has nothing to do with the drawing or layers etc.

2. CamBam's dxf import cannot read one of those files correctly
Logged

Made in England
gmoo
Storm Trooper
***
Offline Offline

Posts: 110

Jam it !


View Profile
« Reply #2 on: August 07, 2019, 13:16:57 pm »

Lightning-Eddy !

You lead me to an idea ... all my files are running within dropbox(file sync tool) folders.
Maybe this causes the trouble within a bemuda-triangle of time-stamp, access rights, NTFS, Murphy´s law, or whatever.

I copied the No_Bullshit.dxf to my desktop and treated it as a fool.
There was no problem so far. I´ll test this for a few days to be sure and will report the result.




Logged

best regards

Bernhard
EddyCurrent
CNC Jedi
*****
Offline Offline

Posts: 4079



View Profile
« Reply #3 on: August 07, 2019, 13:32:00 pm »


Maybe this causes the trouble within a bemuda-triangle of time-stamp, access rights, NTFS, Murphy´s law, or whatever.


Yes, that is highly likely.

With any installation of Windows I like to get it as close to the version 3.1 experience as possible  Grin
« Last Edit: August 07, 2019, 13:39:35 pm by EddyCurrent » Logged

Made in England
gmoo
Storm Trooper
***
Offline Offline

Posts: 110

Jam it !


View Profile
« Reply #4 on: August 07, 2019, 14:09:15 pm »

Happiness was too early - dropbox is not causing the problem.  Angry

Wanna have back DOS 2.11 and Turbo Pascal 3.0...
Logged

best regards

Bernhard
dh42
Administrator
CNC Jedi
*****
Offline Offline

Posts: 5677



View Profile WWW
« Reply #5 on: August 07, 2019, 15:00:01 pm »

Hello

Quote
I can confirm that my CamBam also ignores the layer colours with Bullshit.dxf, both v0.9.8 and v1.0

Yep, same for me.

When exploring the DXF file (with an text editor), I see you're using the AC1032 format (AutoCAD 2018) ; Maybe it can be the problem ; CamBam is done to read the AC1009 to 1015 (AutoCAD R12 to AutoCAD 2000)

I tried to open your both files with SolidWorks 2010, and it don't want to open them at all (error: invalid or incomplete file) ... same problem with DWGeditor 2010

++
David
« Last Edit: August 07, 2019, 15:07:16 pm by dh42 » Logged
gmoo
Storm Trooper
***
Offline Offline

Posts: 110

Jam it !


View Profile
« Reply #6 on: August 07, 2019, 15:12:53 pm »

Very strange ...

It´s not a principle problem reading these DXF R32 files.
It happens just - occasionally.

I can edit and change these R32 file for -let´s say- 30 times, and CB reads it absolutely correctly.
But then suddenly, without any (visible) reason, I store the file as usual and CB is reading wrong.

I tried also other DXF file version and got the same strange behaviour, (also R12 ? I´m not sure, but I´ll check).

IMHO this is a problem of QCAD, but I fear I need more information or in best case a reproducable way to complain a bug.

Logged

best regards

Bernhard
dh42
Administrator
CNC Jedi
*****
Offline Offline

Posts: 5677



View Profile WWW
« Reply #7 on: August 07, 2019, 15:29:32 pm »

re

Quote
I made a file-compare, there are slight differences, but I cannot figure out the problem.

Yep, I do the same and there is a lot of difference between the two files ... (1410)

++
David
Logged
pixelmaker
CNC Jedi
*****
Offline Offline

Posts: 1716


View Profile WWW
« Reply #8 on: August 07, 2019, 18:11:06 pm »

After converting the DXF Files to a ASCII DXF format I can open both files with all layer colors and without visible differences.

ralf


* Bildschirmfoto 2019-08-07 um 19.13.56.png (213.95 KB, 1536x702 - viewed 107 times.)
« Last Edit: August 07, 2019, 18:14:58 pm by pixelmaker » Logged
lloydsp
CNC Jedi
*****
Offline Offline

Posts: 8085



View Profile
« Reply #9 on: August 07, 2019, 18:22:26 pm »

Ralf!  Thank you!

That's an important piece of information.

Lloyd
Logged

"Pyro for Fun and Profit for More Than Fifty Years"
gmoo
Storm Trooper
***
Offline Offline

Posts: 110

Jam it !


View Profile
« Reply #10 on: August 07, 2019, 19:24:37 pm »

Yes, indeed !

How did you convert it ?
I can open it with any ASCII Editor (f.e. Notepad++) and read the content.
Logged

best regards

Bernhard
gmoo
Storm Trooper
***
Offline Offline

Posts: 110

Jam it !


View Profile
« Reply #11 on: August 07, 2019, 19:35:06 pm »

There´s a new idea ... I disabled QCAD´s "Autosave every 5 Minutes" function.

First tests are looking good.
Logged

best regards

Bernhard
gmoo
Storm Trooper
***
Offline Offline

Posts: 110

Jam it !


View Profile
« Reply #12 on: August 07, 2019, 19:37:26 pm »

No. Does´nt help.

But open the file with QCAD and just saving it seems to help.

Very strange ...
Logged

best regards

Bernhard
pixelmaker
CNC Jedi
*****
Offline Offline

Posts: 1716


View Profile WWW
« Reply #13 on: August 07, 2019, 22:30:06 pm »

Quote
How did you convert it ?
I opened the file in DraftSight2019 and saved it again as R12 ASCII Drawing (*.DXF).
Draftsight creates very clean DXF files

ralf
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.125 seconds with 19 queries.

Copyright © 2018 HexRay Ltd. | Sitemap