Tutorial manual for older version of DesignCAD

Started by Albannach, January 17, 2015, 07:49:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dr PR

Al,

One thing that causes confusion for me - and I have been using the program for years - is that when you select several objects the program will create a primary handle for the selection somewhere.

For example, if you use a drag selection box to select several entities the selection handle will be at the center of the selection box, and that will have no relationship to where the entities are. You can see this by:

1. Draw a single object, say a line.

2. Zoom way out, and use the scroll bar to move the line to the side of the screen.

3. Use a drag rectangle that starts at one side of the screen and extends to the other side, with the line within the drag rectangle.

Notice that the selection handle is somewhere near the center of the screen and nowhere near the line? Furthermore, in 3D the handle will be at some depth into the drawing. From what I can tell it is impossible to predict where the handle will be relative to objects in the drawing just from looking at the image on the screen.

Now if you use the Move command without first setting a handle at a known position the selected object(s) will be dragged with the handle that has no relationship to any of the selected objects.

"Select All" (Ctrl A) is a bit more predictable. The handle will be at the geometric center of the selected objects. But it still may not be anywhere near any one of the selected objects.

One way or another you MUST set a handle at a known location before trying to move/copy/replicate an object.

I prefer the "Point Relative" with the "From Reference Point" option when the move is relative to an existing point in the drawing. In other cases it may be necessary to create a geometric construction to find the desired location and them drag and snap to a point.

One shortcut trick is to gravity snap to a point on an object and then immediately gravity snap to the same point. This sets a primary handle at the snap point and starts the "Move" function. Then you can just drag to the desired position and gravity snap again to move the object's handle to the third snap point (or left click to dump the object at the cursor position).

Phil
DesignCAD user since 1987

Albannach

Thanks for all the suggestions, but what used to work for me in the past worked again: ask for help, and the problem solves itself before anyone replies. After sleeping on it, I did what I thought I had been doing all along, only this time it worked. I found that it often worked for my students also (I'm a retired professor): they would show up in my office with a problem they had been working on for hours, if not days, and as soon as they asked me, would say, "Oh! Now I get it!", before I had said a word. I don't understand the psychology behind it, but it seems to work - provided genuine effort has been put into it in the first place.

Dr PR

I suspect we have all been down that road a time or two!

Phil
DesignCAD user since 1987

samdavo

Quote from: prl on February 15, 2015, 01:55:03 AM
,,,
Note the routine puts you in a move loop so if you hit the space bar, you will "walk" the selection.  Press enter when you are at your destination.  I use this routine to "nudge" things left, right, up, down, in, out by fixed distances. 
...
- Moving an object (or selection set) using dx, dy, dz offsets using SM.D3M macro[/url]
prl
Brilliant ...
but
How about dx, dy, dz, rx, ry, rz,
given that there are 6 degrees of freedom ?

prl

#19
Quote from: samdavo on February 16, 2015, 02:41:11 AM
How about dx, dy, dz, rx, ry, rz,
given that there are 6 degrees of freedom ?

The rx, ry, rz are rotations while duplicating or moving a selection?  I wouldn't use the rotations, too much thinking required.  I would rotate the selection first then sm.d3m or scp.d3m  etc.  Or a complicated selection with a rotated destination would use handles.

Also I guess I've posted this sm.d3m routine before but forgot http://forum.designcad.com/index.php?topic=4434.msg26476#msg26476. 

samdavo

#20
prl,
The only reason I suggested a macro that both moved and rotated is that you have that nice feature of a continuum of nudges, and , for instance, you could draw a wheel, and make it roll across the screen, eg on a rail - think of it as a quick  animation :)
or a space station rotating as it floats off into the distance.
or even a threaded bolt being screwed into a plate.

But I can have a go at that one "later"
cheers
PS I see that sm is selection move, and scp is selection copy.

selection-copy-rotate-or-move = ? scrotom?

longjohn

Hello everyone.
I've been going through the forum lately with the same problem as Albannach.

