Precision modeling

So far you have been drawing imprecise lines. Now you will try drawing lines at specific places. To do this you will use coordinates. Whenever you draw a curve, or create a solid primitive, Rhino asks you for a series of points. You can tell that Rhino is asking for point input two ways: the command prompt has a prompt like Start of line, Start of polyline, Start of curve, or Next point and the arrow-shaped cursor turns into a cross-shapedimages/crosshair.pngcursor. You can enter a point two ways: pick a point in a viewport with the mouse or type coordinates at the command line. You will select the units and tolerance of the model before you begin. You can do this in the Options dialog under the Units page or by picking a template that has units and Tolerance already set. You can change the tolerance after you start, but objects that are edited before the change still have the old tolerance value.

Coordinate entry

Rhino uses a fixed Cartesian coordinate system called the world coordinate system (WCS), based on three axes (the x-, y-, and z-axes) that define locations in three-dimensional space. Each viewport has a construction plane that defines coordinates for that viewport. We will work in the Top and Perspective viewports where the two coordinate systems are the same.

Absolute coordinates

The first forms of coordinates you will use are called absolute coordinates. Absolute coordinates are exact locations relative to the x-, y-, and z-axes.

Exercise 9¾ Setting up a model

  1. From the File menu click New.
  2. Click Small Object - Millimeters.3dm, and then click Open.
  3. From the File menu click Save As. Name the model BOXES .Use the BOXES.3dm model to learn how to draw with absolute coordinates.

Exercise 10—Entering absolute coordinates

  1. Double-click the viewport title to maximize the Top viewport.
  2. From the Curve menu click Polyline, and then click Polyline .images/polyline.png
  3. To Start type 0 and pressEnter.If you are going to start at the origin of the sheet (0,0,0) you can simply type 0 as a shortcut.
  4. For the Next point type 5,0 and pressEnter.
  5. For the Next point type 5,5 and pressEnter.
  6. For the Next point type 0,5 and pressEnter.
  7. Click Close to close the polyline.images/boxes-001.wmf

Relative coordinates

Absolute coordinates can be slow and cumbersome, but they do work. Most of the time, relative coordinates are easier to use. Every time you select a point, Rhino saves that point as the last point. Relative coordinates are based on the last point entered, instead of on the origin (0,0,0) of the construction plane. Precede the x,y,z coordinates with a single R (upper or lower case) to enter relative coordinates. Use the @ symbol instead of an R to start relative coordinates if you prefer. images/boxes-002a.wmf

Exercise 11—Entering relative coordinates

  1. From the Curve menu click Polyline, and then click Polyline.
  2. To Start type 8,0 and pressEnter.These are absolute coordinates.
  3. For the Next point type R5,5 and pressEnter.These are relative coordinates.
  4. For the Next point type R-5,0 and pressEnter.
  5. Click Close to close the polyline.images/boxes-002-318x190.wmf

Polar coordinates

Polar coordinates specify a point that is a distance and direction away from 0,0 in the current construction plane. Vector directions in Rhino start with Zero degrees at 3 o’clock on a standard clock. They change in an anti-clockwise direction as illustrated below. For example, if you want a point four units away from the construction plane origin, at a 45° angle counterclockwise from the construction plane x-axis, type 4<45, and pressEnter. Relative polar coordinates are preceded by R or @; absolute polar coordinates are not. Instead of using x, y, and z coordinates, enter relative polar coordinates like this: Rdistance<angle.   images/boxes-003a.wmf images/boxes-003b.wmf

Exercise 12—Entering polar coordinates

  1. From the Curve menu click Polyline, and then click Polyline.
  2. To Start type 0,8 and pressEnter.
  3. For the Next point type R5<0 and pressEnter.
  4. For the Next point type R5<90 and pressEnter.
  5. For the Next point type R5<180 and pressEnter.
  6. Click Close to close the polyline.images/boxes-003.wmf

Distance and angle constraint entry

Using distance constraint entry, you can specify a point by typing a distance and pressingEnter. Then as you move your cursor in any direction, the distance from the last point will be constrained. This is a good way to specify a line length quickly. Using angle constraint entry, you can specify an angle by typing < followed by a value and pressingEnter. The next point is constrained to lines at multiples of the angle relative to the x-axis you specified.

