I have some issues in cleaning a dxf file I produce from projections of a sketchup model.
Having several stacked lines I use the detect duplicate command, but when I choose to delete the detected duplicates all of the lines are deleted and not only the redundant ones.
I attach one of the files I'm having troubles with.
remove duplicate lines
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
-
- Registered Member
- Posts: 1
- Joined: Wed Oct 30, 2019 5:01 pm
remove duplicate lines
- Attachments
-
- casa_salute_fronte_e.dxf
- (451.02 KiB) Downloaded 327 times
Re: remove duplicate lines
I assume the issue is based on the size of your drawing. It is very tiny with unusual short line entities.
Roof upper left side:
To clean that up effectively you have to adjust the "Distance Tolerance" in the "Detect Duplicate" Option bar or scale the drawing to a more reasonable size.
Roof upper left side:
To clean that up effectively you have to adjust the "Distance Tolerance" in the "Detect Duplicate" Option bar or scale the drawing to a more reasonable size.
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..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Re: remove duplicate lines
The function 'Detect Duplicate' will find duplicates
governed by the given tolerances as far as they:
when they only overlap partially they are not considered as a duplicate.
See example dxf.
Above 0.00045 tolerance most parallel lines of the rooftop are considered as duplicates.
As they are only spaced 0.000085 / 0.000338 / ....
I saw some did protude a little.
With a few simple selects I could isolate some on 5 separete layers.
From what was left I have put the duplicates found apart in layer 6.
Before deleting any it is better to move them to a temporary layer (eg. Trashcan).
It not looking great.
I afraid there is now easy solution.
Revised file attached
Regards,
CVH
governed by the given tolerances as far as they:
- are almost the same
are almost at the the same position
have almost the same angle
when they only overlap partially they are not considered as a duplicate.
See example dxf.
Above 0.00045 tolerance most parallel lines of the rooftop are considered as duplicates.
As they are only spaced 0.000085 / 0.000338 / ....
I saw some did protude a little.
With a few simple selects I could isolate some on 5 separete layers.
From what was left I have put the duplicates found apart in layer 6.
Before deleting any it is better to move them to a temporary layer (eg. Trashcan).
It not looking great.
I afraid there is now easy solution.
Revised file attached
Regards,
CVH
- Attachments
-
- casa_salute_fronte_e_rev.dxf
- (501.39 KiB) Downloaded 302 times
-
- Not duplicates.dxf
- (99.39 KiB) Downloaded 298 times