'SOLVED' File cannot be opened by laser cutting companies

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
NGoode
Newbie Member
Posts: 5
Joined: Wed Nov 10, 2021 1:14 am

'SOLVED' File cannot be opened by laser cutting companies

Post by NGoode » Wed Sep 07, 2022 6:31 am

Hello, so over the last 18 months or so, i have been using QCAD Pro to draw up simple brackets to be cut by 3rd party laser cutters. This has worked fine, until the other day when they said that when they tried to open 1 particular file, it would not open. I updated QCAD to 3.27.6, but they're still having trouble. They haven't changed their software, and to cross check, i tried another laser company and they could not open that particular file either. Any help as to what is going on here would be great! I have attached a file that wouldn't open for them. Thanks heaps in advance.
Attachments
Final.dxf
(131.86 KiB) Downloaded 184 times
Last edited by NGoode on Tue Oct 04, 2022 12:01 am, edited 1 time in total.

CVH
Premier Member
Posts: 3417
Joined: Wed Sep 27, 2017 4:17 pm

Re: File cannot be opened by laser cutting companies

Post by CVH » Wed Sep 07, 2022 7:05 am

Hi,

Nothing wrong with the dxf ...
The layer with dimensions is frozen.
The dxf is in version R32, maybe they can handle it in an earlier version.


Regards,
CVH

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4935
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: File cannot be opened by laser cutting companies

Post by Husky » Wed Sep 07, 2022 7:20 am

Hi NGoode,

it is easily reproducible with that example file but so far I have no clue what is causing the issue. :oops:

@Andrew
Any idea ...?
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: File cannot be opened by laser cutting companies

Post by andrew » Wed Sep 07, 2022 8:41 am

@Husky: How were you able to reproduce? Which other software did you check with?

I can load the file fine here with Autodesk products.

I did notice an invalid dimension entity in the file and removed it (see attached). I hope that solves the issue.
Attachments
Final_fix.dxf
(131.5 KiB) Downloaded 185 times

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4935
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: File cannot be opened by laser cutting companies

Post by Husky » Wed Sep 07, 2022 9:12 am

andrew wrote:
Wed Sep 07, 2022 8:41 am
@Husky: How were you able to reproduce? Which other software did you check with?
I tried with cheap to expensive software. A few loaded the drawing just fine - a few weren't able to load it at all.
andrew wrote:
Wed Sep 07, 2022 8:41 am
I can load the file fine here with Autodesk products.
I tried with a AutoDesk produkt too. Loading failed with following message:

AutoCAD-InvalidFile Sorry, the drawing file is invalid and cannot be viewed. - Please try to recover the file in AutoCAD. TranslationWorker-InternalFailure Unrecoverable exit code from extractor: -1073741831
andrew wrote:
Wed Sep 07, 2022 8:41 am
I did notice an invalid dimension entity in the file and removed it (see attached). I hope that solves the issue.
It has solved the problem on my site. Thanks for looking into this!
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

CVH
Premier Member
Posts: 3417
Joined: Wed Sep 27, 2017 4:17 pm

Re: File cannot be opened by laser cutting companies

Post by CVH » Wed Sep 07, 2022 7:02 pm

All,

For those how wonder ... Final.dxf
Aligned Dimension @(800,75); handle 0x1b5; Text position is (NaN, NaN, NaN)
TA selects it, the Selection Filter can that too and of course Misc .. Select By Handle (TH)
andrew wrote:
Wed Sep 07, 2022 8:41 am
I did notice an invalid dimension entity in the file and removed it (see attached). I hope that solves the issue.
Noticed that the fixed file is in R27 format. What happens if that would also be R32?

Regards,
CVH

NGoode
Newbie Member
Posts: 5
Joined: Wed Nov 10, 2021 1:14 am

Re: File cannot be opened by laser cutting companies

Post by NGoode » Thu Sep 08, 2022 9:04 am

Thanks all! I sent that file on and it worked. Could you explain how the problem was resolved, so i can correct it in future?

CVH
Premier Member
Posts: 3417
Joined: Wed Sep 27, 2017 4:17 pm

Re: File cannot be opened by laser cutting companies

Post by CVH » Thu Sep 08, 2022 8:11 pm

NGoode wrote:
Thu Sep 08, 2022 9:04 am
Could you explain how the problem was resolved, so i can correct it in future?
That could be twofold ...
The invalid dimension and that the fixed file is in R27 format.
One could trial the fix file saved in R32 to eliminate the latter.

QCAD has no problem with the NaN values of the Dimension.
It can't be found with MZ, although that finds two zero-length Line entities.
One can not select it normally and only as describe higher.

When I knew that it was a Dimension, I found it by isolating the 22 good ones. :wink:

Regards,
CVH

CVH
Premier Member
Posts: 3417
Joined: Wed Sep 27, 2017 4:17 pm

Re: File cannot be opened by laser cutting companies

Post by CVH » Thu Sep 08, 2022 9:38 pm

All,

It seems that I can recreate the invalid Dimension.

DA asks for 3 positions and then restarts the cycle.
When I indicate twice the same spot:
- The preview disappears.
- It doesn't matter where I pick the 3th position.

A Dimension entity is created that will have Text position @(NaN, NaN, NaN)
This file can be saved and re-opened with the invalid Dimension re-appearing.

It is my opinion that this should not be cast to the drawing in the first place.
A Null-Dimension entity isn't visible and serves no use.


Regards,
CVH

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4935
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: File cannot be opened by laser cutting companies

Post by Husky » Fri Sep 09, 2022 2:35 am

NGoode wrote:
Thu Sep 08, 2022 9:04 am
Thanks all! I sent that file on and it worked. Could you explain how the problem was resolved, so i can correct it in future?
If needed switch all layer visible, thaw frozen layer, unlock locked layer.
Then launch "Detect zero-length entities". You will find it below Menu/Modify/Detect. Use in the Options bar of that tool the default tolerance of 0.001. Delete all now selected "Zero-length entities" and save the drawing for your laser service. Done! :wink:
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

NGoode
Newbie Member
Posts: 5
Joined: Wed Nov 10, 2021 1:14 am

Re: File cannot be opened by laser cutting companies

Post by NGoode » Mon Oct 03, 2022 11:57 pm

Ya'll were very helpful thanks!

Post Reply

Return to “QCAD 'How Do I' Questions”