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.

prl

#30
Quote from: Albannach on March 15, 2015, 04:46:44 PM
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."

Sorry, you aren't going to find that level of thesis explanation.  You will simply have to try the example, and observe what is happening. It does all make sense and after you do it a few times and contemplate working in 3d space, the nickle will drop.

1 point - you are defining a point in space
2 points - you are defining a line in space
3 points - you are defining a plane in space

In a different topic, the same question was asked.

A movie - Moving a pentagon in 3d using 3 handles

Dr PR

#31
Actually, the way handles works is pretty simple - once you understand it!

The first handle determines where an object will be moved to. The second handle sets a direction for rotation of the object relative to the primary handle.  The three handles define a geometric "handle plane" relative to the object. This plane is constant relative to the object.

There are three basic ways to use handles:

1. One Point. Move/Copy/Duplicate an object using the primary handle. Set a single point to set the new position and then press Enter. This moves the primary handle (and the associated object) to the new set point. In this case the object retains it's original orientation relative to the XYZ axes, but just changes position.

2. Two Points. Move/Copy/Duplicate an object using the primary handle. Set two points and press enter. This positions the primary handle at the first set point and then rotates the object so the line between the primary and secondary handle is congruent with the line between the first and second set point.

In 2D mode this changes the rotation of the object in the XY plane (the angle changes with respect to the X and Y axes). This makes it very easy to rotate an object relative to two other points without having to calculate angles.

In 3D mode this may change the rotation with respect to two or three axes. It can be very difficult to predict the full rotation in 3D mode when only two handles are used.

3. Three Points. Move/Copy/Duplicate an object using the primary handle. The first set point determines the position the primary handle, the second set point determines the direction from the primary handle to the secondary handle, and the third point defines the plane that the three handles lie in. In this case the three handles reorient the "handle plane" of the object relative to the three set points. This makes it very easy to reorient an object relative to a plane (surface) that is at unknown angles relative to the three axes.

****

Note that neither the second or third set points have to be the same distance or angles from the first point as the second and third handles are relative to the primary handle. You can set the second set point anywhere and the line from the first set point to the second set point will determine the orientation of the primary and secondary handles.

Similarly, you can place the third set point anywhere and the three set points will define a plane. The "handle plane" of the object will be rotated around the primary handle to be coincident with the plane defined by the three set points.

So the only set point that must be placed at a precise XYZ coordinate to position the Moved/Duplicated/Copied object is the first point where the primary handle goes. The directions of the other two set points relative to the first are important, but the distance is not.

****

OK, now take a deep breath. That last statement above isn't an absolute truth. IF an object has two or three handles the Move/Duplicate/Copy functions have a "Use Original Scale" option. IF this is selected/enabled everything works as described above.

If the "Use Original Scale" option is disabled you can resize an object just by Moving/Duplicating/Copying it. The distance between the first and second set points determines the distance between the primary and secondary handles. In essence, the ratio of the distance

primary handle to secondary handle
----------------------------------------
primary to secondary set points

determines the scale of the moved/duplicated/copied object relative to the original object. All dimensions of the object are scaled the same amount.

The third set point (if any) determines the rotation of the "handle plane" of the object.

This is a very quick and easy way to rescale an object without having to do a lot of math.

****

Now, isn't that simple?

Phil
DesignCAD user since 1987

Dr PR

#32
Here is an example of how useful three handles can be.

In the "Kingpost rigging.jpg" image notice all the cables that stretch between blocks (pulleys to you lubbers). The tension on the cables determines how the blocks are rotated relative to the cables. If you want an interesting exercise in trigonometry, 3D geometry and physics you can try to calculate all of these angles.

But, if you aren't a math freak or a glutton for punishment there is a very simple way to do this.

****

In the "3 point move 1.jpg" image notice that the block on the left has three handles. The primary handle is the point that the block will rotate around.

The secondary handle is on the axis of rotation of the block about the primary handle. The block has a swivel joint at the base that allows it to rotate around this axis.

The tertiary handle is a point in the plane of rotation of the pulley inside the block.

The diagram on the right shows two red lines that represent force vectors between the primary handles of blocks that are to be connected by cables. The blue and green lines are a simple geometric construction to bisect the angle between the force vectors. The actual lengths of these lines are unimportant. They just determine angles to be used to move the block into position.

