DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Move command in V17.2

Started by vexed, December 12, 2013, 09:42:51 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

vexed

After reading several prior threads on the Move command and the .pdf manual that came with DC V17.2 and trying various experiments, I'm still baffled.

In the most simple, monosyllabic terms possible, how do I:

1. Perform a precision move of an object from X1,Y1,Z1 to X2,Y2,Z2?

and

2. Perform a precision move of an object from X1,Y1,Z1 by an amount dX,dY,dZ?

Note that moving an object using the mouse is a non-issue.  It's just not precise enough for my purposes.  My focus with these two questions is on how to enter exact coordinates or exact movement amounts from my keyboard.

Expiring minds want to know....

Jim

samdavo

#1
Vexed -
It's all about handles.
F1 Help gives.:-
QuoteMenu: Edit / Selection Edit / Move
Shortcut Key: M
Moves a selected entity or group to another location. One, two, or three points may be used to specify the new location.

Point 1: New location of the handle
Point 2: New location of second handle (optional)
Point 3: New location of third handle (optional)

Select an object or objects, and then choose the Move command. The options are the same as for the Duplicate command (see Duplicate).
You can also activate this command by moving the cursor over the primary handle. When the cursor changes into a four-sided arrow, you can move the object in one of two ways:

1.   Press the left mouse button and hold. Drag the selection to the new location.
or:
2.   Click the left mouse button once to lock the Move command. Drag, or use any of the point commands, to select a new location. If more than one handle has been set for the selection, you can set more than one point when you move the object.
You can even do a 4 point move, which for instance could be used to give text (or an object) an increasingly italic taper. 
QuoteFour-Point Move
Menu: Edit / Selection Edit / Move
Moves a selected 2D entity or group of entities to another location. Four points are used to specify the new location and any scaling or skewing that is to occur.

Point 1: new location for lower left corner of selection
Point 2: new location for lower right corner of selection
Point 3: new location for upper left corner of selection
Point 4: new location for upper right corner of selection

When the fourth point is set, the selection is moved.

AS for XYZ,  and dx, dy, dz, you should check out point XYZ, and point relative.

After that check out sticky handles and groups - you'll find it's a snack to be as precise as you want.
cheers

Dr PR

Jim,

The key to precise movements is to set a Handle (CTRL H) to define the "from" point for the move and then move the handle. You can set up to three handles to control position, angle and rotation during a move. Only one handle is necessary for simple moves.

****

For movement from X1,Y1,Z1 to X2,Y2,Z2 use the "Point XYZ" function (shortcut is the colon key " : "). Set the handle at X1,Y1,Z1, start the "Move" (M) and use "Point XYZ" to define X2,Y2,Z2. Press "Enter" and the handle will move to X2,Y2,Z2.

Note: "Point XYZ" can also be used to position the handle precisely.

****

For movement relative to a given position use the "Point Relative" function (shortcut is the single quote key " ' " ). Set the handle, start the move and enter the relative X, Y and Z distances. Then press Enter to execute the move.

You have four options for the function:

1. Move relative to the last cursor position. CAUTION: the cursor may move while you are entering values, so the move may not be from where you want it to be from. The mouse cord may drag the mouse slightly to move the cursor. Or after the last mouse move the digitizer may have stopped right on the boundary between a "0" and a "1" and just the vibration from typing may cause the bit to flip (this happens with trackballs too). This happens far more often than most people are aware of. For this reason, "last cursor position" is not a good choice.

2. Origin (0,0,0).

3. Reference Point. After entering the X, Y and Z offsets press Enter. The handle on the moving object will follow the cursor until you set a point (the reference point). Then the cursor moves the relative XYZ distance and sets a point fixing the handle (and the object) in place. You can use the right click gravity snap to set the reference point precisely on an existing object.

4. Last Point. The cursor (handle, object) will move relative to the last point you set while drawing.

****

You also have the "Point Polar" function (shortcut is the semicolon key " ; " ) to move the cursor (handle, object) a given distance and direction.

Phil
DesignCAD user since 1987

DrollTroll

#3
For the relative movement, you also have this option:

