SolidWorks tutorial for beginners

What you will build

This SolidWorks for beginners lesson follows one small part from a blank screen to a finished drawing: a standoff block, 60 by 40 by 20 mm, with two 6 mm holes and softened edges. A plain pin then drops into one of the holes so you can practice a basic assembly. The goal is to learn the order of work that every part follows, not to tour the menus.

You need SolidWorks installed and about an hour. No earlier CAD experience is assumed. If you have used another parametric modeler, most of the ideas will feel familiar. Keep SolidWorks open next to this page and do each step as you read it.

Three ideas carry the whole lesson:

  • Every feature starts from a sketch, and every sketch should be fully defined before you build on it.
  • Dimensions live inside the model, so changing one number later updates the part, the assembly, and the drawing.
  • Build in the order you would make the real part: the stock first, then the holes, then the edge breaks.

The interface that matters

The FeatureManager design tree

Start a new document with File, New, Part. The panel on the left is the FeatureManager design tree. It lists the three default planes (Front, Top, and Right), the Origin, and then every feature you add, in the order you add it. You can edit, rename, reorder, or roll back any item in it, which is why a tidy tree matters more than fast clicking.

Planes and the origin

Planes are flat references you sketch on. For this part, sketch on the Top Plane so the block sits flat when you look at it from the front. Center the first sketch on the Origin. That keeps the part symmetric and makes the drawing views line up without extra work later.

Units

Check units before you draw anything. The current unit system shows at the bottom right of the status bar; click it and pick MMGS (millimeter, gram, second). The same setting lives under Tools, Options, Document Properties, Units. Typed values only mean what you expect when the document and your head agree.

Sketch fully, then extrude

  1. Select Top Plane in the design tree and click Sketch on the Sketch tab.
  2. Choose Center Rectangle, click the Origin for the center, and drag out a corner.
  3. Use Smart Dimension to set the width to 60 mm and the depth to 40 mm.
  4. Watch the line colors. Blue lines are under defined and can still move; black lines are fully defined. The status bar should now read Fully Defined.
  5. On the Features tab, click Extruded Boss/Base. Set Direction 1 to Blind, type a depth of 20 mm, and click the green check.

If a line stays blue, drag it to see which way it can move, then add the dimension or relation (Horizontal, Vertical, Coincident, or Midpoint) that stops it. Do not leave this for later. Under-defined sketches are the most common reason a beginner part breaks when a dimension changes.

Diagram: top view of the standoff block sketch, a 60 by 40 mm center rectangle on the origin with two 6 mm holes on the horizontal center line, 40 mm apart, each 20 mm from the origin, with every dimension shown and a Fully Defined status note.
The base sketch and hole layout, fully defined

Cuts, fillets, and a pattern

The first hole with Extruded Cut

  1. Click the top face of the block and start a new sketch on it.
  2. Draw a Circle and dimension its diameter to 6 mm.
  3. Dimension the center 20 mm to the left of the Origin, then add a Horizontal relation between the center and the Origin so it stays on the center line.
  4. Click Extruded Cut, set the end condition to Through All, and accept.

Through All is the safer choice for any hole that must pass through the part. If the block grows thicker later, the hole still goes all the way.

The second hole with Linear Pattern

Instead of sketching the second hole, pattern the first. Click Linear Pattern, pick one of the long 60 mm edges as Direction 1, set the spacing to 40 mm and the number of instances to 2, and choose Cut-Extrude1 as the feature to pattern. Flip the direction arrow if the preview lands outside the block. One sketch now controls both holes, so a new diameter updates both at once.

Edge breaks

Add a Fillet with a 3 mm radius to the four vertical edges. Then add a Chamfer of 0.5 mm to the top outer edges. With tangent propagation on, one click picks up the whole loop, including the rounded corners. Doing the fillets first keeps that loop clean.

Feature in the treeToolSketch or referenceKey setting
Boss-Extrude1Extruded Boss/Base60 by 40 mm center rectangle on the Top PlaneBlind, 20 mm
Cut-Extrude1Extruded Cut6 mm circle on the top faceThrough All
LPattern1Linear Patterna 60 mm edge as Direction 140 mm spacing, 2 instances
Fillet1Filletthe four vertical edges3 mm radius
Chamfer1Chamferthe top outer edge loop0.5 mm distance

