Chapter 5 The View Menu.
5.1 Animated Rotation.
5.2 Grid Spacing.
5.3 Grid On/Off.
5.4 Limits.
5.5 Pan.
5.6 Reset Zoom and Pan.
5.7 Snap Width.
5.8 Non-orthogonal Snap.
5.9 Snap Mode.
5.10 What Is It?
5.11 Zooming.
Chapter 5
The items in the "View" menu set what you see on the drawing board and the appearance of the drawing that is on it. In addition the "Limits" set how the drawing is printed out.
The View Menu.Back to Fun with Transistors.
Back to Fun with Tubes.
Back to Table of Contents.
Back to top.
5.1 Animated Rotation.
This function grew out of a need to design a swing out storage cabinet. Any interferences that may occur are best found on a computerized drawing rather than after the design has been rendered in plywood. While it is possible to use the Rotate function experience shows this to be tedious.We will begin with a very simple drawing.
- Type control N and draw one straight line anywhere on the drawing board.
- From the "View" menu select "Animated Rotation".
- Click the line, it will turn gray.
- Click one end of the line.
- In the dialog that appears, set the "Angle Step (Degrees)" value to 1.
- Press TAB and enter .1 in the "Time/Step (Seconds)" box.
- If it is checked, uncheck the box labeled "Override Center Point Mouse Click".
- The coordinates of your second mouse click will show in the "Center Point (X,Y) box.
- Type "90" in the "Stop When Total Angle =" box.
- Click the "GO!" button.
- After the line stops rotating a button labeled "Restore" will appear near the upper left corhner of the drawing board.
- Click this button and the line will return to its original position.
- Play with changing the values to acquaint yourself with how they effect the action of the animation.
If you set the "Time/Step (Seconds)" less than 0.001 an error message will appear. The time entry is converted into milliseconds. A seconds value of less than 0.001 will be converted into 0 milliseconds and will trigger the error message.
Now we will get a little more complicated with Figure 5.1. This is a drawing of a closet door. The dwg file is included with the download version of this manual. The file name is "MaxCAD_Manual_5-01.dwg".
Figure 5.1 Drawing of a closet door in a wall.
You probably have noticed that I forgot to tell you to click on the part of the hinge that is mortised into the door. Click on the restore button near the upper left corner of the drawing board. If you are so inclined, repeat the steps above but this time select the part of the hinge that is supposed to rotate with the door.
You should have also noticed that the door did not catch on the frame as it opened. If you didn't, run the simulation again. You may want to set the stop angle to something less than 90 degrees so the time to completion will be shorter.
Now type Control O and load the file "MaxCAD_Manual_5-02.dwg".
Figure 5.2 Drawing of a closet door with storage box installed.
Lay a ruler on your computer screen and measure along the back line of the box. Decide how much needs to be cut off to clear the door jam. Draw in the new box before deleting the old one.
Start at the top right and draw to the top left, then down. Lay the ruler back on the screen and stop the vertical line short of the bottom line by the amount you measured above. Click and draw the line to the right until it hits the door. Make sure it is exactly horizontal and right click. Now delete the old box outline.
Now run the animation again and see if your adjustment gives the clearance you want. Remember this is wood work. Even if you measure 10 times the dimensions are never going to come out perfect. So leave a little extra clearance to allow for errors.
You could solve this problem with the original rotate function, infact I did before adding the code to make the animation happen. The problem is, to get the interfering objects exactly in the right place you have to fiddle the angle back and forth and by the time you get it there you don't know what the rotation angle is to get it back to the original position. Very little code was required to make this function. All I had to do was to call existing routines.
Back to Fun with Transistors.
Now you can play with various limit settings both large and small to see how they work. After the limits have been set the screen is automatically zoomed to 100 percent for those limit settings.
If the drawing is wider than it is high, do this.
In this program the pan command moves the drawing board. If you pan to the left the objects will move to the left.
Press F11 or select "Reset Zoom and Pan" from the "View" Menu.
That's all there is to it. It comes in handy if you have done a lot of zooming and panning. Try zooming in by pressing F4 until you can only see part of the drawing. Now experiment with panning around the screen. Then press F11 to quickly get back to 100 % zoom.
Back to Fun with Transistors.
Back to Fun with Transistors.
As you move the mouse you will see that the cursor jumps 0.2 inches in the X direction but 0.4 inches in the Y direction. This comes in handy if you need to snap fractional inches in one axis and decimal values in the other. I have run into this situation when designing a bookcase.
If you type a single number without a comma the program will assume you meant to type the same number for both axes. When you press F8 again you will see that X snap and Y snap have been set equal.
Back to Fun with Transistors.
There are 4 snap modes. They are;
Back to Fun with Transistors.
Selecting "Zoom Out" from the "View" menu or pressing F3 will zoom out from the drawing about 25 % each time the menu item is selected or the F3 key is pressed.
Zoom in is limited to 800 % and zoom out is limited to 0.01 %.
If you made your practice drawing exactly like mine there is a place where an arc goes past the angle a little so the line which was supposed to meet the end of the arc, hits it at a tangent. If you don't have such an item in your practice drawing, add one to it. Let's practice zooming and panning.
Figure 5.3 Screen shot of zoomed in drawing.
Back to Fun with Tubes.
Back to Table of Contents.
Back to top.
5.2 Grid Spacing.
Type Control N or select "New" from the "Files" menu. You will see a black screen with green dots on it. These dots are the grid. They help the user to know if a line is parallel to the X or Y axis and quickly estimate distances.
Back to Fun with Transistors.
Back to Fun with Tubes.
Back to Table of Contents.
Back to top.
5.3 Grid On/Off.
This function turns the grid on and off. The grid appears only on the screen and is not sent to the printer or to the HPGL plotter file.
5.2.1 Using the Function Key F6.
5.2.2 Selecting from the menu.
Back to Fun with Transistors.
Back to Fun with Tubes.
Back to Table of Contents.
Back to top.
5.4 Limits.
The limits set how much of the drawing board is covered by the grid. They also set how much of the drawing board is sent to the printer.
5.3.1 Manually setting limits.
5.3.2 Automatic Limit Settings.
Notice that the zoom has been readjusted to almost fill the screen and the grid now also fills the screen. Press F3 to zoom out to better see this.
5.3.3 One-to-one Scaling a Drawing to the Printer.
If you are making a printed circuit board or label for a control panel you need to know the scaling between the screen and printer page. Here's how.
If the drawing is taller than it is wide, do this.
5.3.4 One-to-one Printing of larger drawings.
If part of the drawing is outside of the limit settings it will not be printed. Suppose you have a drawing which is 15 inches wide and 6 inches high. To print this drawing do this.
Back to Fun with Transistors.
Back to Fun with Tubes.
Back to Table of Contents.
Back to top.
5.5 Pan.
In some graphics programs the pan command will move the camera. That is if you pan to the left the objects on the drawing board will move to the right. I find this confusing.
Back to Fun with Transistors.
Back to Fun with Tubes.
Back to Table of Contents.
Back to top.
5.6 Reset Zoom and Pan.
This function resets the Zoom to 100 % and centers the drawing limits in the screen window.
Back to Fun with Tubes.
Back to Table of Contents.
Back to top.
5.7 Snap Width.
The snap width sets how far the MaxCAD cursor jumps with each snap.
You will see that the dotted cursor can only be positioned on the green dots which are 0.4 inches apart. The small solid cross is generated by Windows and apparently cannot be turned off. I would if I could find a way. The larger dotted cross is generated by MaxCAD and is the actual working cursor. Mouse clicks are registered on the snap positions. Play with different values of Snap Width.
Back to Fun with Tubes.
Back to Table of Contents.
Back to top.
5.8 Non-orthogonal Snap.
Press F8 and type ".2,.4" without the quotes and press the TAB key.
Back to Fun with Tubes.
Back to Table of Contents.
Back to top.
5.9 Snap Mode.
It will appear as if this is somewhat redundant. Well, it is. The Snap Mode routine was written first. Non-orthogonal Snap was added later. It was decided to leave Snap Mode in place to avoid any compatibility problems.
5.8.1 Changing Snap Mode Using the Menu.
Note. The menu shows the current setting of the snap mode. When you select it the mode advances to the next setting but the menu closes so you can't see the change take place. That's why it's displayed on the screen.
5.8.2 Changing Snap Mode Using the Function Key F9.
It is assumed that you have just finished the steps in section 5.8.1.
If you didn't notice it before, pay attention to the mouse cursor position legend just in front of the word "Snap". Repeat steps 1 through 8 above and notice that the number of decimal places in the position display changes. Set the "Snap Width" to 0.25 and note how the position coordinates are displayed. No more decimal places are shown than required to fully characterize the cursor position.
5.8.3 Changing Snap Mode on the Fly.
The F9 key may be used to change snap mode even in the middle of a draw command. The following example may seem a little artificial but It is likely to happen to you eventually. The snap values have been made atypically large to make the steps easier to perform.
The corner formed by the two lines is as perfect as if it had been drawn with snap on. If you zoom in to 800 percent you will see that neither the corner nor the arc hitting the line are as perfect as they first appeared. When performing operations of this sort it is a good idea to zoom in as far as possible before performing the steps. You may not change the zoom setting in the middle of a draw command.
Back to Fun with Tubes.
Back to Table of Contents.
Back to top.
5.10 What Is It?
No, I'm not asking you, that's what you can ask MaxCAD. This command may be of more use to me than it is to you but it's there if you ever need it, or are curious. It probably gives you more information than you would ever want to know.
Back to Fun with Transistors.
Back to Fun with Tubes.
Back to Table of Contents.
Back to top.
5.11 Zooming.
Selecting "Zoom In" from the "View" menu or pressing F4 will zoom in on the drawing about 25 % each time the menu item is selected or the F4 key is pressed.
You can now see the details of where the arc ends and How the line actually hits the arc. On my screen it looks like this.
Back to Fun with Tubes.
Back to Table of Contents.
Back to top.