Select the object(s). Don't worry about selection handles.
Start the Move command (M key).
Check the box for "From Reference Point".
Gravity snap to your "from" position (or set that reference point by whatever means is best suited to your needs -- midpoint, gravity, intersect, pointxyz, etc.).
Use Point Relative (with "last point" option selected) and specify your offsets.

Basically, choosing the "From reference point" checkbox in the Move command *overrides* where the primary selection handle is and lets you specify any starting position for the move.
25 years with DesignCAD

vexed

Quote from: Dr PR on December 12, 2013, 10:43:21 AM
For movement from X1,Y1,Z1 to X2,Y2,Z2 use the "Point XYZ" function (shortcut is the colon key " : "). Set the handle at X1,Y1,Z1, start the "Move" (M) and use "Point XYZ" to define X2,Y2,Z2. Press "Enter" and the handle will move to X2,Y2,Z2.


Thanks to all who have replied.   Phil, when I do the above steps nothing happens.

In detail:

: produces a pop up window into which I enter the coordinates of a point which I'm sure resides entirely within the solid I want to move (a simple cylinder, in case it matters).    A point within the solid appears; on top of the point is the 4 way arrow.

M does absolutely nothing.

<Real time interrupt>........   I just figured something out.

"M" does nothing.  True.  However "m" does invoke the move command.   WTF???  That's different from the indicated shortcut on the pull down menu entry for the Move command and from what you wrote.

Oh, and following "m" with ":" does, indeed, produce a move to an absolute point I specified.   So that now works and I'll go on to trying to figure out relative movement.

But for now, "M" or "m"..... what's going on?

Jim

Lar

#5
Quote from: vexed on December 13, 2013, 05:40:32 AM
But for now, "M" or "m"..... what's going on?
Are you holding the shift key to get the upper case 'M'? That would register as a different shortcut than 'M' with caps lock on.

Lar

vexed

Quote from: Lar on December 13, 2013, 07:11:20 AM
Quote from: vexed on December 13, 2013, 05:40:32 AM
But for now, "M" or "m"..... what's going on?
Are you holding the shift key get the upper case 'M'? That would register as a different shortcut than 'M' with caps lock on.

Lar

Huh?????????  Shift-m isn't the same as Caps-Lock-m????? 

<short pause while I investigate>

Well, I'll be.......   true enough.

That, in my not-always-humble opinion, is a bug..... or at least a major inconsistency.

Follow my thinking......   To get the "M" command to work, I have to use Caps-Lock-m because Shift-m is different.  But to get the ":" operation to work, it's the opposite:  I have to use Shift-; because Caps-Lock-; produces, well, ";" not ":".

Is this documented somewhere?  If not, how is a user supposed to discover that all "M"s are not created equal?

Are there any cases for which "M" means Shift-m?

Jim


Bob P

I would call it a feature rather than a bug.  It makes it possible to create yet another keyboard shortcut with shift-m.  As long as you understand that DC polls only the keyboard presses (rather than a current caps-lock state), it all makes sense.

Lar

In terms of shortcut keys: 'm', shift+m, shift+ctrl+m, shift+ctrl+alt+m, shift+alt+m, ctrl+m, ctrl+alt+m and alt+m can all be assigned to different commands (did I leave any out?). Adds up to a lot of possible shortcuts (yet still not enough).

See the 'keyboard' tab in the Options dialog for assigning your custom shortcut keys.

Lar

vexed


Quote from: Bob P
I would call it a feature rather than a bug.

We are probably going to end up agreeing to disagree over this.   

My perspective is that DCAD is promoted as simple and intuitive.  Yet in trying to learn how to use a particular feature I'm flummoxed by the disconnect between what I read in the available documentation vis a vis the operational behavior of the software.

To review:

"M"(shift) is NOT equal to "M"(caps lock)
(If it walks like an "M" and quacks like an "M".........)

however

"m" IS equal to "M" (caps lock)

If the available documentation explains this, it does so in a location I've yet to discover.

Quote from: Lar on December 13, 2013, 08:34:32 AM

See the 'keyboard' tab in the Options dialog for assigning your custom shortcut keys.


Checking the key mapping:



Hmmmmm..... that shows only an "M" with no special mention of what key strokes it actually represents.

I remain of the opinion that this  is a bug in the user interface.   Going forward, of course, I now know how to work around this anomaly.  Getting to this point, though, has required an inordinate amount of experimentation and head scratching.

