LibreCAD / LibreCAD

LibreCAD is a cross-platform 2D CAD program written in C++17. It can read DXF/DWG files and can write DXF/PDF/SVG files. It supports point/line/circle/ellipse/parabola/spline primitives. The user interface is highly customizable, and has dozens of translations.
http://librecad.org/
Other
4.48k stars 1.01k forks source link

LibreCAD does not see the drawing if its extension is DWG (uppercase) #1317

Closed Ubuntu-2020 closed 3 years ago

Ubuntu-2020 commented 3 years ago

LibreCAD 2.0.9. The folder contains the drawings. Most drawings have an extension of dwg. But some drawings have the extension DWG that is written in capital letters. For example:

Run LibreCAD 2.0.9 and open the folder with the files and see only the file there window.dwg Thus LibreCAD 2.0.9 does not see the file chair.DWG

DuncanLithgow commented 3 years ago

Please test with a more recent version of LibreCAD and reopen this bug if the problem still exists.

Ubuntu-2020 commented 3 years ago

@DuncanLithgow @lordofbikes In Zorin OS - LibreCAD 2.1.2 the same situation!

lordofbikes commented 3 years ago

LibreCAD 2.0.9 has no DWG support, so there is no need to list DWG files. LibreCAD 2.1.2 should support DWG files, but you must change the file type box in the open dialog from DXF to DWG to list DWG files.

Ubuntu-2020 commented 3 years ago

@lordofbikes It's about writing the file! Not in its format. If the last letters of the extension are written in capital letters, then LibreCAD will not see such drawings! Example: create an empty folder and copy a single drawing in dwg format to it. Then copy this drawing. Then rename the last letters of the extension by writing them in capital letters DWG. This way you will have only two drawings in the folder, both in dwg format. Only one drawing will end with lowercase letters dwg, and the other with uppercase letters DWG. Example:

Then open this folder in LibreCAD 2.1.2 and you will see that the program sees only one drawing, in which the last letters of the dwg extension are written in lowercase letters!

lordofbikes commented 3 years ago

follow up #791