Every once in a while I've been  trying to complete the drawing of my backyard on a document a friend acheived for me.
Even though most of the lines are without curves,none (or very few) are on x or y.
I've stumbled on a way to put a point at an acurate distance on a line from an origin that's on this line.
I've been doing it on first finding the angle of this line from horizontal then using point polar to put a point on my line.But since the angle that I find is with a bunch of decimals, I'm never really ON the line at the end.
I'm sure there's an easier way to proceed, isn't there?

prl

Quote from: longjohn on March 12, 2015, 06:26:15 AM
I'm sure there's an easier way to proceed, isn't there?

Many ways.  Using a circle of a user specified radius and then snapping to the intersection.  Drawing a working line along x using zero as the beginning and then using handles to move and rotate it, etc. . . . .

I would use the v2.d3m macro I wrote.   See this link:  http://forum.designcad.com/index.php?topic=824.msg3881#msg3881

Dr PR

Perhaps the easiest way to find a point P on a line a given distance from another point X is to draw circle (O) with the center on X and a radius of the desired distance from X to P. Then find the intersection of the line and circle.

NOTE: Be certain to use a real circle and not a segmented circle ("Draw as line" option.)

There has been some discussion about the precision of this method, where on occasion the intersection point is not precisely on the line, but I rarely, if ever, see this problem.

****

Another technique is to use "View/Working Plane/Set Working Plane" and set points at the ends of the line. This temporarily reorients your drawing so the line is horizontal. Then you can just use "Point Relative" to set a point P-X units from the X end to set the P point.

Then use "View/Working Plane/Reset Working Plane" to reorient things back to normal.

If you are working in 3D you can use this technique to make any surface the horizontal plane and then build up on that surface. For example, suppose you have a cube that is rotated unknown amounts around all three axes, and you want to build "up" normal to one of the cube's faces. Doing the 3D geometry to calculate the angles would be time consuming. But if you just reorient the drawing relative to the cube face with "Set working plane" you can then use normal drawing functions to build on the face of the cube.

Phil
DesignCAD user since 1987

prl

#24
Reading through the topic I referenced in reply #22, I noticed this was BP (before Phil).  And I noticed Lar who has been missing lately.  Presumably having an affair with another CAD program.

And Impulse is still with us too.  (I checked to see when he last logged on.  Many of our members are age-less or forum immortal, meaning no age given in their member profile).   :)

longjohn

Thanks Dr.
Now that I think of it I have used the circle way once or twice but it just got out of my mind.
I'll try the View/ Working plane way now, but I'm going to wrtie this down and stick the Post-it on the wall in front of me (and on all the other ones)

Albannach

I spoke too soon when I said my problem was solved. I quickly refreshed my memory by reworking the chapters I had studied before, then got to the one on Using Selection Handles under the Adding the Third Dimension heading. I am having so many problems getting the program to do what the tutorial says it will do that I hardly know where to begin. The problem is that the tutorial omits too many steps, and doesn't explain things in sufficient detail, so I often have to guess what it means. For example, when I try to use the Duplicate command in the section where I have drawn a box, it may either do nothing at all, or copy the box to somewhere I don't want it, even when I have used the Point Relative command to specify where I want it. And why does the copy follow the cursor around until I click the mouse, even after I have specified where I want it and clicked on OK? Why does the cursor sometimes suddenly stop as if it has hit a solid barrier, although I can move it freely on the original side of the invisible barrier?

Several times I tried to start from scratch (or at least from the original practice box), but when I used Gravity Snap to set the first handle, all three of the original handles appeared, presumably left over from my previous work sessions. So I tried to remove them using the Remove Drawing Handles command so I could start over, but that command was grayed out. I had lots of other problems, just from this section alone, but listing them all would take up far too much space. I even jumped ahead to the next chapter, on drawing a simple table, with the intention of coming back to the problem chapter, but had similar problems there (along with some new ones).

I don't know what it is about DesignCAD. It is, without exception, by far the most difficult thing I have ever tried to learn in my entire life. About once a year I dig it out and spend another few weeks struggling with it, but never seem to reach even the first learning plateau. I'm no dummy; I'm actually a pretty bright guy, a retired PhD-level scientist with publications in professional peer-reviewed academic journals, and spent an entire decades-long professional career learning (and teaching) advanced academic subjects. Things that most students took an academic term to learn I could often learn in a week. DesignCAD is (literally) the only thing I have ever completely failed at trying to learn. None of the learning tricks I developed and taught over the decades seems to work here. It is a humbling experience. It isn't, as I have been told, because it does things differently from other programs. That sort of thing doesn't bother me at all. If other people can learn it, I should be able to. But so far I have been unable to, and don't know why. I no longer even know what questions to ask.