Using theShiftkey to toggle Ortho on and off

When Ortho is off, hold theShiftkey down to toggle it on. This method is an efficient way to draw perpendicular lines. In the following example, draw a line five units long using distance constraints.

Exercise 13—Distance constraint entry

  1. From the Curve menu click Polyline, and then click Polyline.
  2. To Start type 8,8 and pressEnter.
  3. For the Next point type 5 and pressEnter.
  4. Hold theShiftkey down and pick a point to the right.Shifttoggles Ortho mode to constrain the marker to 0 degrees.
  5. For the Next point type 5 and pressEnter.images/boxes-004-242x157.wmf
  6. Hold theShiftkey down and pick a point above the last point.Shifttoggles Ortho mode to constrain the cursor to 90 degrees.
  7. For the Next point type 5 and pressEnter.
  8. Hold theShiftkey down and pick a point to the left of the last point.Shifttoggles Ortho mode to constrain the cursor to 180 degrees.
  9. Click Close to close the polyline.

Exercise 14—Distance and angle constraint entry

  1. From the Curve menu click Polyline, and then click Polyline.
  2. To Start type 16,5 and pressEnter.
  3. For the Next point type 5 and pressEnter, then type <45 and pressEnter.As you drag your cursor around, the marker snaps to a distance of 5 and an angle of 45 degrees.images/boxes-005-288x136.wmf
  4. Pick a point down and to the right of the previous point.The angle constraint sets the angle.
  5. For the Next point type 5 and pressEnter, then type <45 and pressEnter.
  6. Pick a point up and to the right.The angle constraint sets the angle.
  7. For the Next point type 5 and pressEnter, then type <45 and pressEnter.
  8. Pick a point up and to the left.The angle constraint sets the angle.
  9. Click Close to close the polyline.
  10. Save your model. You will use this model for another exercise.

Exercise 15—Practice using distance and angle constraint entry

  1. Start a new model, use the Small Objects - Millimeters.3dm template. Save as Arrow .Since the object is symmetrical, you will only draw the lower half of the model.
  2. Draw the arrow with a polyline, using a combination of absolute coordinates (x,y), relative coordinates (Rx,y), polar coordinates (Rdistance<angle), and distance constraint.images/arrow-001-627x159.wmf The following are examples of the command line input that you might use:
Absolute x,y
  1. From the Curve menu click Polyline, then click Polyline.
  2. For the Start of Polyline type -11,0.
Relative x,y
  1. For the Next point, type r-2,-2.
Distance constraint
  1. For the Next point, type 8 and pressEnter, turn Ortho on and then pick to the right.
Relative x,y
  1. For the Next point, type r1,1.
Relative polar
  1. For the Next point, type r11<0.
Distance constraint
  1. For the Next point, type 1 and pressEnter, turn Ortho on and then pick down.
  2. For the Next point, type r6,2.
  3. For the Next point, pressEnterto end the command.
  4. Save your model.images/arrow-001.png
To make a copy of the polyline
  1. Select the polyline.
  2. From the Transform menu click Copy .images/copy.png
  3. For the Point to copy from, pick a point near the polyline.
  4. For the Point to copy to, type 6 and pressEnter, turn Ortho on and pick above the selected polyline.
  5. PressEnterto end the command.images/arrow-002.png
To make a mirror image of the polyline
  1. Select the original polyline.
  2. From the Transform menu click Mirror .images/mirror.png
  3. For the Start of mirror plane, type 0 and pressEnter.
  4. For the End of mirror plane, turn Ortho on and then pick to the right.images/arrow-003.png
To make it 3‑D
  1. Right-click on the Perspective title and set the display mode to Shaded.
  2. Select the original polyline and the mirror copy.
  3. From the Solid menu and click Extrude Planar Curve, click Straight.
  4. For the Extrusion distance, type 1 and pressEnter.images/arrow-004.png
