Imported DWG (or DXF) file shows misaligned lines

If you are having problems with QCAD, post here. Please report bugs through our Bug Tracker instead.

Always attach your original DXF or DWG file and mentions your QCAD version and the platform you are on.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
christiankral
Newbie Member
Posts: 3
Joined: Sat Jul 30, 2022 9:45 am

Imported DWG (or DXF) file shows misaligned lines

Post by christiankral » Sat Jul 30, 2022 10:05 am

When importing the attched file (stored in the version format 2016 and 2018), quite a lot of lines are misaligned. However, the concerned file (and many others) does not use any fancy Autocad features. It is basically lines, circles and text.

1) All the lines shall be are rectangular, but they are not.

2) Some lines do not end where they are supposed to end: they are too long.

The attached original DWG file was created by Autocad 2016 (or 2015). It was open in Autocad 2018 and stored in the 2018 DWG (and DXF) format to check if a different version may solve the following issue (which it does NOT). I also double checked if the DXF format does change anything here, but it does NOT. So I focus my issue on the DWG format for now.
Attachments
QCAD_lines.png
QCAD_lines.png (99.66 KiB) Viewed 2583 times
1.4 Schaltung 1_2018.dwg
(168.76 KiB) Downloaded 178 times
1.4 Schaltung 1_2016.dwg
(151.39 KiB) Downloaded 175 times

christiankral
Newbie Member
Posts: 3
Joined: Sat Jul 30, 2022 9:45 am

Re: Imported DWG (or DXF) file shows misaligned lines

Post by christiankral » Sat Jul 30, 2022 10:06 am

This issue occurs in version 3.27.6.0 (3.27.6), both in Windows and Linux.

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4935
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: Imported DWG (or DXF) file shows misaligned lines

Post by Husky » Sat Jul 30, 2022 10:38 am

Those lines contain 3D Z axis coordinates - QCAD is a 2D program. You can flatten the drawings to 2D below Menu / Misc / Modify but it will not fix any misaligned lines.
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

christiankral
Newbie Member
Posts: 3
Joined: Sat Jul 30, 2022 9:45 am

Re: Imported DWG (or DXF) file shows misaligned lines

Post by christiankral » Sat Jul 30, 2022 5:22 pm

OK. I will try to FLATTEN the original Autocad file and see if this solves my issue:

https://knowledge.autodesk.com/support/ ... tocad.html

This will, however, take a couple days until I can reply again. Please do not close this ticket yet.

Post Reply

Return to “QCAD Troubleshooting and Problems”