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

Getting rid of "Recovery Mode" #996

Open
timoria21 opened this issue Jul 19, 2024 · 12 comments
Open

Getting rid of "Recovery Mode" #996

timoria21 opened this issue Jul 19, 2024 · 12 comments

Comments

@timoria21
Copy link

timoria21 commented Jul 19, 2024

With "Recovery Mode", I'm referring to an AutoCAD warning that appears when opening LibreDWG-generated DWG files.

Related to issue: #346

Material is broken, right? What about hardcoding a blob of data that belongs to the correct material so we can write all DWG file formats without "Recovery Mode"?

Or better, can you point me to the line of code that adds the material? Is it safe to remove it alone?

Thanks.

@rurban
Copy link
Contributor

rurban commented Jul 19, 2024 via email

@timoria21
Copy link
Author

timoria21 commented Jul 24, 2024

Sorry, I'm not sure to understand.

Do you mean that the Material Objects writing was recently disabled?

I've tested write-dwg with version 0.13.3.7262-win64 and I believe that the issues causing recovery mode on files generated by AutoCAD versions later than 2000 were specifically related to materials. See this comment from the previous issue #346.

@michal-josef-spacek
Copy link
Contributor

I need to retest with the actual version.

@rurban
Copy link
Contributor

rurban commented Jul 30, 2024

I need to retest with the actual version.

There's still the ACAD_MATERIALS dictionary to be fixed. And LAYER.plotstyle seems wrong

@michal-josef-spacek
Copy link
Contributor

Actually blocked by #998

@timoria21
Copy link
Author

timoria21 commented Oct 31, 2024

Isn't #998 resolved now?

Thank you,

@michal-josef-spacek
Copy link
Contributor

ok, need another test of the actual situation.

@timoria21
Copy link
Author

Thanks. If resolved, LibreDWG could write DWG files for AutoCAD with no "Recovery Mode" in all DWG file formats!

@rurban
Copy link
Contributor

rurban commented Nov 4, 2024 via email

@timoria21
Copy link
Author

I'm optimistic!

@timoria21
Copy link
Author

Another issue related to this topic is that all entities added after AutoCAD 2000 cannot be written without "Recovery Mode" because the file format didn't support them yet:

  • SubdMesh
  • Table
  • MLeader
  • ArcDimension

@michal-josef-spacek
Copy link
Contributor

@timoria21 You could help us, when you will prepare simple dwg file with this "problematic" entity (with minimal content) and send it to this thread or the special issue which is related to the concrete entity (the best).

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

No branches or pull requests

3 participants