|
Relative Coordinates
Relative coordinates are points that are placed according to where the current cursor is. If you wanted to draw a 4 X 3 rectangle starting at point 2,2 you would use the following commands:
Line
starting point: 2,2 - places the cursor at 2 units along the X axis and 2 units up on the Y axis.
next point: @4,0 - this would create a line 4 units long on the X axis starting at the current location which would be 2,2. The line would be straight because there is no change in the Y axis since it is 0. At this point the cursor would be at point 6,2 (you started at 2,2 and added 4 units to X and 0 units to Y)
next point: @0,3 - this would create a line three units long that goes straight up. The cursor would end up at point 6,5 since 0 was added to the X value and 3 was added to the Y value.
next point: @-4,0 - creates a line that moves to the left 4 units but does not move up or down. The cursor would now be at point 2,5 since you subtracted 4 from the X value and did not change the Y value.
Close - moves the cursor from the current location to the start of the first line.
Complete the Relative Coordinates drawing.
Polar Coordinates
Polar coordinates are like vectors, they include a distance and a direction or angle for the line. To enter polar coordinates you use the following syntax:
Line
starting point: 2,2
next point: @4<0 - this creates a line 4 units long with an angle of 0 degrees (straight)
next point: @3<90 - this creates a line 3 units long that goes straight up at 90 degrees
next point: @4<180 - creates a 4 unit line going to the left (180 degrees).
next point: @3<270 - creates a line 3 units long going straight down (270 degrees)
So the syntax for polar coordinates is: @distance < angle in degrees.
The other thing to remember about AutoCAD is that the angles increase in a counterclockwise direction.
180 degrees is here________________________________________________ 0 degrees is here
90 degrees is straight up and 270 degrees is straight down.
Complete the Polar Coordinates drawing.
|