moving objects with keeping one coordinate as is

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
User avatar
Krischu
Premier Member
Posts: 150
Joined: Thu Jul 04, 2019 8:11 am

moving objects with keeping one coordinate as is

Post by Krischu » Wed Sep 23, 2020 4:43 pm

When I do a MV on selected objects one normally selects to reference point and then tha target point.

I can enter the target points ccordinates into the command line. When doing this, how can I say that e.g. X gets a new explicit value but Y keeps the coordinate (which I don't know by value at this moment). Something like

10; *

?

What is the placeholder for current ccordinate?
--
Christoph

Rantanplan7
Senior Member
Posts: 107
Joined: Wed Dec 06, 2017 4:06 pm
Location: Germany - Heidelberg

Re: moving objects with keeping one coordinate as is

Post by Rantanplan7 » Thu Sep 24, 2020 11:27 am

If you want to move Zero, you just have to put "0" in. :lol:
Best Regards

Sven

QCAD 3.27.6.0 / Windows 11 Professional 64-bit / 16 GB RAM, i5 [email protected], SSD
(former Autosketch 10 user)

wiekiera
Newbie Member
Posts: 8
Joined: Fri May 22, 2020 4:57 pm

Re: moving objects with keeping one coordinate as is

Post by wiekiera » Thu Sep 24, 2020 3:29 pm

Hi Christoph,

Maybe the relative coordinates would do the job?
If you chose a reference point then you can type coordinates relative to your reference point.
Reference coordinates are preceded with @.

So if you chose 10,0 as your reference point and type @5,6 afterwards your object will move to point with absolute coordinates of 15,6.

Greetings,
Jakub
Windows 10; QCAD 3.26.2 Pro.

Panchdara
Premier Member
Posts: 188
Joined: Wed Nov 25, 2015 4:15 pm

Re: moving objects with keeping one coordinate as is

Post by Panchdara » Fri Sep 25, 2020 7:59 am

Hi Christoph,

A couple ways I think.

Using MV I don't think you can explicitly "anchor" any particular point, but only move the entity(ies) either to absolute reference point or to a relative reference point. Use @ in command line for a relative point, using 0 as X or Y to keep that axis same value. ie to shift entity 2 units along x-axis, use "@2,0" - likewise to move 2 units in y-axis use "@0,2". I think you got that sussed.

Now for the interesting bit (I'm going to use a simple line as an example):
Say you want to move one point 2 units along the x-axis, but keep the other point fixed.
1) Select the point you wish to move (not the line, but the point) and move it somewhere, just a smidge for instance.
2) Let the left mouse button off. Command line says "Target point of reference point". Press SPACE to enter command line.
3) Enter either absolute or relative target point (can also use polar coords I think) - in this case @2,0. Press ENTER
4) New line extended/altered/shortened with anchored point(s)

I think the MV moves the entire entity(ies), not just a point?

Best

edit: I hope I've not gone off on an unnecessary tangent... (pun intended :roll: )
Windows 10

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

Re: moving objects with keeping one coordinate as is

Post by CVH » Fri Sep 25, 2020 10:09 am

Panchdara,
The command line is indeed the best practice with single inputs. :!:
MV is great in moving items in a set.

Relative and absolute don't mix.
No relative move to an absolute restricted position, there is nothing as a fixed value placeholder that I know of.

Relative Polar works similar: 5 to the right = @5<0 ; 5 up = @5<90 and easier angled.
And no, Polar doesn't mix with Cartesian. (a topic that passed by a while ago) :oops:

Another way would be locking your relative and use an othogonal snapping restiction.
On the other hand:
10, 0, 5, 6, 15, 2 ... in any case is using the grid quicker. :roll:

Use MV with any grid reference and use an ALT snapped grid reference to move along one axis.
Those reference can mean something in the design but one could use refs that are way out there.

Another way would be to duplicate and edit only the X or the Y property to a new one.
Edit it to a formula to move relative, use a fixed value when needed. e_geek
Or the same for some entities grouped in a block and exploded afterwards.
Or simply use blocks for duplicates.

Try out a horizontal or vertical or slanted auxiliary that crosses your work at a specific place.
Now the intersection can be a reference and the auxiliary a direction that can cross something else.
No odd numbers for offsets are needed. Move selected From ... To ... 'as is'. Wipe auxiliaries.

It all depends on what one would like to achieve :wink:

Regards,
CVH

Panchdara
Premier Member
Posts: 188
Joined: Wed Nov 25, 2015 4:15 pm

Re: moving objects with keeping one coordinate as is

Post by Panchdara » Sat Sep 26, 2020 7:04 pm

CVH wrote:
Fri Sep 25, 2020 10:09 am
Panchdara,
The command line is indeed the best practice with single inputs. :!:
MV is great in moving items in a set.
And I quote what I stated above:
"Using MV I don't think you can explicitly "anchor" any particular point, but only move the entity(ies) either to absolute reference point or to a relative reference point."
and
"I think the MV moves the entire entity(ies), not just a point?"

entity(ies) == "set"

I was only trying to figure a way to help give an avenue to the solution that Christoph asked. I'm not sure where the :!: came from.

"... there is nothing as a fixed value placeholder that I know of" you stated makes sense. Thank you, I am certainly not aware of that, but I had thought of it. Like in a spreadsheet using $x$y or x$y or $xy...

Anyway, after 2nd paragraph you lost me. I shall dissect and figure out.

Your posts have been very useful.

Best
Windows 10

Post Reply

Return to “QCAD 'How Do I' Questions”