Giter Club home page Giter Club logo

Comments (2)

Haibara-z avatar Haibara-z commented on June 20, 2024

Have you solved it?

from librecad.

lordofbikes avatar lordofbikes commented on June 20, 2024

This is hard to evaluate, if this is an us or them problem.

It turned out, that Autodesk software throws Error 50 in drawing header on line 930 for the file in question. The line number may vary for other files.
Searching for this error shows a lot of similar results on Autodesk forums.

The original file is AC1032 (ACAD 2018), LibreCAD saved in format AC1021 (ACAD 2007).
The only issue in line 930 is the value of the variable $XCLIPFRAME, which is 2.
All DXF references, 2007 (R21) and 2018 (R32), even the latest 2023 (R37) list only 0 and 1 as valid values.
Thus the error in Autodesk Viewer is raised by the value 2 of header variable $XCLIPFRAME.
Changing the value in line 930 to 1 opens the LibreCAD file in Autodesk Viewer.

LibreCAD just red the value 2 from the original file, and saved it with the same value in its latest format. There is no hint in DXF references about value 2 for variable $XCLIPFRAME.

So the questions are:

  • What is the source of 77771_ORIG.dxf?
  • Why does Autodesk Viewer accept this value for DXF format AC1032 but not for AC1021?

I can't see any reliable solution from LibreCAD to solve this.
Especially, when the official DXF reference does not document this value 2.
Because Autodesk Viewer opens the original file in DXF 2018 format, it might be a hidden feature, added after DXF 2007. But then they should have a fallback solution to handle this value for older formats.

from librecad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.