← All bug reports

FS#1925Poly Ref Points manipulation that generates null-segment

Type
Suggestion
Status
Closed
Resolution
Duplicate
Category
QCAD (main)
Severity
Low
Priority
Low
Reported version
3.23.0
Operating system
Windows 7
Reported
2019-08-03 by CVH
Closed
2019-08-05 by andrew
Duplicate of
FS#1928

Win7pro 32bit Wininstaller Qcadpro 3.23.0

With a polyline.

Select the poly.
Pick any reference point of a vertex.
Place it on any of its neighboring vertex reference points.

A null-segment is created.
The placement can not be undone by re-picking the reference point.
Can be Undone/Redone.
The action can result from editing the vertex coordinates.
When exploding null-entities are created.

This action should delete:
- if the target is next: the picked vertex. (incl. start or end-1)
- if the target is prior: the targetted vertex. (incl. start or end-1)
- if the target is and next and prior: both the prior and the picked vertex.

As the user intentionally places any vertex reference points on:
- any excluding its neighbors:
-> the intented nature is 'Self-Touching', 'Self-Crossing' or 'Trace-Back'.
- any of its neighbors:
-> the intention is to delete the segment(s).

Regards

Comments (3)

CVH 2019-08-03

Task Type: Bug Report -> Suggestion

Creation of Null-Entities should be avoided at any cost.
We have to report where this occurs.

andrew 2019-08-04

Creation of Null-Entities should be avoided at any cost

Deleting a node should result in a polyline with a node less.
However, moving a node should not delete the node.

Note that different users have different use cases and zero length lines, arcs and polyline segments are possible, allowed, supported by QCAD and other CAD applications as well as the DXF/DWG file format. Other users might even require zero length entities for various reasons for their use cases.

As a suggestion, this could be a request for a user preference to "auto clean up" a drawing during construction.

CVH 2019-08-05

I understand you fully.
I try to follow most postings on the Forum and on Bugtracker.
It is not the first debate on that.

A user preference must be global.
At present (3.23) there are methods that 'autoclean' and others that don't.

Most important in this case is that the placement can not be undone by re-picking the reference point.

I will enter a global feature request.
Regards

Closure comment

Replaced by FS#1928