Some attempts to help have been well-intentioned, but not useful. For example, providing an alternate way to do something. My purpose is not to achieve a specific task for a project, but to understand the commands the tutorial is trying to teach.

Also, for a while, I would receive an e-mail when someone posted a message, but that no longer happens. I seem to recall once clicking on something to say I wanted to be alerted if someone replied, but can't find it.

Dr PR

You aren't the only one who has had difficulties trying to understand the Reference Manual, Getting Started Guide and the various tutorials.

Lets take things one at a time. "Drawing Handles" are just what the name says, but unfortunately it is an ambiguous name. An object's handles are part of the drawing, but they are not "Drawing Handles." "Drawing Handles" are handles for the entire drawing that are used to position the drawing if you paste it into another drawing. Specifically, they are used to set handles on drawings that will be used as "Symbols" in other drawings. You use "Point/Set Drawing Handles" to place them.

So the "Remove Drawing Handles" function doesn't change object handles.

****

DesignCAD may place up to three handles on an object when it is created. It remembers the handles until you change them. If you use "Edit/Selection Edit/Set Handles" and set only one handle (set a point and press Enter) all other handles will go away.

****

DesignCAD has a peculiar schizophrenic behavior with handles and the "Move" (M) and "Duplicate" (N) functions. If you gravity snap to an object to select it a temporary "selection" handle will be set at the snap point. This may be in addition to any previously set primary, secondary and tertiary handles on the object, and may be at a different position from any of the original handles.

Now if you gravity snap to the same point the object will be dragged by the new selection handle. You can repeat this as many times as you want and it always works the same. Only the one new selection handle will be used to position the object.

If you gravity snap to select an object and set a selection handle and then use "Move" or "Duplicate" the object will be dragged by the new selection handle the first time. But after you place the object in the drawing by left clicking or gravity snapping if you use "Move" or "Duplicate" again the object will be dragged by the original primary handle, and all original handles will be used to position the object.

This drives me nuts when I am trying to duplicate an object several times. It is so annoying I have developed a defensive habit of always setting a single handle on an object after I have selected it. So I gravity snap to select the object at the place I want the drag handle, and then I use Ctrl H to set a single primary handle at the same selection point. It is extra work but it kills the schizophrenic behavior when trying to move or duplicate objects.

****

There are two gravity snaps. "Point/Gravity" (period key or right click) moves the cursor to the nearest point and sets a point at that position. "Point/Gravity Move" (comma key) moves the cursor to the nearest point, but does not set a new point.

Other cursor movement functions may work either way. For example, in the "Point/Point Relative" (apostrophe or single quote  key) has an option "Move cursor without setting a point." If this is disabled (the default) the cursor will be moved and a point will be set.

****

The biggest problem in trying to communicate an idea from one mind to another is that we have to use archaic languages that came into existence piecemeal and contain many irrational rules. To complicate things further not each of us understands words to have the same meaning. So when you say or write something using words that have a specific meaning to you another person may apply different meanings to your words and get the wrong idea. Unfortunately, most people don't seem to understand this and just spew out a bunch of words with no thought about what they may mean to someone else.

The folks who write the manuals and tutorials may understand their subjects but they often don't understand the problems of communication (often the task is assigned to "technical writers" who actually don't have a clue what they are writing about). So what they write makes perfect sense to them and is gibberish to others. They often leave out details that are obvious to them without realizing that a newcomer doesn't know those things.

When you run into a problem trying to understand something in the DesignCAD literature just ask here. Maybe someone can decipher it for you and explain how it works.

Phil
DesignCAD user since 1987

prl

#28
Quote from: Dr PR on March 14, 2015, 10:10:39 PM
"Drawing Handles" are just what the name says.  An object's handles are part of the drawing, but they are not "Drawing Handles." "Drawing Handles" are handles for the entire drawing that are used to position the drawing if you paste it into another drawing. You use "Point/Set Drawing Handles" to place them. The "Remove Drawing Handles" function doesn't change object handles.