****

Now look at "3 point move 2.jpg" to see the Duplication and 3D rotation using the handles.

The first snap point at the intersection of the two force vectors determines the position of the primary handle.

The second snap point anywhere along the angle bisector (blue line) sets the direction of the axis of rotation of the block relative to the primary handle.

The third snap point anywhere along the green line determines the plane of the pulley.

Snap, snap, snap! That's all there is to it! No trig or physics. All that remains to do is to determine the tangents between the two pulleys (not the same as the force vectors!) and draw the connecting cable sections.

Phil
DesignCAD user since 1987

prl

#33
Quote from: Dr PR on March 15, 2015, 09:31:34 PM
In the "Kingpost rigging.jpg"

Phil's kingpost rigging is indeed a great example.  Not even Phil could figure out that math.  Fortunately, the forum showed him the light.  He was a non-believer for a while (until 2008).

Bottom line.

Use 1 or 2 handle points for 2d drawing work.

Use 1 or 3 handle points for 3d drawing work.  (Using 2 handle points for 3d drawing work requires DesignCAD to guess at the 3rd point, so don't do it, use either 1 or 3 points for 3d work.)

Edit:  Since this topic is coming up more often, follow this link for examples.

http://forum.designcad.com/index.php?topic=6147.msg43774#msg43774

Dr PR

prl is right. I never used multiple handles and avoided them like the plague. Instead I would create elaborate geometrical constructions to try to figure out the angles and such.

There was a reason. When multiple handles were introduced to 2D DesignCAD (maybe in the first version in 1986) they served one purpose only - resizing. There was no "Use Original Scale" option. This made it VERY easy to totally screw up a drawing while moving an object - in fact, it was almost certain to happen unless you created a geometrical construction first at the destination and carefully set the handles.

When 3D was added the problem became more serious. So I never used multiple handles.

Then, in 2008, I posted a problem on the Forum, asking if anyone knew an easy way to align the blocks in the kingpost drawing. That's when I learned the "Use Original Scale" option had been added - no telling how many years before. I had been using the program for 20 years and that was the first time I learned the real usefulness of multiple handles! Thanks again to the guys on the Forum!

****

One real complaint I have about DesignCAD is that little changes like that often are never mentioned when they are added to a new version of the program. And the program is always being improved and new features added - often at the request of users on the Forum. DT usually posts a "new features" list for the beta testers, but I don't know how other users are supposed to learn about the new features, especially if they just upgrade every few versions.

Go to the folder where the program is installed and look for "DesignCAD 3D Max Vxx.x Release Notes.pdf" file - if you can find it. This lists the recent changes. But this requires the user to know that these documents exist and where to look for them. But there is nothing to tell a new user about these things - except the Forum.

We have requested that documents like the "Reference Manual," "Getting Started Guide" and "Release Notes" be accessible through the "Help" menu, but that hasn't happened yet.

Phil
DesignCAD user since 1987

prl

#35
Quote from: Dr PR on March 16, 2015, 08:35:22 AM
2008 . . . .That's when I learned the "Use Original Scale" option had been added - no telling how many years before.

Yes, I run up against that too.  Using some sort of work-around that it turns out was solved years ago.

As for the "original scale" setting, missing in the DOS versions and probably added in the early Windows versions.  But definitely is there as of DesignCAD v8, circa 1996.  :)

JJG

I have the old v7 (which works nice on XP !!!)  and is was already there !

prl

#37
Quote from: JJG on March 16, 2015, 11:53:33 AM
I have the old v7 (which works nice on XP !!!)  and is was already there !

JJG, thanks.  So it was introduced in the first Windows version.  Version 7 is 2d only and for Windows 3.1, yes? 

samdavo

