Skip to main content
Workforce LibreTexts

2.5: Geometric (Sketch) Relations

  • Page ID
    53586

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\dsum}{\displaystyle\sum\limits} \)

    \( \newcommand{\dint}{\displaystyle\int\limits} \)

    \( \newcommand{\dlim}{\displaystyle\lim\limits} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \(\newcommand{\longvect}{\overrightarrow}\)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Geometric relations (also known as sketch relations) are constraints that you place on a sketch to specify design criteria that aren’t dimensional. These constraints are things like being on center, square, symmetric, in line, equal, etc. You will recognize geometric relations as the little green boxes you see in a sketch. Each geometric relation has its own icon indicating what it is.

    Geometric relations are added by activating the “Add Relation” command in the Sketch tab of the CommandManager (Figure \(\PageIndex{1}\)).

    You can also hold CTRL on your keyboard and select entities and relate them using the in-context toolbar.

    Display/Delete Relations tool with drop-down options of display/delete relations, add relation, and fully define sketch.
    Figure \(\PageIndex{1}\): Add Relations Command from CommandManager

    As you select entities in the Add Relation command, different relations automatically become available for selection in the property manager for the command based on what you are selecting (Figure \(\PageIndex{2}\)). You can also see that SolidWorks will suggest a relation for you to use (in bold font) based on your current design and what you have selected.

    Add relations options showing selected entities, existing relations, and add relations options (coradial, tangent, concentric, equal, fix, equalcurve length)..
    Figure \(\PageIndex{2}\): Add Relation Property Manager

    You can also delete relations from sketch entities’ property manager (every entity has a relations section of their property manager) or by simply left-clicking the green relation box, right-clicking, and selecting “Delete” (the delete key on the keyboard also works).

    There are so many geometric relations as can be seen from following the link attached to “Geometric Relations” at the beginning of this paragraph. You can see what the icons look like and what it looks like when the geometric relations are applied through SolidWorks Help: Geometric Relation Icons. Many of them are inferred through other commands, and many of them are only used for special cases; we will observe those most used:

    • Horizontal
    • Vertical
    • Colinear
    • Concentric
    • Coradial
    • Midpoint
    • Perpendicular
    • Coincident
    • Parallel
    • Equal
    • Tangent
    • Symmetric

    Exercise \(\PageIndex{1}\): Exploring Geometric Relations

    Spend some time experimenting on your own with the different relations you can add to entities. Note: You can quickly add relations by holding CTRL on your keyboard and selecting entities, choosing relations from the in-context toolbar.

    Note: Because many relations are inferred, new users of SolidWorks often find themselves sketching and getting stuck on a sketch due to accidentally adding an inferred relation that isn’t desired. If you ever find yourself trying to add a dimension or relation to a sketch but keep getting over-defined warnings, check the sketch for any unwanted relations.

    CLEVIS PLATE EXAMPLE

    Example of sketch relations. The arc is tangent on both sides to the vertical lines. The arc and the circle are concentric. The lines are colinear (lined up). Coincident relations are all over for where points need to connect to lines.  All circles are equal. Centerline point is at the midpoint of the horizontal line. The two circles are also symmetric about the veritcal centerline.
    Figure \(\PageIndex{3}\): Sketch Relations Example Clevis Plate

    “Merge points” is a common option in the “Add Relation” property manager, but it doesn’t have a little green box to go with it. The upper point of the vertical center line was merged with the center point of the upper circle and arc. Therefore, there aren’t any relations near that point.

    Something else you might notice is the greyish dashed line connecting the upper left line to the upper right line. This dashed line shows that the two solid lines are colinear. This can be helpful in more complicated sketches.

    To create the symmetric relation, both circles and the vertical centerline had to be selected. When making the tangent relations, you want to make sure that when you select the tangent arc and line, you are clicking near the desired point of tangency. Not doing this can lead to an unexpected tangent result.

    NOTE:

    Some things you will notice about the image above is that there are a lot of coincident relations. Coincident relations are usually added by SolidWorks automatically when you begin a base point on an entity that is already in the sketch. You should also observe that coincident relations look a lot like midpoint relations, so to be sure of which is which, you can hover over the relation to get the pop-up identifier.

    CYLINDER GASKET EXAMPLE

    Cylinder gasket example. All the points in the center are coincident with the origin and horizontal and vertical relations for the center lines of the two rectangles. They were added automatically. The lines are colinear. The four holes are equal and concentric with their respective outer arc. The bottom and top arc are coradial. Fillets are just macros for creating arcs that are equal and tangent to the lines they connect.
    Figure \(\PageIndex{4}\): Sketch Relations Example Cylinder Gasket

    To create this sketch, the two center rectangles and a circle placed at the origin to the diameter of the middle arcs shown were drawn. Power trim was used to leave just the upper and lower center arcs. A quick way to fully define the four holes at the corners was to create the fillets before the holes so that the center of the holes could be placed on the center point of the fillets, resulting in automatic merging of the points.

    You will notice that when the fillet tool is used, it just makes arcs and adds a lot of relations. For this reason, heavy use of the sketch fillet or chamfer tool can lead to slower running of the software. This is the primary argument for why many designers choose to stay away from the sketch fillet/chamfer tool altogether and use the feature fillet/chamfer tool instead. The same also goes for linear and circular sketch patterns. The feature versions of these tools are much less taxing on the software. These are tools we will learn in future chapters.

    NOTE:

    Make sure to spend LOTS of time practicing with sketch relations. They are one of the most important aspects of SolidWorks!

    SIMPLE EXTRUDES

    When we create a sketch, the purpose is to then apply a feature to it to make the 2D sketch 3D. The most common feature used to make a sketch into a 3D feature is the Extruded Boss/Base command on the CommandManager.

    Icon for extruded boss/base.
    Figure \(\PageIndex{5}\): Extruded Boss/Base Icon

    You can apply a feature to a sketch inside the sketch environment or outside the sketch environment. When inside the sketch environment, when you have finished the sketch, switch to the features tab of the CommandManager and click on Extruded Boss/Base. When outside of the sketch environment, select the sketch you wish to extrude from the FeatureManager Design Tree (it will become highlighted) and then click on the Extruded Boss/Base tool on the CommandManager. These techniques apply to all single sketch features.

    Once the Extrude tool has been activated, the property manager will open, and a yellow preview of the feature will appear (Figure \(\PageIndex{6}\)). The property manager is where you will specify the depth of the extruded feature (the thickness you will apply to your zero-thickness sketch). There are other options as well to help with design intent and to give you more control over your feature. We will explore these more in the next chapter.

    Preview from the Extrude tool.
    Figure \(\PageIndex{6}\): Extrude Preview

    SKETCHING AND RELATIONS REVIEW

    Sketching and Relations Practice Drawings and Tutorials

    Below are three drawing examples with the drawing PDF’s for you to use to model the parts shown. Try to model the part from the drawing.


    This page titled 2.5: Geometric (Sketch) Relations is shared under a CC BY-NC 4.0 license and was authored, remixed, and/or curated by Melvin Hortman via source content that was edited to the style and standards of the LibreTexts platform.