Rhino Basics, week 02: draw to exact size
This week's goal
Last week you placed objects by eye. That is fine for a skyline, but it will not get a product made. A part has to be a certain size, a hole has to line up with a screw, and an edge has to meet another edge exactly. This week you stop eyeballing and start drawing to spec.
Most of the work is in 2D, in the Top view, because precision is easiest to learn on a flat drawing. At the end you will push the drawings into 3D so you can see that everything carries over.
Grid snap and typed input
Grid snap
Turn on Snap in the status bar at the bottom of the window. Now every click lands on a grid intersection. Grid snap is the quickest way to get round numbers, and it is handy for layout. Its weakness is that it only knows about the grid, not about your geometry, so you will use it less once object snaps are on.
Typed coordinates
Whenever Rhino asks for a point, you can type it instead of clicking. A few forms cover nearly everything:
- x,y places a point at an absolute position on the construction plane, for example
0,0. - r followed by x,y places a point relative to the last one.
r40,20means 40 across and 20 up from where you just clicked. - A length then Enter locks the distance from the last point, and you click to choose the direction.
- A length, then the less-than sign and an angle sets both.
30<45means 30 units at 45 degrees.
Rectangle, circle, and polyline with exact numbers
Run Rectangle. Type 0,0 for the first corner, then type 120 and press Enter for the length, then 60 and press Enter for the width. You have a 120 by 60 rectangle sitting exactly on the origin.
Run Circle. Type 60,30 for the center, then 15 for the radius. The circle sits dead center in the rectangle.
Run Polyline. Start at 0,0, then type r30,0, r0,20, r-30,0, and press Enter. Each segment is placed relative to the last. Polylines drawn this way are how you trace a dimensioned sketch.
Transform tools
Move
Run Move, select an object, press Enter, pick a base point, and pick or type a destination. Typing r0,25 as the destination moves the object 25 units straight up the screen. The base point matters: move from a meaningful spot, such as a corner or a center, so the destination is meaningful too.
Rotate
Run Rotate, select, pick a center of rotation, then type an angle. Positive angles turn counterclockwise. Rotate works in the plane of the current view. Rotate3D asks for an axis instead, so you can tip an object out of the flat plane.
Scale in 3D, 2D, and 1D
Scale has three versions, and choosing the right one saves a lot of rework.
- Scale grows or shrinks an object evenly in every direction. Use it when proportions must stay locked.
- Scale2D scales only within the current construction plane, so the height stays the same. Useful for widening a footprint without making it taller.
- Scale1D stretches along a single direction you choose. Use it to lengthen a part without changing its width.
Each one asks for a base point, which stays fixed, and then either a scale factor or two reference points. Typing a factor like 2 doubles the size; picking two reference points lets you scale something until an edge lands exactly on a target.
Current Rhino also has the Gumball, a widget that appears on a selected object with arrows, arcs, and handles for quick moves, rotations, and scales. It is fast, and you can click its handles to type exact values. Learn the commands first, then use the Gumball once you know what it is doing for you.
Object snaps you will use all year
Object snaps, or OSnaps, let a click lock to a precise spot on existing geometry. Turn on the OSnap panel from the status bar. You will rely on five of them constantly:
- End snaps to the end of a curve or the corner of a polyline.
- Mid snaps to the midpoint of a segment.
- Int snaps to the point where two curves cross.
- Cen snaps to the center of a circle or arc. Hover over the curve itself, not the empty middle.
- Near snaps to the closest point on a curve, which is useful when you only need to touch a curve somewhere.
Leave End, Mid, Int, and Cen on most of the time. Turn Near on only when you need it, because it will grab almost anything.
OSnaps work in every command that asks for a point, not just drawing commands. Move a circle from its Cen to the Mid of a rectangle edge. Rotate a line around the End of another line. Scale a rectangle from one corner until its opposite corner lands on an Int. Using snaps inside transforms is where precision really starts to pay off.
Exercise: a 16:9 rectangle at 24 inches
Screens are sold by their diagonal, which makes a nice precision puzzle. Draw the outline of a 24-inch screen with a 16:9 aspect ratio, using an inch template.
- Run Line and start at
0,0. The diagonal of a 16:9 rectangle sits at an angle whose tangent is 9 divided by 16, about 29.36 degrees. Type24<29.36to draw the diagonal. - Run Line again from
0,0. Type21and press Enter, which locks the length but lets you pick a direction. Point the mouse along the X axis and press Tab: Tab locks the line to the direction you are pointing, so it stays horizontal while you move the mouse past the end of the diagonal. Click. You now have a horizontal line that runs a little past the corner. - Draw a vertical line downward from the top end of the diagonal so it crosses the horizontal line, using End snap to start it and Tab to keep it vertical.
- Run Trim. Select the vertical line as the cutting object, press Enter, then click the part of the horizontal line you want to remove. Trim the vertical line the same way so both meet cleanly at the corner.
- Complete the rectangle with two more lines snapped to End points, then run Join to turn the four lines into one closed curve. Check the result with the Length command or by reading its width and height; it should come out at about 20.92 by 11.77 inches.
Explode is the opposite of Join. Run it on the rectangle and you get four separate lines again; join them back before going on.
Now push it into 3D. Copy the closed rectangle, run ExtrudeCrv on one copy with Solid set to Yes and a distance of 1 inch, and on the other copy with Solid set to No. Switch to a shaded view. The first is a closed slab. The second is just four walls with open top and bottom. Same curve, same command, very different result, and the difference will matter a great deal from week 03 on.
Exercise: the USB logo
The capstone for the week is the familiar USB symbol, drawn to a fixed size. Use millimeters and this simple spec:
- A vertical stem 40 mm long, starting at
0,0. - An arrowhead at the top: a triangle 8 mm wide at the base and 6 mm tall, sitting on the end of the stem.
- A circle 6 mm in diameter at the bottom, centered on the start of the stem.
- A left branch that starts 12 mm up the stem, runs out 10 mm to the left and up at 45 degrees, then turns straight up for 8 mm, ending in a 4 mm diameter circle.
- A right branch that starts 20 mm up the stem, runs out 10 mm to the right and up at 45 degrees, then turns straight up for 6 mm, ending in a 4 mm square.
Build it with Line, Polyline, Circle, Polygon, and Rectangle, using typed angles and OSnaps for every connection. Then use Trim so the branch lines stop at the edges of the circle and square instead of running through them. Join each branch, and finish by extruding the whole logo 2 mm as a solid. Check a few dimensions with the Distance command before you call it done.
What's next
You can now draw to an exact size and move, rotate, and scale with intent. If you are feeling ambitious, try the extra-credit iPhone surfacing project, part 1, which uses these skills on a real product shape. If you would rather stay in the core sequence, go straight to week 03. Either way, the essential Rhino tips page is a good place to pick up shortcuts, and the Rhino hub lists every Rhino lesson on the site.