****

DesignCAD may place up to three handles on an object when it is created. It remembers the handles until you change them. If you use "Edit/Selection Edit/Set Handles" and set only one handle (set a point and press Enter) all other handles will go away.

Boiled down Phil's response, a new macro I developed.  :)

Since DesignCAD will let you do many operations in many ways, all of them equally valid, it is best if you ask short questions referencing what specific tutorial step (section/location in tutorial) is giving you problems. We should be able to fill in the information you need for doing it that way only.

To me it appears you have not grasped the concept of DesignCAD handles. DesignCAD handles are a clever implementation of transformation matrix math.   If you set three handles on an object, it expects three target locations when you copy/move that object.  But you don't have to use all three target points. If you set less than three points, you will need to press the enter key after setting a point to tell DesignCAD you are done with setting points and to finish up the command. That is what the tutorial is trying to show you.  First setting only 1 point (thereby giving only a translation), then 2 points giving a translation and rotation, and then 3 points giving a complete transform (translation with rotation about two axes.)

A movie - A demo of setting 3 handles and then using duplicate with only 1, 2 and 3 destination points respectively

Don't proceed further until you are comfortable with this concept and you can reproduce what is in that tutorial section/movie.

Albannach

Thanks to Phil and prl for the encouragement.

I like Phil's comment: "The folks who write the manuals and tutorials may understand their subjects but they often don't understand the problems of communication (often the task is assigned to "technical writers" who actually don't have a clue what they are writing about). So what they write makes perfect sense to them and is gibberish to others. They often leave out details that are obvious to them without realizing that a newcomer doesn't know those things."

This really hits it, though I'm not sure that they "don't have a clue what they are writing about." I think they know what they are writing about, but don't know how to teach it. People who understand something, but don't know how to teach will often rattle off something like, "Do this, and this, and this, and this, and this . . . . " while the person they are trying to teach is still at the first "this."

With each and every "this," you need to explain every detail of the 'why' as well as the 'what,' and get the student to actually do it, and confirm they understand, before going on to the next "this." However, this isn't always practical unless the teacher and student are in continuous direct communication, either online, on the phone, or in each other's physical presence. The next best thing is a tutorial, but this means that the teacher has to be extremely careful to explain every detail of anything that could possibly be misunderstood. This is a very difficult task, since it is almost impossible to anticipate every conceivable misunderstanding. This is why forums such as this are so useful.

Enough of the general comments. Let me focus on one specific thing: the tutorial section dealing with duplicating a simple box. This is in the chapter called "Adding the Third Dimension," and the section is "Using Selection Handles." Since not only the location, but also the 3D angle and the x:y:z ratios appear to be adjustable, while other things remain constant, this is an example of what mathematicians call an "affine transformation." But there are several subsets of affine transformations, depending on what can and can not be changed.

What EXACTLY remains constant, and what can change in DesignCAD? For example, in affine transformations, straight lines remain straight, but angles may or may not be preserved. Suppose I copy this box to a new location, then rotate it by some angle around a line, which may or may not be parallel to one of the axes. Can I then stretch or compress it along one of the axes and change it into a diamond shape (i.e. perform a shear operation)? I suppose I could experiment and find out, but that's not the point. The point is that the tutorial should explain the EXACT significance of each of the selection handles before getting me to do anything. If the object has just one handle, and gets moved or copied, everything is preserved except location, but if there are two, what does the second handle do? Then the third. The tutorial says, in effect, "Do this, this, and this, and the box will be copied, but is now lying on its side." But it doesn't explain why it is lying on its side, why the angle is a right angle, nor how the rotation axis is related to the handles. And later, it moves and rotates the box, but changes the x:y:z ratio, again without explaining how these changes are related to the handles. This preserves the right angles between the edges, but not the angles between the diagonals and the edges.

The tutorial forgets Pournelle's law, popularized by Jerry Pournelle in the old BYTE magazine from the 1970s: "You can't have too many examples."

Finally, Phil's suggestion of setting a primary handle and a drag handle at the same location sounds like a lifesaver.