← All bug reports

FS#1428Snap middle of the minimum distance between two entity's

Type
Feature Request
Status
Assigned
Category
QCAD (main)
Severity
Low
Priority
Low
Reported version
3.15.2
Operating system
All
Reported
2016-06-01 by Husky
Votes
5

Hi,

from time to time I need to place a circle etc precisely between two entity's - what is a lot of construction work to get it correct. With the new "Info tool "Distance Entity to Entity" we have already the base for a new snap tool which could help to get rid of the time consuming construction process in cases like this. I would appreciate to get a new snap tool which is able to figure out the shortest distance between to entity's and then will snap to the middle of it.

Pic 1: Given situation
Pic 2: Result after using this new snap tool

Would it make also cense to have a second new snap tool which works opposite for the furthermost distance between two entity's?

Comments (2)

CVH 2022-10-30

A snapping point halfway between all entities on a drawing would clutter up the working area with all possible snaps.

Remark here that the shortest distance between 2 polylines is measured between 2 polyline segments, we can see which two at glance but QCAD has to check them all.

With n entities (and/or segments) that would be n!/2!*(n-2)! snapping points.
In perspective:
With just 10 entities there are 45 combinations.
For 100 entities 4950 combinations.
And for 1000 the number grows rapidly to 500k combinations. LOL

Still, I stand by the need for such but then as a tool.

Regards,
CVH