Quote from: prl on March 16, 2015, 04:16:33 AM
Bottom line.
Use 1 or 2 handle points for 2d drawing work.
Use 1 or 3 handle points for 3d drawing work.
prl
Always remembering that you can also use 4 handles yes?  Edit/Selection Edit/Fourpoint Move or Copy.
and that goes for 2D or 3D.  (although I've never really used it in 3D) - 2 cents.
cheers

prl

Quote from: samdavo on March 16, 2015, 01:13:55 PM
Always remembering that you can also use 4 handles yes?  Edit/Selection Edit/Fourpoint Move or Copy.

Not a handles command, more of a 2d min/max selection set 4 point mapping command.

Albannach

Thanks again to everyone, especially Dr PR, who has contributed to helping with this issue. I'm going to have to spend a bit of time testing things out based on various people's comments, then I'll report back.

The trouble I have is not with working in three dimensions; in fact I'm off the scale in tests of 3D visualization. My problem is with understanding the incompletely described command structure of DesignCAD. As I mentioned in one of my earlier posts, I even wrote a 3D drawing program in Pascal for the old Commodore 64 way back in the early 1980s. It was as slow as molasses at the South Pole in midwinter (it took about three days to render a simple drawing with simple cosine shading), but it did work.

In the early 1990s I tested a variety of 3D programs, but most of them were useless. The best I ever used  was 3D Design Plus, by ComputerEasy International, which came on three floppy disks (which I still have, and the contents of which I have transferred to my hard drive). The user interface was simple and intuitive, and I learned the complete command structure in a few hours. I never found anything, however complex, that I couldn't draw or animate with it. This included extruded text, straight and tapered linear and helical extrusions, molecular structures, assembled and exploded engineering drawings, as well as graphs from mathematical equations and spreadsheet data. A very small assortment of examples is attached. Unfortunately, all my examples of extruded text seem to have evaporated during one or other of the computer upgrades I have done over the years.

The only downsides (all of which are fixable) were: (1) It had only two orthogonal viewing windows, in addition to the main window, which could show views from any angle; (2) no perspective, only parallel, views; (3) its high-precision shading didn't work very well, so that the facets used to approximate curved surfaces were visible; (4) it didn't have anti-aliasing, so that straight lines would sometimes be jagged; and (5) there was no dimensioning for calculating areas and volumes. I would still be using it if it would work in the newer versions of Windows, but none of the arcane tricks hidden within Windows to run old software will work with it. I wish someone would resurrect and update it.

But back to DesignCAD. I do understand the concept of handles in various numbers of dimensions. My problem is with understanding the DesignCAD implementation of the concept. One thing that has puzzled me all along is why only three handles. To fully describe the location, orientation, skewing, and scaling of a three-dimensional copy of something requires four noncoplanar handles, not just three. If you also want to taper it, you need five. To twist it, six. And so on for however many types of linear reshaping you want. (For nonlinear, you need a high-end mathematical analysis program, such as Mathcad, which is beyond the scope of even the most sophisticated 3D drawing program, so isn't relevant here.) Hero Members samdavo and prl mention the Edit/Selection Edit/Fourpoint Move or Copy command, which sounds invaluable. I took a quick look at it, but I need to spend more time.

Now I'm off to try out some of these suggestions. Thanks again.

Albannach

Two more attachments, since the forum will allow only three per post. The firs three were all in monochrome; these have color.

Dr PR

I think the biggest problem people have with DesignCAD is prior experience with other CAD/drawing programs. Things just don't work the way they expect them to. It is hard to shake off those incorrect assumptions and start over on another program.

Phil
DesignCAD user since 1987

magic

Hi Albannach,

Handles are used for moving stuff about or inserting stuff in your drawing/model.

For skewing, scaling, tapering etc. you use Point Select mode, in which you can work with any number of points as "handles".

Point Select mode let's you do pretty amazing stuff, like moving holes and creating material from holes, see here: http://www.magicsystems.com/Dynamic%20ability.htm
It's a kind of magic!




prl

#44
Quote from: Albannach on March 17, 2015, 06:48:46 PM
My problem is with understanding the DesignCAD implementation of the concept. One thing that has puzzled me all along is why only three handles. To fully describe the location, orientation, skewing, and scaling of a three-dimensional copy of something requires four noncoplanar handles, not just three.

Albannach, you're not going to like my comment, but you are definitely overthinking all this. Your mathematical background is getting in your way.  The old joke of why the Navy doesn't want Phds becoming aviators.  Too busy analyzing wind turbulence and lift on the wings instead of flying.

In 3d, DesignCAD only has 3 handles.  You can translate and/or rotate things with or without scaling.  That's it.

A movie - Handles in 3d - example 3 (with resizing)

And the four point copy/move is not a handles command so don't include it in your "handles" learning curve. Simply get comfortable with what tutorials/demo movies are showing and you'll quickly advance to the next stage of DesignCAD 3d modelling.