Reverse a lines Start and End points

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
himpelr
Registered Member
Posts: 1
Joined: Mon Jan 29, 2018 11:01 pm

Reverse a lines Start and End points

Post by himpelr » Sun Mar 20, 2022 11:27 pm

My suggestion is to easily reverse the start and end points of a line. There is an option when creating a line that gives the option to choose "Start", "Middle" or "End". Later on , for example, I sometimes need to change a lines' start and end points to be reversed. These locatons are shown "Property Editor" as "Start Point" with X and Y locations and "End Point with X and Y locations. All I need is as a command that will change the "Start Point" X and Y locations to the "End Point" X and Y locations and the "End Point" X and Y locations to the "Start Point" X and Y locations. This should leave the line in the same place on the drawing. The command name could be "FlipXY" for any type of straight line I would think. It would sure be handy!

Currently I can rotate a line by selecting the "Middle" and rotating 180 degrees. If there is already a one-click command to do this operation, I couldn't find it in the Reference Manual.

I am using QCAD 3.26 on a Desktop machine running Linuxmint 20.3, 2 -2.6 GHz processors and 8 GB memory with a 43" diagional monitor. I also have a little Apple laptop as a backup machine that runs just about everything that runs on the Linux box including QCAD 3.26. I think it's great that you provide the various version of QCAD with your distributions. I'm looking forward to version 3.

Richard Himpelmann
Ringwood, IL USA
email: [email protected]

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4937
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: Reverse a lines Start and End points

Post by Husky » Mon Mar 21, 2022 12:19 am

himpelr wrote:
Sun Mar 20, 2022 11:27 pm
If there is already a one-click command to do this operation, I couldn't find it in the Reference Manual.
Yep, there is already a command ...

Select the entity and launch below Menu / Modify the "Reverse" (RV) tool. :wink:
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

TSG
Premier Member
Posts: 337
Joined: Thu Oct 08, 2015 9:39 am
Location: Germany

Re: Reverse a lines Start and End points

Post by TSG » Mon Mar 21, 2022 8:37 am

Actually, why isn't the icon for the "Reverse" command shown in the tool matrix?

Thomas
Ich will nicht streiten. Ich will nur deutlich machen, dass ich Recht habe und DU NICHT.

User avatar
petevick
Premier Member
Posts: 392
Joined: Tue May 19, 2020 9:34 am
Location: North Norfolk coast UK

Re: Reverse a lines Start and End points

Post by petevick » Mon Mar 21, 2022 12:56 pm

TSG wrote:
Mon Mar 21, 2022 8:37 am
Actually, why isn't the icon for the "Reverse" command shown in the tool matrix?

Thomas
It is on my system. Go to Edit> Application Preferences, in the General section select Tool Settings. In the Filter field type Reverse, select Reverse from the results and in the Visibility tab check Tool matrix.
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6

User avatar
petevick
Premier Member
Posts: 392
Joined: Tue May 19, 2020 9:34 am
Location: North Norfolk coast UK

Re: Reverse a lines Start and End points

Post by petevick » Mon Mar 21, 2022 12:59 pm

actually you are correct, even with it checked in Tool settings it doesn't appear in the Tool Matrix :?: :?: :?:
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6

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

Re: Reverse a lines Start and End points

Post by CVH » Mon Mar 21, 2022 1:56 pm

3 hours ago Andrew added it to the Toolmatrix.
See ReverseInit.js: https://github.com/qcad/qcad/tree/maste ... fy/Reverse
Still excluded for the ModifyToolsPanel.

That is for a new update/snapshot.

Regards,
CVH

User avatar
petevick
Premier Member
Posts: 392
Joined: Tue May 19, 2020 9:34 am
Location: North Norfolk coast UK

Re: Reverse a lines Start and End points

Post by petevick » Mon Mar 21, 2022 6:17 pm

CVH wrote:
Mon Mar 21, 2022 1:56 pm
3 hours ago Andrew added it to the Toolmatrix.
See ReverseInit.js: https://github.com/qcad/qcad/tree/maste ... fy/Reverse
Thanks for that CVH 8)
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6

Post Reply

Return to “QCAD 'How Do I' Questions”