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.

Quick way to draw some solids

Started by samdavo, May 31, 2014, 04:16:14 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

samdavo

I am confident this will be a very short thread, lol  :)
A quick way to draw / sketch an undimensioned box :- (edit) and orthogonal :-

Just
a) choose the "box" from the toolbox
b) click a point and simply move the cursor to the north-east (you get a rectangle either in the XZ or XY plane depending on angle of view)
c)  pause, then continue to the north east, this time with Ctrl+Shift depressed (you get the third dimension of the box, height or depth respectively)

In the attached png's, the first three are when you are looking more from the top - i.e. more at the XZ plane than the XY plane (see the xyzhere axes);
the fourth png shows what happens when you are looking more from the front - i.e. more at the XY plane than the XZ (2 cents).

Either way, you are left with an orthogonal (solid) box, handy for stretching, modifying etc.

samdavo

#1
Likewise, a quick way to draw / sketch an "orthogonally oriented" sphere (undimensioned),
Just set the two points ( for centre and end of radius) with "Shift" pressed before setting the second. (1.5 cents)

PS Looking for Rocket Science? - try another thread lol.

(edit) sometimes Shift key forces X direction,  sometimes Z direction,  depends on angle of view (similar to box above).

samdavo

#2
Same same with a cylinder,
setting the second point with Shift depressed will ensure the base is orthogonal ( and incidentally  the axis is then vertical).

In fact same same with many similar solids that require three points.
(As mentioned above Shift can force X direction, but can also force Z direction).

magic

Hi Sam,

I had a look at this thread and I thought: "Everybody knows that!" and then I thought: "or maybe they don't!"

Anyway:

  • SHIFT forces X-direction
  • CTRL forces Y-direction
  • CTRL+SHIFT forces Z-direction
This thread should have been placed under Tips and Tricks.
It's a kind of magic!




samdavo

#4
well couple of points magic :-
1.  It was You who pointed out to me (accidentally or intentionally) that
a) Shift was more powerful and reliable than
b) Ctrl or
c) Ctrl+Shift :) thanks.   
I mean, I always knew that those three were supposed to work like that, but (for a while there) I found the most reliable is Shift.
  (edit) but read on , because even it isn't reliable - PS welll ... (reworded)  IT IS RELIABLE IN THAT IT IS ALWAYS ORTHOGONAL - which is more than can be ALWAYS said for b) and c) -  Just that it might give you Z direction sometimes - but that's not necessarily a  biggie. 

2.  You are right - probably everybody knows the principle, but do they use Shift when they draw / sketch a simple (PS orthogonal) sphere? or a cylinder?

3. Not sure why the cylinder and pyramids etc have a horizontal base when only two points are set, the second with Shift, but they do, and it's worth knowing imo.

4.  In the case of the box, does everyone know that a single swipe to the North East (with the cursor) adding Ctrl+Shift halfway through - will give you a box?

5. Note another (ok minor) point that I try to make above - that strictly Shift is not necessarily locking X.   It sometimes locks Z.   Try it yourself :-
a) looking more on the XZ plane, and then
b) looking more on the XY plane.
(Maybe I have a strange setting clicked somewhere, maybe under Options\General (?).   I've only ever noticed option b) before.   Either way you still get an orthogonal sphere / cylinder / pyramid etc if you use Shift to set the second point.) 

6. Likewise with the box, Ctrl+Shift sometimes locks X and sometimes locks Z, again depending on whether you are   
a) looking more on the XZ plane, or 
b) looking more on the XY plan

7. As for putting this on Tips and Tricks, you're probably right.  I thought about that, but didn't want to insult the people who post there, this being such a trivial matter. 
cheers
sam

samdavo

#5
Magic
try this
load this file.
Check that the the Isometric view has horiz angle = 45 and vert angle = 50 degrees ( i.e. more than 45 degrees).

In summary you are looking down on the XZ plane more so than looking at the XY plane.

ok,  choose draw a vector (can be ordinary vector, or ortho-vector)
Start at A.
Hold Shift and move the cursor,
Do you go to point B?  or point C?  (I get point C - WHEN I am looking down on the XZ plane like this).
Incidentally B is X dirn, and C is Z direction.
i.e. Shift is locking Z direction yes?

