Learn the basics of creating fully constrained sketches using lines, circles, arcs, and dimensions.
Before you can create any 3D object in parametric CAD, you must first define its cross-sectional shape as a 2D sketch. Sketching is the single most important fundamental skill in CAD modeling — every extrusion, revolution, sweep, and loft begins with a sketch profile.
A sketch lives on a plane (the XY, XZ, or YZ plane, or a face of an existing body). Within that plane you draw geometry (lines, arcs, circles) and then lock that geometry down with constraints and dimensions until nothing can move freely. That locked-down state is called fully constrained, and it is the goal of every sketch you create.
Robotics parts demand precision. A bearing pocket that is 0.1 mm too large will allow play; a motor mount hole pattern that shifts when you edit a dimension upstream will cause assembly failures. Fully constrained, well-organized sketches ensure that your design intent is captured mathematically — so changes propagate predictably through the entire model.
Every CAD package offers a core set of 2D drawing tools. Master these and you can create any profile, from a simple rectangular bracket to a complex cam profile.
The most fundamental tool. Click two points to create a straight segment. Chain clicks to create connected polylines. Press Escape to finish.
Creates a four-sided closed profile. Variants include center-rectangle, 3-point rectangle, and corner-rectangle. Great for plates, tabs, and slots.
Define by center + radius or by three points on the circumference. Used for holes, shafts, bearings, and any cylindrical feature.
Partial circle defined by center + endpoints, three points, or tangent continuation. Essential for fillets and rounded transitions drawn manually.
Regular polygon with 3–64 sides. Inscribed or circumscribed about a circle. Useful for hex standoffs, knobs, and nut profiles.
Free-form curve through control points. Use sparingly — splines are hard to constrain fully and can cause manufacturing headaches. Best for organic shapes and cam profiles.
Oblong shape (two semicircles connected by tangent lines). Commonly used for adjustment slots in motor mounts and bearing blocks.
Reference geometry that does not form part of the profile. Used for symmetry lines, layout guides, and constraint anchors. Shown as dashed lines.
X key). Construction geometry is invisible to features like Extrude but invaluable for organizing complex sketches.
Geometric constraints define relationships between sketch entities without specifying exact numbers. They are the backbone of design intent — when you say two lines are parallel, they stay parallel no matter how the sketch resizes.
| Constraint | Symbol | What It Does | When to Use |
|---|---|---|---|
| Coincident | Point-on-point | Forces two points (or a point and a line) to share the same location. | Connecting endpoints of separate lines; anchoring geometry to the origin. |
| Concentric | Two rings | Forces two arcs or circles to share the same center point. | Aligning a bolt hole with a counterbore; nesting bearing seats. |
| Parallel | ∥ | Forces two lines to remain parallel (same direction, any distance apart). | Opposite edges of a bracket; rail guides; slot walls. |
| Perpendicular | ⊥ | Forces two lines to meet at exactly 90°. | Corner joints; T-intersections; mounting flanges. |
| Tangent | Curve kiss | Forces a line and an arc (or two arcs) to meet smoothly with no kink. | Rounded transitions; cam profiles; fillet-like geometry. |
| Equal | = | Forces two entities to have the same size (length for lines, radius for arcs). | Symmetric bolt patterns; matched features; uniform spacing. |
| Horizontal | — | Forces a line (or two points) to be aligned with the sketch X-axis. | Top/bottom edges; flat surfaces; alignment references. |
| Vertical | | | Forces a line (or two points) to be aligned with the sketch Y-axis. | Side edges; uprights; vertical alignment of features. |
| Midpoint | Mid marker | Forces a point to lie exactly at the midpoint of a line or arc. | Centering geometry; placing holes at the middle of edges. |
| Symmetric | Mirror line | Forces two points or entities to be mirror images about a construction line. | Symmetric brackets; centered cutouts; balanced designs. |
While geometric constraints define relationships, dimensional constraints define sizes and positions with explicit numerical values. Together they fully lock down a sketch.
Sets the exact length of a line or the distance between two points, two lines, or a point and a line. This is the most common dimension type.
50 mm25 mm10 mmSets the exact angle between two lines, or the sweep angle of an arc. Measured in degrees.
45°90°30°Sets the radius of a circle or arc. Preferred when you care about the distance from center to edge (e.g., shaft clearance).
R3 mmR11 mmR2 mmSets the full diameter of a circle. Preferred for holes and shafts because standard sizes are specified as diameters (e.g., M5 = 5 mm diameter).
∅5.5 mm∅8 mm∅22 mmMost parametric CAD tools use color coding to tell you the constraint status of your sketch at a glance. Learning to read these colors will save you significant debugging time.
| Color | Status | What It Means | What to Do |
|---|---|---|---|
| Blue | Under-constrained | The geometry still has degrees of freedom — it can be dragged or resized. Some constraints or dimensions are missing. | Add more constraints and/or dimensions until the entity turns black. Try dragging the blue geometry to see which direction it moves freely. |
| Black | Fully constrained | The geometry is completely locked down. It cannot move in any direction. This is the ideal state for every sketch. | Nothing — this is your goal. The sketch is ready for feature operations like Extrude or Revolve. |
| Red | Over-constrained | Conflicting constraints or redundant dimensions have been applied. The solver cannot satisfy all rules simultaneously. | Delete the most recently added constraint or dimension. Check for redundant rules (e.g., a Horizontal constraint on a line that is already dimensioned at 0°). |
| Green / Dashed | Construction geometry | Reference-only lines, circles, or arcs that will not be used as profile edges by features. | Use construction geometry for symmetry lines, layout guides, and angular references. Toggle with the X key in most CAD tools. |
(0, 0) with a Coincident constraint. This locks the entire sketch's position.Follow this step-by-step process every time you create a new feature. It ensures consistent, fully constrained sketches that behave predictably when edited later.
Choose the XY, XZ, or YZ origin plane, or select an existing flat face on your model. The plane determines the orientation of your sketch and the direction of subsequent features. For the first feature, the Front (XZ) or Top (XY) plane is typical.
Enter sketch mode on your chosen plane. The view will typically rotate to look straight at the plane. The grid and origin crosshairs become visible, giving you reference for placement.
Use Line, Rectangle, Circle, Arc, and other sketch tools to draw the profile shape. Start from the origin when possible. Focus on getting the approximate shape right — exact sizes come from dimensions in the next steps.
Apply Horizontal, Vertical, Parallel, Perpendicular, Tangent, Coincident, Symmetric, and other constraints to define relationships. Many constraints are auto-inferred while drawing — verify them in the constraint list and add any that are missing.
Use the Dimension tool to set exact lengths, distances, angles, radii, and diameters. Dimension from the origin or a known datum. Watch the sketch color change from blue to black as each degree of freedom is eliminated.
Verify that all geometry is black (fully constrained) and that your profile forms a closed loop. Then exit sketch mode. The sketch will appear in the feature tree/timeline as a completed entity.
With the sketch complete, apply a 3D operation: Extrude to push the profile into a solid, Revolve to spin it around an axis, Sweep to move it along a path, or Loft to blend between profiles. Your clean, constrained sketch ensures the feature behaves exactly as intended.