1Today's goals
- Open a sketch on a plane or a flat face
- Use line, rectangle, circle, arc, slot, centreline and construction geometry
- Use Trim, Offset, Convert and Mirror Entities
- Read sketch colours: blue, black, red/yellow
- Count degrees of freedom and fully define a sketch
2What a sketch is
A sketch is a 2D drawing placed on a plane or a flat face. A feature (extrude, revolve…) then turns it into 3D. A good sketch is simple, closed and fully defined.
| Status bar says | Line colour (default) | Meaning |
|---|---|---|
| Under Defined | Blue | Something can still move. Fine while working, not when finished. |
| Fully Defined | Black | Exactly one solution. This is the goal. |
| Over Defined | Red / yellow | Too many or conflicting relations/dimensions. Must be fixed. |
| (dangling) | Brown/olive | A relation lost its reference (e.g. the edge it was tied to was deleted). |
Colours are SolidWorks defaults and can be changed in System Options ▸ Colors. If you find blue/black or red/yellow hard to tell apart, set them to strong contrasting colours there and always confirm with the status bar text.
Degrees of freedom
Each free point in a sketch has 2 degrees of freedom (x, y). A free line has 4, a circle 3 (centre x, y and radius). Every relation or dimension removes some. A corner rectangle already comes with 4 coincident corners and 2 horizontal + 2 vertical relations, leaving 4 DOF: where it is (x, y) and how big it is (width, height).
3Do it in SolidWorks
- New part from your template. Select Front Plane in the tree → Sketch tab ▸ Sketch. The view turns normal to the plane.
- Corner Rectangle: click on the origin (the cursor shows a yellow coincident icon) and click again up-right.
- Smart Dimension: click the bottom line, place the dimension, type 80, Enter. Click the side line, type 50. The lines turn black: fully defined.
- Circle: centre inside the rectangle, any size. Dimension its diameter 20, and its centre 40 from the left edge and 25 from the bottom.
- Centerline (or a line with For construction ticked): construction lines help but are ignored by features.
- Sketch Fillet: select two corners of the rectangle → radius 8. Notice it adds a tangent arc and keeps the rest defined.
- Straight Slot: draw a slot, then dimension its length and width.
- Practise Trim Entities ▸ Power trim: drag across the bits you want removed.
- Offset Entities: select the outline, offset 5 mm inward. Convert Entities projects existing model edges into the sketch (you will use it on face sketches).
- Exit with the Confirmation Corner (top right) or Exit Sketch. Save as Day02_Sketch.
4Lab: degrees of freedom
A corner rectangle has 4 degrees of freedom. Tick relations and dimensions to remove them, then press P to "drag" the sketch — whatever still moves is not defined. Try to reach Fully Defined with exactly three items, then add a fourth and watch it become over defined.
5Pro tips and common mistakes
- Anchor to the origin. The first point of the first sketch should snap to the origin. It locates the part and makes mirroring and assemblies easier.
- Relations first, dimensions second. Let inference add horizontal, vertical, coincident and tangent while you draw; then dimension what is left.
- Dimension like a machinist reads. Put dimensions from the same reference edges you would measure from on the shop floor.
- Keep sketches simple. Do fillets and chamfers as features, not in the sketch, unless the profile really needs them.
- Over defined? Use Tools ▸ Sketch Tools ▸ SketchXpert → Diagnose to list solutions.
- A dimension that would over-define becomes a driven (reference) dimension in grey — that is allowed and useful for checking.
6Practice: gasket sketch
On the Front Plane, fully define this gasket outline (no extrusion yet):
| Item | Size |
|---|---|
| Outer rectangle, centred on the origin (use Center Rectangle) | 120 × 80, corners R10 (sketch fillet) |
| Four bolt holes | Ø10, 15 from each outside edge |
| Central slot (Straight Slot, horizontal) | 50 long centre-to-centre, 16 wide |
Check: status bar says Fully Defined. Hint: one Equal relation on the four circles saves three dimensions.
7Quick quiz
Five questions. Click an answer — you get the explanation straight away.