Note that Ctrl + cursor ALSO moves to point C;
and Ctrl+Shift + cursor moves vertically.

(edit)wow - Just reopened that file - and I'm having trouble reproducing that problem (at least for Shift = X or sometimes Z).  weird or what.
But as per first post ...
When you draw the box, Ctrl+Shift still gives height (Y) of the box after the initial rectangle is drawn on the XZ plane.
Lower the vertical angle to 30deg, Ctrl+Shift gives Z-depth after the initial rectangle is drawn on XY (2 cents)


samdavo

#6
Note that all this is peripheral to the point of this thread, i.e. whether Shift gives X or some other direction.

The point is that a single movement to the north-east gives a 3D box  (irrespective),  with Ctrl+Shift for half that movement.

Also hitting Shift when you set the second point of
a) a sphere, or
b) a cylinder tube, pyramid, truncated pyramid, ellipsoid etc etc
will give you an orthogonal solid.

As for the orientation of that solid lol ...
Don't know what's going on, except that I enclose rendered versions of
1) Take 1  (which is what I found when I posted reply  #3), - where Shift meant Z dirn for some reason, and the subsequent axis was normal to XZ;
and
2) Take 2  (which is 90 degrees different on both grounds) - where Shift menat X dirn as expected, and the subsequent axis was normal to XY.

But to be honest it doesn't change the principles of what I was trying to say.
PS and rotating an orthogonal solid by 90 degrees is no big deal in any case.
cheers


prl

#7
Quote from: samdavo on June 01, 2014, 01:11:05 AM
whether Shift gives X or some other direction.

Because things are so shifty  ;) depending on viewing angle, I tend to have all my basic solids created with basiccad. Cube, draws a cube 10x10x10, etc. Once a goby solid has been created at a generic size, you can (most often) use the infobox to change the dimensions to what you really want.  Lots of way to get almost-parametric.

magic

Hi Sam,
Quote from: samdavo on May 31, 2014, 10:06:21 PM
Magic
try this
load this file.
Check that the the Isometric view has horiz angle = 45 and vert angle = 50 degrees ( i.e. more than 45 degrees).

In summary you are looking down on the XZ plane more so than looking at the XY plane.

ok,  choose draw a vector (can be ordinary vector, or ortho-vector)
Start at A.
Hold Shift and move the cursor,
Do you go to point B?  or point C?  (I get point C - WHEN I am looking down on the XZ plane like this).
Incidentally B is X dirn, and C is Z direction.
i.e. Shift is locking Z direction yes?

Note that Ctrl + cursor ALSO moves to point C;
and Ctrl+Shift + cursor moves vertically.

(edit)wow - Just reopened that file - and I'm having trouble reproducing that problem (at least for Shift = X or sometimes Z).  weird or what.
But as per first post ...
When you draw the box, Ctrl+Shift still gives height (Y) of the box after the initial rectangle is drawn on the XZ plane.
Lower the vertical angle to 30deg, Ctrl+Shift gives Z-depth after the initial rectangle is drawn on XY (2 cents)

I get this:

  • CTRL forces Z-direction
  • SHIFT forces X-direction
  • CTRL+SHIFT forces Y-direction
I'm not worried about it. You see it the first time you try it and then you adapt.
Quote from: prl on June 01, 2014, 03:02:29 AM
Quote from: samdavo on June 01, 2014, 01:11:05 AM
whether Shift gives X or some other direction.

Because things are so shifty  ;) depending on viewing angle, I tend to have all my basic solids created with basiccad. Cube, draws a cube 10x10x10, etc. Once a goby solid has been created at a generic size, you can (most often) use the infobox to change the dimensions to what you really want.  Lots of way to get almost-parametric.
As I have shown before in the magic matter thread, I tend to use the Point Select mode and select several points at a time.
It's a kind of magic!




prl

#9
Quote from: magic on June 01, 2014, 08:30:43 AM
I get this:

  • CTRL forces Z-direction
  • SHIFT forces X-direction
  • CTRL+SHIFT forces Y-direction

Magic, what Sam is demonstrating is that SHIFT can also force a Z direction depending on your viewing angle.  Now if you change the viewing angle number back to 45 or less in the view toolbar (the first field), SHIFT will force a X direction.  So it really does depend on how you look at it.  :)