I genuinely appreciate the help, though.  Let me be clear about that.  And I can't imagine any other software package for which so much generous help is available.  I just wish I didn't seem to need it each time I try to get DC to do something.  I'd be so much farther down the learning curve by now.

Jim




vexed

To put a slightly finer point on this, a search of the entire .pdf Help file fails to turn up a single mention of the phrase "caps lock" or of the phrase "Caps Lock".

samdavo

#11
Jim
imo, a beauty of hotkeys is that you hit one key (m).
and not have to worry about the Shift or Ctrl or whatever key.

I even add "I" as infobox to my customised keyboard hotkeys;
I leave "Ctrl+I" ( the default) there as well - as an option,  \
but I (edit - I mean "i")  is much quicker and easier.

(edit - that is all lower case I btw - you are the first I believe to have this problem of interpreting it as the capital version)

And as others have said M (Shift+ m) is different to m.
and different to Ctrl +m, and Ctrl+Shift +m etc
PS in Paperspace, reassigned hotkeys like "I" don't work, and you have to remember "Ctrl + I" - 2 cents.
in other works, there is no "I" in either "team",
OR paperspace :)

(or if there is, it doesn;t mean reassigned infobox lol)

PS I guarantee you, you will read your own post again in 6 months, and scratch your head as to why you were scratching your head lol.

Dr PR

Jim,

I agree that this may appear as an inconsistency. The Reference Manual says to use the "M" key, but it doesn't say to use the lower case "m."

However, what it says is correct. The key is labeled "M" and not "m," and it is universally called the "M" key. Throughout the Manual the program tells you to use "Shift+X" and "CTRL+X" for certain commands. This is the typographical convention mentioned on page 2 of the Manual.

You run into this sort of problem when you first start to use a new program. But you will quickly get used to it. And if you do start using shortcut keys, even assigning your own, you will appreciate the difference between "M", "Shift+M," "Ctrl+M," "Ctrl+Shift+M," etc.

****

For what it is worth, your keyboard simply reports key presses to the operating system, so pressing the "M" key sends a unique code. Pressing the "Shift" key and the "M" key sends two codes. When you release the keys the keyboard sends more codes telling the OS that you have released the keys. It is up to the program to interpret the "M" code as a lower case "m" and "Shift+M" codes as an uppercase "M."

When you press "Shift+M" DesignCAD will normally attempt to interpret this as a unique command and not a letter of the alphabet. However, if you are entering text the program will translate the "M" code into a lower case "m" and "Shift+M" to be an uppercase "M."

However, the "Caps Lock" key code reverses the way most programs interpret key presses for text. So when "Caps Lock+M" is depressed the codes are interpreted as an upper case "M" and "Caps Lock+Shift+M" codes are interpreted as a lower case "m."

This is the way programmers think - what comes from the keyboard is not text, but codes, and they can mean anything.

Phil
DesignCAD user since 1987

Lar

Quote from: vexed on December 13, 2013, 09:48:07 AM
To put a slightly finer point on this, a search of the entire .pdf Help file fails to turn up a single mention of the phrase "caps lock" or of the phrase "Caps Lock".
Vexed,

Using the term "Caps Lock" was my attempt at a quick explanation to your query, not IMSI's.

It is generally understood that on a computer system caps lock is not used in shortcut key combinations like shift, alt (alternate) and ctrl (control). It just so happens that pre-computers shift was always used to cause the upper part of a type face hit the page (ie, to get capital letters and the symbols over the numbers) and that carried over with the use of computers. However, on computers, when used for shortcuts, shift in combination with a letter or number ignores the upper case tradition and the program is only concerned with the key combination. This is common with 99.99% of programs. Generally, shift is recognized for uppercase only when a text field is active. Have you ever tried to copy something to the clipboard in any program using ctrl+shift+c. It won't work. However, ctrl+C (with caps lock on) would work.

Sounds like the concept of shortcut keys may be a challenge for you. You should probably stick to the menu for issuing commands. In the menus, at the right of the commands that have shortcuts are the shortcut key combinations (also called hot keys). They are written there for you to get familiar with when you feel ready to take the plunge back into the use of shortcut keys.

Lar