Hello,
Is there any way to select and delete hide entities that it not to belong to contour?
To detect duplicates doesn't work for that and, if i try to select contour (double click), these entities are selected too.
Many thanks.
Hide entities
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Re: Hide entities
You'd have to program an algorithm for that (i.e. iterate through those entities, find overlapping entities, decide which ones to delete, etc.).
Re: Hide entities
Overlapping is not an entity attribute, isn`t it?
If i could return those entities overlapping each other and select the one whose length is less.
Regards.
If i could return those entities overlapping each other and select the one whose length is less.
Regards.
Re: Hide entities
Hi,
https://qcad.org/doc/qcad/3.0/developer/annotated.html
With a collection of entities sorted from shortest to longest.
Cycling all from shortest to longest:
For Line segments, being overlapped would mean:
Line X(0-n) his start or endpoint sits on any other longer entity.
AND
The orientation is the same or opposite as that of the longer entity.
Line segments can be overlapped by XLines ... Rays ... Polylines ... (Even by Ellipses & Splines )
For Arc segments something similar but then with start/end/radius/center.
Arcs can be overlapped by Circles ... Polylines ... (Again also by Ellipses & Splines )
A certain tolerance would be required too.
Then diversify in:
Regards,
CVH
No, it isn't implemented.
https://qcad.org/doc/qcad/3.0/developer/annotated.html
With a collection of entities sorted from shortest to longest.
Cycling all from shortest to longest:
For Line segments, being overlapped would mean:
Line X(0-n) his start or endpoint sits on any other longer entity.
AND
The orientation is the same or opposite as that of the longer entity.
Line segments can be overlapped by XLines ... Rays ... Polylines ... (Even by Ellipses & Splines )
For Arc segments something similar but then with start/end/radius/center.
Arcs can be overlapped by Circles ... Polylines ... (Again also by Ellipses & Splines )
A certain tolerance would be required too.
Then diversify in:
- Connected
Partially overlapped
Fully overlapped
Regards,
CVH