DesignCAD can be Shifty - a movie

samdavo

#10
My MAIN point in reply #1 and #2 was meant to be (or should have been - in hindsight) - that you get two points EXACTLY on a local X axis (**) - and hence an orthogonal solid - if you use SHIFT when setting the second point.    (The same can't be said for CTRL or CTRL+SHIFT),  viz :-

Quote from: magic on May 31, 2014, 09:10:19 PM
Hi Sam,
I had a look at this thread and I thought: "Everybody knows that!" and then I thought: "or maybe they don't!"

Anyway:

  • SHIFT forces X-direction
  • CTRL forces Y-direction
  • CTRL+SHIFT forces Z-direction
Magic
I imagine everyone knows broadly what you are saying, but are they all aware that there is a difference between these 3 effects :-
i.e.
(a)  if you draw a vector with the second point set by moving the cursor with SHIFT pressed, you get X direction EXACTLY, even if you've wobbled around a bit before starting the operation of moving the cursor in roughly that direction
(b) but doing this with CTRL will be APPROX Y direction (depending on how careful you are with that operation)
(c) and CTRL+SHIFT will also be APPROX Z direction (ditto).

Or expressed another way, SHIFT reliably gives you an orthogonal solid,
but CTRL or CTRL+SHIFT will not.

PS (**) although I somehow managed to get Z direction back there.  Please ignore that as a distraction.
PS I will post other examples of why SHIFT is more powerful than CTRL (or CTRL+SHIFT for that matter - but I'll stick with 2D from now on).

prl

#11
Quote from: samdavo on June 02, 2014, 01:17:54 AM
Or expressed another way, SHIFT reliably gives you an orthogonal solid,
but CTRL or CTRL+SHIFT will not.

The nickle dropped for me.   Good observation.

By the way, the shifty movie does in fact capture this orthogonal correction inherent in the shift key.  I didn't notice the difference until I did the exercise with only Ctrl or Ctrl+Shift.  In those cases, my demo line was not constrained to one of the primary axes as I would have guessed.

samdavo

#12
thanks prl
Here is a sketch of the same thing (although you don't need convincing).

If you start at A (first point), wobble the cursor to B, hold SHIFT whilst you move it to C, and set the second point, what do you get when the line is drawn ?  In fact you get AD, where AD is truly horizontal.

Conversely, if you start at E (first point), wobble the cursor to F, hold CTRL whilst you move it to G, and set the second point, what do you get ?  In fact you get EG (not EH) - and EG is not truly vertical.

PS - and thanks for your movie - and you also found that problem of Shift locking Z,  what the??  lol.
Btw Here's (further) evidence that Shift can change from X to Z.
If you look at the two png's in reply #6, Take 2 could be explained as just "more XZ than XY" compared to Take 1, which is "more XY than XZ",  hence the 90 degrees rotation.

However the thing that I'd like to mention / refer to, is the shape of the ellipsoid.  Both were drawn with centre, then SHIFT + cursor to set the end of long axis of cigar, then a short distance to give diameter of cigar.
In Take One, the cigar is in the Z direction,
In Take Two, the cigar is in the X direction.





samdavo

And here is a more normal case that I personally run into ...

Suppose you want to add the diameter of a circle with a leader at the end.
If you want that leader to be perfectly horizontal, then use SHIFT when you set the third point.

NB you only need to click SHIFT as you set the final point - forget about wobbling the cursor in the interim.

However if you use CTRL, you don't get a vertical leader.
In the attached png, ABCD  and EFGH have the same meaning as in the previous post. 
And  yet again, AD is horizontal, whereas EG is not vertical. (2 cents)

samdavo

#14
Dimensions on 3D objects seem to be easier if  they are orthogonal -  and made up of say 24 or 36 sides etc.  (2 cents)
Personally I have yet to do a DCAD drawing that includes 3D dimensions on a 3D object.  Maybe I'm slack but it seems so much easier to
a) do the 3D drawing of the object
b) make a screensnap
c) stick it into a 2D drawing (as a jpeg) where you find all the notes and dimensions.  (2 cents)