A two-part assembly

Make the second part first. Start a new part, sketch a 5.8 mm circle on the Top Plane, extrude it 30 mm, chamfer both ends by 0.5 mm, and save it as pin. The slightly smaller diameter leaves a small gap inside the 6 mm hole, so the model matches how the parts would really fit.

  1. Choose File, New, Assembly. In the Begin Assembly panel, pick the standoff block and click the green check to place it at the origin. The first component is fixed, which the tree shows with (f) in front of its name.
  2. Use Insert Components to bring in the pin, and click anywhere in the window to drop it.
  3. Click Mate. Pick the outer face of the pin and the inside face of one hole. SolidWorks suggests Concentric; accept it.
  4. Still in Mate, pick the bottom end face of the pin and the bottom face of the block, and add Coincident. Use the alignment flip if the pin points the wrong way. The pin now stands 10 mm above the top face.

That is one mate set and nothing more. The pin can still spin around its own axis, which is fine for a round pin. Drag it to confirm that rotation is the only motion left.

Diagram: on the left, a FeatureManager design tree listing Boss-Extrude1, Cut-Extrude1, LPattern1, Fillet1, and Chamfer1, then Concentric1 and Coincident1 under Mates. On the right, an isometric standoff block, 60 by 40 by 20 mm, with two holes, and a pin lifted above one hole on a dashed axis line, labeled with the Concentric and Coincident mates.
The finished block, its feature tree, and the pin about to be mated

A basic drawing

  1. With the block part open, choose File, Make Drawing from Part, and pick a sheet size and format.
  2. Drag the Front view from the View Palette onto the sheet. The Projected View command starts on its own, so move the cursor to place the Top view, then move diagonally to place an isometric view. Press Esc when you are done.
  3. Click Model Items on the Annotations tab to bring in the dimensions you already typed, or add them with Smart Dimension. Show only what someone needs to make the part: overall size, hole diameter, hole spacing, and fillet radius.
  4. Save the drawing. It stays linked to the part, so changing the 40 mm spacing in the part updates the drawing too.
Diagram: a drawing sheet with a title block. A Front view shows the block 60 mm wide and 20 mm tall; a Top view shows the two 6 mm holes 40 mm apart, the 60 by 40 mm outline, and R3 corner fillets; an isometric view of the block sits in the upper right.
A basic three-view drawing of the block

Tips and common mistakes

  • Sketching on the wrong plane. If the block lies on its side, right-click the sketch and use Edit Sketch Plane instead of starting over.
  • Leaving sketches blue. Fix each sketch before you build the next feature on it.
  • Blind cuts for through holes. A Blind hole looks right today and fails silently when the part gets thicker.
  • Patterning faces instead of features. Pick the cut feature in the tree; it is easier to edit later.
  • Too many mates. If SolidWorks reports an over-defined assembly, delete the last mate you added rather than adding more.
  • Default feature names. Rename the cut and the pattern to something like Mount holes. It takes seconds and saves time on every later edit.

What to learn next

In this lesson you set units, drew a fully defined sketch, extruded it, cut and patterned two holes, broke the edges, mated a pin, and made a three-view drawing. That is the full loop that every SolidWorks part goes through, just with more features in between.

When a shape stops being boxy, the next skill is surfacing. A SolidWorks surfacing lesson is being written for this hub. Until it is ready, week 04 of Rhino Basics on NURBS lofts, sweeps, and revolves explains primary and secondary surfaces in a way that carries over to any program. If the block is going to a 3D printer or into a housing, Rhino Basics week 06, which models real boards and motors for a housing, shows how to design around hardware with clearances in mind.

If you would rather try the same parametric ideas in a browser, FeatureScript 101 for Onshape custom features turns a dimension-driven part into a reusable tool. For more lessons, go back to the SolidWorks tutorials hub or browse the full CAD tutorial library.