Version:
3.29.4.0 (3.29.4)
Revision: 36a6423
Qt Version: 5.14.2
Architecture: x86_64
Compiler: Clang 10.0.0
Hey,
Thanks for a great tool. I'm cutting Qcad files on a CNC laser cutter, and I realize that I have multiple elements (lines, rectangles, curves, etc.) drawn on top of each other, and the laser is cutting those spots multiple times. Is there an easy way to go through my drawings and check for lines drawn on top of other lines?
Frank
How to find elements drawn on top of other elements
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.
-
- Full Member
- Posts: 52
- Joined: Tue Jul 25, 2023 6:09 pm
Re: How to find elements drawn on top of other elements
Yes ... and no.franksbedford wrote: ↑Sun Mar 10, 2024 2:45 pmIs there an easy way to go through my drawings and check for lines drawn on top of other lines?
Menu Modify .. Detection .. Detect Duplicates (MD)
https://www.ribbonsoft.com/doc/qcad/lat ... es_en.html
For detecting similar entities that are (almost) identical.
Almost within some degree of tolerance, see tool options on the Options Toolbar.
It will not detect Lines or Arcs that are duplicates of Polyline segments or vice versa.
It will not detect partially overlapping line-art and that includes edges of different Polylines.
One can of course increase the tolerances up to a point that less matching duplicates are recognized.
But a word of caution is in order here.
There is no clear ruling as to which of the (almost) duplicates is selected by the tool, so you can 'throw the baby away with the bath water'.
I tend to move the selection to a new layer (YI) for example called 'Duplicates'.
Then I can decide myself what to keep and what to remove.
BTW: YI is not found under the Layer tools. See Property Editor .. The button on the right of the layer field.
Like most tools it can be initiated with its keyboard shortcut, briefly type the 'Y' key followed by the 'I' key.
Another detection tool can also be beneficial: Detect Zero-Length Entities (MZ).
There is a feature request for something more in the nature of the ACAD OVERKILL command:
https://qcad.org/bugtracker/index.php?d ... sk_id=1724
https://qcad.org/bugtracker/index.php?d ... sk_id=1723
But again... What gets thrown away or how and which things are merged together ...
Or better, how does OVERKILL knows what we intended to draw from nothing else but simple line-art?
Regards,
CVH
Re: How to find elements drawn on top of other elements
@ edwardsjethro,
Learning something new every day ...
- Is that QCAD Pro or QCAD/CAM?
- Can you point me to where "Snap to Object" is located in the "Edit" menu of QCAD?
- Or which drop-down box you are referring to in the "Edit" menu of QCAD?
- Or can you point me where that is in the "Snap" options menu of QCAD?
- Or where I can find the tool reference here: https://www.ribbonsoft.com/doc/qcad/lat ... erence/en/
Probably not ...
This is a forum related to QCAD: https://www.ribbonsoft.com/en/
'Topmost' has no meaning in 2D ...
I know that Alt+Select will list up all that are near the cursor but that list is ordered based on drawing order and then on handle.
Simply selecting near stacked entities will arbitrary return one of the nearest candidates ... See: DefaultActions.js and further.
https://github.com/qcad/qcad/blob/maste ... tAction.js ... mouseMoveEvent in case DefaultAction.State.Neutral
Regards,
CVH
Learning something new every day ...
- Is that QCAD Pro or QCAD/CAM?
- Can you point me to where "Snap to Object" is located in the "Edit" menu of QCAD?
- Or which drop-down box you are referring to in the "Edit" menu of QCAD?
- Or can you point me where that is in the "Snap" options menu of QCAD?
- Or where I can find the tool reference here: https://www.ribbonsoft.com/doc/qcad/lat ... erence/en/
Probably not ...
This is a forum related to QCAD: https://www.ribbonsoft.com/en/
edwardsjethro wrote: ↑Mon Mar 11, 2024 8:37 amQCAD will automatically snap to the topmost element at that location.
'Topmost' has no meaning in 2D ...
I know that Alt+Select will list up all that are near the cursor but that list is ordered based on drawing order and then on handle.
Simply selecting near stacked entities will arbitrary return one of the nearest candidates ... See: DefaultActions.js and further.
https://github.com/qcad/qcad/blob/maste ... tAction.js ... mouseMoveEvent in case DefaultAction.State.Neutral
Regards,
CVH
Re: How to find elements drawn on top of other elements
@CVH: edwardsjethro was an bogus AI reply. They were probably planning to add spam to the post later.