To make it 3‑D (alternate)
  1. Select the copy of the polyline.
  2. On the Status bar, click Osnap.
  3. On the Osnap toolbar check End.
  4. From the Surface menu click Revolve .images/revolve.png
  5. For the Start of revolve axis, select the end of the polyline.
  6. For the End of revolve axis, select the other end of the polyline along the center line.
  7. PressEnterto use the default Start angle.
  8. PressEnterto use the default Revolution angle .images/arrow-006.png
To deform the shape
  1. Select the 3-D arrow.
  2. From the Transform menu click Bend .images/arrow-bend-06.png
  3. For the Start of spine, click the end point on the left end of the arrow.
  4. For the End of Spine, click the end point on the right end of arrow.images/arrow-bend-02.png images/arrow-bend-03.png
  5. For the Point to bend through, drag the cursor down and pick a point.images/arrow-bend-04.png

Exercise 16—Practice using distance and angle constraints

  1. Start a new model using the Small Objects – Millimeters.3dm template. Save as V-Block.
  2. Double-click the viewport title in the Front viewport to maximize it.
  3. Create the following model in the front construction plane.
  4. Draw the object below using a combination of absolute coordinates (x,y), relative coordinates (rx,y), and relative polar coordinates (rdistance<angle).
  5. Start your model at 0 in the Front viewport.Try to create the model using a single polyline in a clockwise direction.
  6. Double-click the viewport title of the Front viewport to restore your views.images/v-block-2d-391x421.wmf
  7. Select the polyline.
  8. From the Solid menu click Extrude Planar Curve, and then click Straightimages/extrudecrv.png
  9. For the Extrusion Distance type 150, and pressEnter.You can view the model as a three-dimensional object in the Perspective viewport.
  10. Save your model.images/vblock-002.png

Object Snaps

Object Snaps (osnaps) are tools for specifying points on existing objects. Use object snaps for precision modeling and to get accurate data. Object snaps are often referred to as object snaps. In Rhino, reliable modeling and easy editing depends on objects actually meeting at specified points. Objects snaps give you precision you cannot get using the “eyeball” method

To open the Osnap toolbar
  1. Click the Osnap pane in the status bar.The display of the Osnap control is controlled with the Osnap pane in the Status bar.images/2016-01-29-10-07-51.png
  2. Click it to toggle the display on and off.The Osnap control turns persistent object snaps on and off.images/2016-01-29-9-48-51.png

Use persistent objects snaps to maintain an object snap through choosing several points without having to reactivate the object snap. When an object snap is active, moving the cursor near an eligible point on an object causes the marker to jump to that point and a tooltip to appear. Left-click a check box to turn on the object snap. Right-click a check box to turn on the object snap and clear all other object snaps. You can place the control anywhere on your desktop. rces/TableStyles/CommandOptions.css’);” cellspacing=”0”>CommandButtonDescriptionEndimages/osnap-end.pngEnd snaps to the end of a curve, surface edge corner or polyline segment end.Nearimages/osnap-near.pngNear snaps to the nearest point on an existing curve or surface edge.Pointimages/point.pngPoint snaps to a control point or point object.Midimages/osnap-midpoint.pngMidpoint snaps to the midpoint of a curve or surface edge.Cenimages/osnap-center.pngCenter snaps to the center point of a curve. This works best with circles and arcs.Intimages/osnap-intersection.pngIntersection snaps to the intersection of two curves.Perpimages/osnap-perpto.pngPerpendicular To snaps to the point on a curve that makes a perpendicular to the last selected point. It doesn’t work on the first point that a command prompts you to pick.Tanimages/osnap-tangentto.pngTangent To snaps to the point on a curve that makes a tangent to the last selected point. It doesn’t work on the first point that a command prompts you to pick.Quadimages/osnap-quadrant.pngQuad snaps to the quadrant point. The quadrant point is the maximum or minimum direction on a curve in the x or y construction plane direction.Knotimages/osnap-knot.pngKnot snaps to knot points on curves or surface edges.Projectimages/projectosnap.pngProjects the snap point to the construction plane.Verteximages/osnap-vertex.pngMesh vertex is the location where the edges of the mesh faces meet.Disableimages/disableosnap.pngTemporarily turns off persistent object snaps, retaining settings