Hi,
DenisH wrote: ↑Sun Nov 03, 2024 5:16 am
So a drawing in which a human would call two lines connected QCAD will not unless the connection is at an end.
A Line segment that has one endpoint on another Line, or curve in general, is merely touching.
Mutual connected Line segments touch at endpoints.
Interconnected line-art touches at endpoints.
So no, '
touching' can not be considered as '
connected' in general.
DenisH wrote: ↑Sun Nov 03, 2024 5:16 am
It seems that polylines can only be connected at the ends.
A polyline is a string of segments connected at nodes or vertices.
Polyline segments can be straight or bulging out to the left or the right seen from start to end.
A vertex (geometry) is a point where two or more curves, lines, or edges meet.
From a Polyline perspective:
- Excluding 'more', excluding a Ray or an endless Line.
- Every vertex is associated with the bulging nature of the segment that starts at that point.
The similarity of a bulge or bulge factor equal to zero, not bulging or a straight segment, with a Line segment is straightforward.
That is not really true for segments with a bulge factor different from zero compared with Arc segments.
Arcs have a center, a radius and 2 end angles, bulging segments have 2 endpoints and a sweep angle =
4*atan(bulge).
The conversion of a bulging segment to an Arc or vice versa is never exactly 1:1.
An Arc can be fully circular, a bulging segment not:
tan(360°/4)=tan(90°)=Error (Infinite).
One can convert connected Lines and/or Arc segments to a polyline with the Polyline tools.
One can decompose a Polyline to Line and/or Arc segments with Explode (
XP)
With only straight segments, sometimes called a Polyline with Lines.
If it contains bulging segments, sometimes called a Polyline with Arcs or with Lines and Arcs.
But in fact: A polyline does not contain Arcs nor Lines shapes.
DenisH wrote: ↑Sun Nov 03, 2024 5:16 am
I think it is why there is no tool to draw a line perpendicular to another line from a remote point.

... There are several way to do that.
When the perpendicular point is on the line-art, a perpendicular snapping point exist.
This is not limited to lines or Line segments.
Typically Snap Auto (
SA) is active, the hint at the snap point can be ambiguous.
A perpendicular point can coincide with another named snapping point.
In that case one can force to snap to perpendicular points only (Snap Perpendicular (
SU)).
When it is not on the line-art then you can still force snapping to a perpendicular point.
Indicate near the target entity, the closest perpendicular point will be proposed.
The other way around would be an orthogonal Line (
OL) and then extended or trimmed to the Line segment.
DenisH wrote: ↑Sun Nov 03, 2024 5:16 am
Even so, it could be done by breaking the single line into two connected collinear polylines
I don't understand why that should be collinear Polyline shapes, two collinear Line segments will do.
A polyline with one single straight segment is possible but not advisable.
The only advantage would be that Polyline segments have an middle marker when selected.
DenisH wrote: ↑Sun Nov 03, 2024 5:16 am
What does Auto snap do? Make a guess as to what I want?
Auto snapping or Snap Auto (
SA) snaps to the nearest of all snapping points for the line-art near your cursor.
For a (configurable) list see: Application Preferences .. Snap .. Auto Snap.
As said, the hint at the snap point can be ambiguous.
For a new Line from a distinct point to a Line segment that can be:
- Any existent intersection with the Line segment.
- An endpoint.
- A middle point.
- A perpendicular point.
- A grid point if that is nearer to your cursor than the above.
- Any point on the Line segment.
In this order of appearance.
If the perpendicular point coincides with the middle point, then the snapping hint is '
Middle'.
Regards,
CVH