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

DXF/DWG import silently fails #367

Open
arvidbrodin opened this issue Nov 17, 2018 · 2 comments
Open

DXF/DWG import silently fails #367

arvidbrodin opened this issue Nov 17, 2018 · 2 comments
Labels

Comments

@arvidbrodin
Copy link

System information

SolveSpace version: 3.0~8f2af5b2
Operating system: Gentoo 2018-11-12

Expected behavior

I'm trying to use CAD representations of ball bearings from Schaeffler. For example this FAG 6206 (zip).

After unzipping the file and opening it with the Open file dialog reached by File->Import... (in a new Solvespace sketch), I expect a 3D model of the bearing to appear.

Actual behavior

After selecting the file and clicking Open, the Open file dialog disappears and I am left with the same empty sketch as before. I even tried saving an empty sketch as an .slvs file and then saving again to another file after doing the import; the two files are identical according to 'diff -q'.

Additional information

The same behaviour is seen with both of the 3D DWG formats as well as the 3D DXF format available on the site, and also when downloading files for another bearing (7206).

I tried to debug this a bit, and it appears that iface->addInsert() is never called (libdxfrw.cpp:2443). I thought that was a bit strange, but I'm not sure if it is significant.

@whitequark whitequark added the bug label Nov 18, 2018
@whitequark
Copy link
Contributor

Note that LibreCAD (which is the project of origin for libdxfrw) exhibits the exact same behavior, so it is unlikely that SolveSpace would be able to easily fix this bug.

@ghost
Copy link

ghost commented Sep 29, 2019

Just got same behavior with SolveSpace 3.0.0~5d78f993 when try import next DWG:

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

No branches or pull requests

2 participants