Construction Line Commands

Drop in here to discuss whatever you want.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
alex_holden
Newbie Member
Posts: 8
Joined: Wed Dec 07, 2016 10:55 am

Construction Line Commands

Post by alex_holden » Sun Oct 01, 2023 7:22 am

I was just poking around in the Misc menu and I noticed Misc->Draw->Horizontal Construction Line (XH) and Vertical Construction Line (XV). What are they for? They appear to do exactly the same thing as Draw->Line->Horizontal Line (LH) and Vertical Line (LV). Looking in the property editor, the only difference I can see is that the Fixed Angle property is Yes for construction lines and No for normal lines, which doesn't seem to make any meaningful difference to the appearance or behaviour of the line?

CVH
Premier Member
Posts: 3480
Joined: Wed Sep 27, 2017 4:17 pm

Re: Construction Line Commands

Post by CVH » Mon Oct 02, 2023 4:52 am

Hi,

The single difference is that a 'normal' or line based XLine is defined with 2 points: Base Point & Second Point.
For this type there are two reference markers when selected.

With a fixed angle there is only a direction and no configurable Second Point and thus no second reference marker.
For this fixed angle type the Second Point & Directional Vector properties are grayed out.

Underneath all XLines are defined by a Base Point and a directional vector.
The second point is thus the sum of the two vectors and the directional vector is the difference between both points.
When created as a fixed angle XLine the directional vector is 1 unit long.
alex_holden wrote:
Sun Oct 01, 2023 7:22 am
which doesn't seem to make any meaningful difference to the appearance or behaviour of the line?
Not much, the fixed angle type can not be re-oriented by dragging the second reference marker.
But you can clear the fixed angle property and look for the second marker what will be 1 drawing unit away from the base point.

One can also change the type of line based XLines but then the original directional vector is preserved and not unified.

IMHO methods LH & LV should create the fixed angle type because the user doesn't indicate a second position. :wink:
And the same for all line commands in Infinite Line mode without a user defined second position. :roll:

Regards,
CVH

alex_holden
Newbie Member
Posts: 8
Joined: Wed Dec 07, 2016 10:55 am

Re: Construction Line Commands

Post by alex_holden » Mon Oct 02, 2023 1:43 pm

Oh, I understand now! Thanks for the explanation.

CVH
Premier Member
Posts: 3480
Joined: Wed Sep 27, 2017 4:17 pm

Re: Construction Line Commands

Post by CVH » Wed Oct 18, 2023 10:34 am

# EDIT #
CVH wrote:
Mon Oct 02, 2023 4:52 am
One can also change the type of line based XLines but then the original directional vector is preserved and not unified.
Should be: ... preserved and not unified in this QCAD session.

Once saved and reloaded all XLine's and Ray's return with a unified directional vector. :o

Basically not problematic unless you count on the fact that the second point remains preserved ... :wink:
Stumbled on it while scripting under QCAD ...
Impossible to detect afterwards because the Fixed Angle property remains untouched as if the second point was created at 1 unit away.

Regards,
CVH

Post Reply

Return to “Chat”