Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while creating an DXF and importing it to AutoCAD #1021

Open
Mannshoch opened this issue Sep 26, 2024 · 9 comments
Open

Error while creating an DXF and importing it to AutoCAD #1021

Mannshoch opened this issue Sep 26, 2024 · 9 comments

Comments

@Mannshoch
Copy link

Mannshoch commented Sep 26, 2024

Log of the converting is attached:
log.log

AutoCAD output:

DXF-ReadError
Error in in APPID Table
DXF-ReadError auf Line 106298.
Invalid or incomplete DXF input -- drawing canceled.

Some lines starting on Line: 106298

AT_JNT_�வ�வ齏跽풴ۂ㺘㻦칀ۂ��
 70
     0
  0
APPID
  5
2AE7
330
9
100
AcDbSymbolTableRecord
100
AcDbRegAppTableRecord
  2
AT_JNT_肘౐肘౐ᠺಜ풴ۥ䇴ሸ칀ۥ��
 70
     0
  0
APPID
  5
2AE8
330
9
100
AcDbSymbolTableRecord
100
AcDbRegAppTableRecord
  2
AUDIT_I_190703115940-0
 70
     0
  0
APPID
  5
2AE9
330
9
100
AcDbSymbolTableRecord
100
AcDbRegAppTableRecord
  2
AT_JNT_⸰ె⸰ెᖳ껀풴۬锼䃭칀۬��
 70
     0
  0
APPID
  5
2AEA
330
9
100
AcDbSymbolTableRecord
100
AcDbRegAppTableRecord
  2
AT_JNT_﵈䂾﵈䂾ᖳ껀풴۬㺠䂪칀۬��
 70
     0
  0
APPID
  5
2AEB
330
9
100
AcDbSymbolTableRecord
100
AcDbRegAppTableRecord
  2
AT_JNT_⾙츰۬ᖳ껀풴۬㵠䂪칀۬��
 70
     0
  0
APPID
  5
2AEC
330
9
100
AcDbSymbolTableRecord
100
AcDbRegAppTableRecord
  2

I'm not a Developer, I'm a CAD User which uses FreeSoftware at home. I'm not allowed to provide the DWG or DXF of the file. But I'm willing to follow advises If you need me doing things to find the errors.

Environment:

  • Windows 10 / libredwg-0.13.3.7345-win64 (AutoCAD 2025 for test of DXF)
  • AutoCAD audit say dwg is without error.
  • File from AutoCAD 2019
  • Has Proxy Objects from AutoPlant (3D)
  • The DWG File itself contains several xref which them selves containing xref (in total 80) and has a Layout with viewport.
  • Important for me at the end is everything 3D
  • the resulting DXF has 40MB
@rurban
Copy link
Contributor

rurban commented Oct 4, 2024

Without the XX1704-LAY-0900-P11628.dwg we cannot help.

The Invalid BLOCK_HEADER.preview_size 538976288 error was just fixed recently. It corrupted the whole object

@Mannshoch
Copy link
Author

Mannshoch commented Oct 4, 2024

Sorry, I'm not allowed to provide the DWG or DXF of the file. But I'm willing to follow advises If you need me doing things to find the errors.
I have FreeCAD and AutoCAD 2019 (with addon for the Proxyobject) and AutoCAD 2025 at hand. My goal is a 3D view in FreeCAD.

@michal-josef-spacek
Copy link
Contributor

@Mannshoch The best way is create some simple DWG file which you could send to ticket.

e.g. This is APPID section, so use this application and save.
I think that could be something with unicode string in DXF 2 section.

Example to test:

  1. New DWG file
  2. (regapp "ADESK_4153322344") # Fill name which you have in your situation
  3. dxfout

@Mannshoch
Copy link
Author

Mannshoch commented Oct 11, 2024

dev2.zip

@michal-josef-spacek
Copy link
Contributor

michal-josef-spacek commented Oct 11, 2024

@Mannshoch Could you open these files in AutoCAD and save as DXF and send to us?

@michal-josef-spacek
Copy link
Contributor

Files (AC1032):

  • Platte.dwg
    ** Issue with reading of sections
  • Stahl.dwg
    ** Issue with reading of sections
  • Teile.dwg
    ** ERRORs in ASSOCPERSSUBENTMANAGER, PERSUBENTMGR, REGION, _3DSOLID, ACSH_EXTRUSION_CLASS, BLOCK_HEADER
  • test-trichter.dwg
    ** Issue with reading of sections
  • xx17.dwg
    ** ERRORs in BLOCKSTRETCHACTION, BLOCK_HEADER, ASSOCPERSSUBENTMANAGER, PERSUBENTMGR, MTEXT,

@michal-josef-spacek
Copy link
Contributor

Issue with sections is described at #948

@Mannshoch
Copy link
Author

Seems the worst possible case I have.

@michal-josef-spacek
Copy link
Contributor

@Mannshoch The best way is to define, what is the biggest problem, define the problem, have an example, and fix it.
Repeat for all issues. It's doable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants