Skip to content
Week 6 · Lesson 2 50 min

Sketches, Constraints and Features

Learn how every part begins as a 2D sketch, how dimensions and constraints make a sketch fully defined, and how features such as extrude, revolve, fillet, hole and pattern turn sketches into solid parts.

In this lesson you will

  • Draw sketches using lines, rectangles, circles and construction geometry
  • Apply dimensions and geometric constraints to fully define a sketch
  • Create solid parts with extrude and revolve
  • Add fillets, holes and patterns to finish a part

Lesson

Almost every part you design starts the same way: a flat 2D drawing called a sketch, placed on a plane or on a face of an existing part. You then use a feature to turn that flat shape into a 3D solid. Learning to sketch well is the most important CAD skill you will build this week.

Sketch52ConstrainExtrudePartAssembly
The basic CAD workflow: sketch a shape, constrain it, extrude it into a part, then combine parts in an assembly.

Sketch tools

  • Line and rectangle for straight edges such as plates and brackets.
  • Circle and arc for holes, rounded ends and shafts.
  • Construction geometry: dashed reference lines that guide your sketch but do not become part of the solid. They are perfect for laying out a grid of hole centres.
  • Use or project existing edges, so a new sketch lines up with a part you already made.

Dimensions and constraints

A dimension sets a size: a length, a diameter, an angle or a distance between two points. A constraint sets a relationship: this line is horizontal, these two circles are the same size, this point sits on that line. Together they describe exactly what you want, not just what you happened to draw with the mouse.

ConstraintWhat it doesFTC example
Horizontal / VerticalKeeps a line level or uprightEdges of a mounting plate
CoincidentJoins a point to another point or lineClosing the corners of a shape
EqualMakes lines or circles the same sizeAll screw holes the same diameter
ConcentricGives circles the same centreA shaft hole inside a bearing pocket
Parallel / PerpendicularSets the angle between two linesSides of a bracket
TangentMakes a line meet an arc smoothlyA rounded end on an arm

A sketch is fully defined when every line and point is locked by dimensions and constraints, so nothing can be dragged out of place. In Onshape, under-defined sketch geometry shows in blue and fully defined geometry turns black. Aim for black every time: a fully defined sketch behaves predictably when you change a dimension later.

Features turn sketches into solids

FeatureWhat it doesFTC use
ExtrudePushes a sketch straight out to a depthPlates, brackets, spacers
RevolveSpins a sketch around an axisPulleys, round spacers, knobs
FilletRounds a sharp edgeSafer corners, stronger inside bends
ChamferCuts an angled edgeLead-in on a hole or a part that slides into place
HoleCreates standard holes, including counterboresScrew holes that match real hardware
Linear / Circular patternRepeats a feature in a row, grid or circleRows of mounting holes, bolt circles

Extrude can create a new part, add to an existing part, remove material from it or keep only the intersection. Removing is how you cut holes and slots: sketch the shape on a face, then extrude it through the part as a removal.

  1. 1
    Sketch
    On the Top plane, draw a centre-point circle at the origin and dimension its diameter.
  2. 2
    Extrude
    Extrude it as a new part to the spacer length you need.
  3. 3
    Cut the bore
    Sketch a smaller concentric circle on the top face and extrude it through as a removal.
  4. 4
    Finish
    Add a small chamfer to both ends of the bore so a screw or shaft slides in easily.

Finally, check your units. Many FTC kits are designed in millimetres, while some parts and tools use inches. Set the document units to match the kit you use most, and type the unit after a value when you need the other one.

Key terms

Sketch
A 2D drawing on a plane or face that is used as the base for 3D features.
Dimension
A number that sets a size, distance or angle in a sketch or feature.
Geometric constraint
A rule that sets a relationship between sketch entities, such as horizontal, equal or concentric.
Fully defined sketch
A sketch where every entity is locked by dimensions and constraints so nothing can move unexpectedly.
Feature
An operation such as extrude, revolve or fillet that creates or changes 3D geometry.
Construction geometry
Reference lines and circles in a sketch that guide placement but do not form part of the solid.

Practical exercise

Model a fully defined mounting plate

  1. 1In a new Part Studio, sketch a rectangle on the Top plane with one corner on the origin.
  2. 2Dimension its width and length, and confirm the whole rectangle turns black.
  3. 3Add four equal circles near the corners and dimension them from the edges so the sketch stays fully defined.
  4. 4Extrude the plate to a thickness your team would realistically use, with the holes cut through.
  5. 5Add fillets to the four outside corners and rename the sketch and features clearly.
  6. 6Change the plate width and check that the holes move correctly with it.
Deliverable: A Part Studio containing a fully defined, filleted mounting plate with four holes, plus a screenshot showing the black sketch and the feature list.

Knowledge check

Answer every question, then check your answers.

  1. Q1In Onshape, what does it usually mean when sketch lines are still blue?
  2. Q2Which constraint makes two circles share the same centre point?
  3. Q3Which feature would you use to create a round pulley-like shape from a profile sketch?
  4. Q4Why is it helpful to dimension the distance between hole centres directly?

Further resources

Mark lesson complete