> ## Content Index
> Fetch the complete content index at: https://solidsworks.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to use 3D sketches in SOLIDWORKS for sweeps and frames
- URL: https://solidsworks.com/solidworks-3d-sketch/
- Published: 2026-11-23T19:28:20.000Z
- Updated: 2026-11-24T11:13:05.000Z
- Description: Build a connected path with a located first point, global axis relations and driving lengths, then use it for a sweep or a frame layout.
- Author: David Foster
- Tags: Sketching

Open **Insert > 3D Sketch**, draw a connected path, then control its start point, direction relations and driving lengths. A 3D sketch suits a sweep path or frame layout that leaves a single plane; a later feature creates the solid or structural members. I'd anchor the first point at the model origin and check one size change before adding bends, because unexpected movement is much easier to trace in a simple path.

## Start in the right 3D sketch mode

For a spatial path in a part document, choose **Insert > 3D Sketch**. It opens on the default Front plane in Isometric view; you don't need to preselect a plane. For geometry intentionally confined to a plane, select that plane and choose **Insert > 3D Sketch on Plane**, which opens in Normal To view. These are the two entry routes in the [SOLIDWORKS Design beginning procedure](https://help.solidworks.com/2026/english/solidworks/sldworks/t%5FBeginning%5Fa%5F3D%5FSketch.htm?ref=solidsworks.com).

A spatial sketch still needs a drawing orientation while you place each entity. Activate **Line** on the Sketch toolbar, or use **Tools > Sketch Entities > Line**. After the first point, the [space handle](https://help.solidworks.com/2026/english/solidworks/sldworks/c%5FSpace%5FHandles.htm?ref=solidsworks.com) helps identify that orientation. With the sketch tool active, press **Tab** to switch the default drawing plane. Watch the axis labels and cursor feedback: the camera can stay in the same view.

If you need a different reference orientation, hold **Ctrl** and select a plane, planar face or user-defined coordinate system while the sketch tool is active. This [realigns the sketch XY frame](https://help.solidworks.com/2026/english/SolidWorks/sldworks/c%5FCoordinate%5FSystems%5Fin%5F3D%5FSketches.htm?ref=solidsworks.com); it doesn't create direction relations on the lines.

You can also add a plane inside a 3D sketch through **Tools > Sketch Entities > Plane**, then activate it. The available references depend on the existing geometry. On an explicit [3D sketch plane](https://help.solidworks.com/2026/english/SolidWorks/sldworks/HIDD%5FDVE%5FCREATE%5FPLANE%5FNEW.htm?ref=solidsworks.com), sketching uses planar mode and the space handle is absent. Take care when snapping to off-plane geometry: planar mode can use a point's [projection onto that plane](https://help.solidworks.com/2026/english/SolidWorks/sldworks/c%5F2D%5FSketching%5Fin%5F3D.htm?ref=solidsworks.com), so apparent contact isn't enough to establish a spatial joint.

## Build a connected 120/80/60 mm path

Use millimetres for this practice example. The intended unfilleted path has three straight legs: 120 mm in positive global X, 80 mm in positive global Y, then 60 mm in positive global Z. O, A, B and C below are point labels for the explanation.

__Target coordinates for the unfilleted practice path, in millimetres__
| Point | X   | Y  | Z  | Role                      |
| ----- | --- | -- | -- | ------------------------- |
| O     | 0   | 0  | 0  | Start at the model origin |
| A     | 120 | 0  | 0  | End of the X leg          |
| B     | 120 | 80 | 0  | End of the Y leg          |
| C     | 120 | 80 | 60 | End of the Z leg          |

1. **Locate O.** Start the Line at the actual model origin. Check the saved coincidence/reference rather than relying on how close the point looks. If that attachment is missing, select the endpoint and the actual origin, then use **Add Relations** with the joining relation offered for those selected entities.
2. **Draw OA towards positive global X.** Place the first leg approximately. The direction and length controls come next; the initial mouse position doesn't have to give an exact 120 mm length.
3. **Continue from A to B, then B to C.** Start each new leg from the existing endpoint. Use Tab with Line active when you need another drawing plane. Follow the [endpoint-continuation procedure](https://help.solidworks.com/2026/english/SolidWorks/sldworks/t%5FCreating%5FLines%5Fin%5F3D%5FSketches.htm?ref=solidsworks.com), keeping AB towards positive global Y and BC towards positive global Z. Finish the Line command while leaving the sketch open.
4. **Inspect the joints.** A and B must be shared endpoints. If two endpoints were drawn separately, select the intended pair and use **Merge Points** where appropriate; it [merges them into one point](https://help.solidworks.com/2026/english/SolidWorks/sldworks/c%5FDescription%5Fof%5FSketch%5FRelations.htm?ref=solidsworks.com). Check what the selection highlights before joining anything.
5. **Constrain each leg's direction.** Select OA and inspect **Existing Relations**. Retain or add the intended global **AlongX** relation, then do the same with **AlongY** on AB and **AlongZ** on BC. Don't add duplicates when an inferred relation is already present.

The names matter. [AlongX, AlongY and AlongZ refer to global axes](https://help.solidworks.com/2026/english/SolidWorks/sldworks/c%5FDescription%5Fof%5FSketch%5FRelations.htm?ref=solidsworks.com); Horizontal, Vertical and Normal are local to a plane. A line that looks horizontal on screen may have the wrong reference. An axis relation also leaves the positive or negative side to the actual geometry, so inspect the endpoint coordinates to confirm the branch in the table.

When you select a 3D line, [Line Properties](https://help.solidworks.com/2026/english/SolidWorks/sldworks/HIDD%5FDVE%5FSKETCH%5FLINE%5F3D.htm?ref=solidsworks.com) shows Existing Relations, length, start/end coordinates and Delta X/Y/Z. Selecting a relation highlights its callout. A cursor inference becomes useful only when it is accepted and saved as a relation; automatic relations can also be disabled. If an expected relation is unavailable, inspect **Selected Entities** in Add Relations and the current plane/reference instead of assuming every relation works with every 3D selection.

[![Blue three-leg 3D sketch with 120, 80 and 60 mm dimensions, a global axis triad and an Under Defined status.](https://storage.ghost.io/c/4c/fc/4cfc073a-f190-4bcc-b2ab-759be23dfa61/content/images/2026/11/three-leg-path-v1-article.webp)](https://storage.ghost.io/c/4c/fc/4cfc073a-f190-4bcc-b2ab-759be23dfa61/content/images/2026/11/three-leg-path-v1-article.webp?ref=solidsworks.com)

This intermediate 120/80/60 mm route is still Under Defined. Check the origin, shared endpoints and saved direction relations before treating it as the finished path.

I'd use the origin as the anchor because its role stays clear when the part changes. If a different start location is deliberate and there is no model reference, you can position that point and Fix the point itself. Fixing a line has different behaviour: its [endpoints can still move along the underlying infinite line](https://help.solidworks.com/2026/english/SolidWorks/sldworks/c%5FDescription%5Fof%5FSketch%5FRelations.htm?ref=solidsworks.com). For this exercise, use the origin anchor, saved axis relations and driving lengths to control the route.

## Add lengths, then distinguish distance types

[![A diagonal segment extends across two axes, with its direct length and one axial projection marked separately.](https://storage.ghost.io/c/4c/fc/4cfc073a-f190-4bcc-b2ab-759be23dfa61/content/images/2026/11/sketch-3d-distance-vs-projection-20261123-20261123t191735z.webp)](https://storage.ghost.io/c/4c/fc/4cfc073a-f190-4bcc-b2ab-759be23dfa61/content/images/2026/11/sketch-3d-distance-vs-projection-20261123-20261123t191735z.webp?ref=solidsworks.com)

Choose the dimension that matches the design. A driving segment length and its projection along an axis constrain different quantities.

Choose **Tools > Dimensions > Smart**. Select OA itself, place its length dimension and set it to **120 mm**. Dimension AB as **80 mm** and BC as **60 mm**. The [Smart Dimension selection rules](https://help.solidworks.com/2026/english/SolidWorks/sldworks/t%5FDimensioning%5Fa%5F2D%5FSketch.htm?ref=solidsworks.com) apply to 2D and 3D entities: selecting a line gives its length; selecting two points gives a distance between those points.

That distinction explains a common surprise. For the target coordinates above, O to B has an absolute distance of **√(120² + 80²) = 144.2 mm**, rounded to one decimal place. Its global X component is 120 mm, Y is 80 mm and Z is zero. These are different descriptions of the same separation.

While placing a point-to-point dimension in free 3D sketching, **Tab** cycles from absolute distance through X, Y and Z, then back to absolute. Check the pointer's [dimension-type indicator](https://help.solidworks.com/2026/english/SolidWorks/sldworks/c%5F3D%5Fdimension%5Ftypes.htm?ref=solidsworks.com). Here Tab chooses the distance type; it isn't switching the drawing plane. On an explicit 3D sketch plane, [pointer placement produces absolute, horizontal or vertical dimensions](https://help.solidworks.com/2026/english/SolidWorks/sldworks/c%5FDimensioning%5F3D%5FSketch%5Fon%5FPlane.htm?ref=solidsworks.com), with the latter two local to that plane.

The three leg lengths should be the driving sizes in this example. If you add O–B as an extra readout after constraining the route, use a driven dimension when needed to avoid a redundant driving constraint. A driven value reports the geometry; it won't control your next size edit.

## Check the whole sketch and one deliberate change

Check the status bar at the bottom of the window. The selected line's status in Line Properties describes that entity; the [whole-sketch status](https://help.solidworks.com/2026/English/SolidWorks/sldworks/c%5FSketch%5FStatus%5FConventions.htm?ref=solidsworks.com) covers every entity. Aim for Fully Defined with the intended anchor, connections, directions and lengths. Extra unused entities can leave the sketch Under Defined even when the three path lines are controlled.

SOLIDWORKS can use an under-defined sketch for features unless [**Tools > Options > System Options > Sketch > Use fully defined sketches**](https://help.solidworks.com/2026/English/SolidWorks/sldworks/c%5FSketch%5FStatus%5FConventions.htm?ref=solidsworks.com) requires otherwise. Fully Defined describes the constraint state; you still need to check the downstream feature's geometry.

1. Before adding fillets, edit the **driving BC length from 60 to 90 mm**. If the visible 60 mm value is driven, find the dimension or relation that controls BC.
2. With O anchored, the joints connected and the positive global directions retained, the expected C position is **(120, 80, 90)**. O, A and B should stay in place; C moves 30 mm in global Z.
3. Inspect the actual endpoint coordinates and overall sketch state. If the route shifts, rotates or moves to the opposite side, revisit the anchor, reference directions and coordinate branch.
4. Return the driving BC length to **60 mm** before continuing with the original example. Check that C returns to **(120, 80, 60)**.

After creating the downstream features, repeat this size change and inspect their result too. **Ctrl+B** rebuilds changed features and checks for errors; **Ctrl+Q** rebuilds all features. The [rebuild commands](https://help.solidworks.com/2026/english/SolidWorks/sldworks/c%5Ffundamentals%5Frebuild%5Ftools%5Fhelp.htm?ref=solidsworks.com) and their scope are also covered in the site's [SOLIDWORKS keyboard shortcuts guide](https://solidsworks.com/solidworks-keyboard-shortcuts/).

## Choose the corner geometry before making a sweep

The three-leg example is a sharp-cornered skeleton. For a bent route, choose the bend geometry and radius before attempting the intended sweep. Use **Tools > Sketch Tools > Fillet**, select the two entities or their corner, set the radius and inspect the preview. [Sketch Fillet](https://help.solidworks.com/2026/english/SolidWorks/sldworks/c%5FSketch%5FFillets.htm?ref=solidsworks.com) trims the corner into a tangent arc and works in 2D and 3D sketches.

In the [Sketch Fillet PropertyManager](https://help.solidworks.com/2026/english/SolidWorks/sldworks/HIDD%5FDVE%5FSKETCH%5FFILLET.htm?ref=solidsworks.com), **Keep constrained corners** retains the constrained virtual intersection. For consecutive equal-radius fillets, clearing **Dimension each fillet** uses Equal relations rather than an individual dimension on each fillet. Check that the retained controls express the corner positions and bend sizes you intend.

Fillets change the real straight-segment endpoints and lengths. The coordinate table and 60-to-90 prediction above apply to the unfilleted route. After adding bends, identify whether each dimension refers to a virtual corner or a tangent endpoint before repeating that check. Pick a radius appropriate to the actual section and available space; the practice lengths alone don't establish a valid bend.

## Use the path in a Swept Boss/Base

[![A plane normal to the path at the start contains the sweep profile.](https://storage.ghost.io/c/4c/fc/4cfc073a-f190-4bcc-b2ab-759be23dfa61/content/images/2026/11/sketch-3d-sweep-two-inputs-20261123-20261123t191735z.webp)](https://storage.ghost.io/c/4c/fc/4cfc073a-f190-4bcc-b2ab-759be23dfa61/content/images/2026/11/sketch-3d-sweep-two-inputs-20261123-20261123t191735z.webp?ref=solidsworks.com)

Place the profile at the path start and check that the sweep clears the inside corners.

For a basic one-direction boss sweep with a sketched profile, create a **closed, non-intersecting profile** on a plane or face, with the path's start on the profile plane. The path can be open or closed, but the section, path and resulting solid must avoid self-intersection. Those [sweep conditions](https://help.solidworks.com/2026/english/SolidWorks/sldworks/c%5Fsweep%5Frules.htm?ref=solidsworks.com) are separate from the sketch's constraint state.

Exit sketch editing, choose **Insert > Boss/Base > Sweep**, and select the cross-section under **Profile** and the intended route under **Path**. Inspect the preview before accepting. The [basic sweep procedure](https://help.solidworks.com/2026/english/solidworks/sldworks/t%5FCreating%5Fa%5FSweep.htm?ref=solidsworks.com) uses these as separate selections. Check the [sweep profile and orientation](https://solidsworks.com/solidworks-sweep/) if the preview twists or the inside of a bend collapses.

For a round solid rod, **Circular Profile** provides a branch without a separate circular sketch: choose the intended Path, set Diameter and check the preview and accepted result. The official [circular-profile examples](https://help.solidworks.com/2026/english/SolidWorks/sldworks/t%5Fcreate%5Fcircular%5Fprofile%5Fsweep.htm?ref=solidsworks.com) distinguish a boss rod from a cut into an existing part. A hollow tube needs its actual wall geometry defined and checked; Diameter alone isn't a wall specification.

If a sweep fails, inspect the chosen feature type, profile-plane intersection and possible self-intersections before changing the sketch constraints. The tangent-path/no-sharp-corners rule in Sweep Rules belongs to a **tool-body cut sweep**; it isn't a universal ban on sharp corners in every boss sweep. Smooth bends remain a deliberate choice for a bent route.

## Hand a frame layout to Structural Member

A frame uses the sketch as its framework. Choose **Insert > Weldments > Structural Member**, select the available **Standard**, **Type** and **Size**, then select the intended sketch segments. This is the [Structural Member workflow](https://help.solidworks.com/2026/english/SolidWorks/sldworks/t%5FAdding%5FStructural%5FMembers.htm?ref=solidsworks.com); a 3D path alone hasn't specified a member profile.

Inspect the path groups, profile location/alignment and rotation. For contiguous groups, choose the required corner treatment. The [Structural Member settings](https://help.solidworks.com/2026/english/SolidWorks/sldworks/HIDD%5FDVE%5FFEAT%5FWELD%5FMEMBER.htm?ref=solidsworks.com) affect how profiles sit on the path and how members meet. Treat 120/80/60 as layout dimensions: profile placement, corner treatment and weld gaps affect the finished members and cut-list lengths. Repeat the deliberate size change and inspect those downstream results before handing off the model.

## Repair the specific constraint or reference problem

### The route still moves or the joints separate

Inspect the actual origin reference, each shared endpoint and the saved global direction relations. Three length values control size, but leave missing position or direction controls unresolved. For an apparent joint, rotate the view and inspect the selected endpoints and relations; projected overlap can hide a gap. Merge only the endpoints that belong together.

Default blue entities indicate under-definition and black indicates full definition, but [colours are configurable](https://help.solidworks.com/2026/english/SolidWorks/sldworks/c%5FSketch%5FGeometry%5FStatus.htm?ref=solidsworks.com). Use the named status and dimension role. A grey driven size is a reporting value, so locate the driving control when an edit won't take.

### A dimension makes the sketch Over Defined

Open **Tools > Relations > Display/Delete** and filter **Over Defining/Not Solved**. Select a listed relation to see its entities. Keep the constraint that expresses your intent; remove the redundant one or make an extra dimension driven. The [conflicting-dimension guidance](https://help.solidworks.com/2026/english/SolidWorks/sldworks/HIDE%5FSKETCH%5FOVERDEFINED.htm?ref=solidsworks.com) distinguishes driving controls from reporting dimensions.

For a more involved conflict, **Tools > Sketch Tools > SketchXpert** supports over-defined 2D and 3D sketches. Choose **Diagnose**, inspect the proposed deletions under **More Information/Options**, and Accept only a solution that preserves the intended anchor, directions and driving sizes. [SketchXpert's solutions](https://help.solidworks.com/2026/english/SolidWorks/sldworks/HIDD%5FDVE%5FSKETCH%5FXPERT.htm?ref=solidsworks.com) remove constraints; the chosen solution still needs that design-intent check.

### A relation or dimension becomes Dangling

Find the earliest failed feature or missing reference first. Restore the intended geometry where appropriate, or manually reattach the affected dimension/relation to a valid reference. In Display/Delete Relations, filter **Dangling**, inspect the entities and use **Replace** with an appropriate replacement. Some point-to-point coincident relations need this tool. The [Repair All Dangling and Find Replacement controls are 2D-only](https://help.solidworks.com/2026/english/SolidWorks/sldworks/HIDD%5FDVE%5FSK%5FEDIT%5FRELATIONS.htm?ref=solidsworks.com); they aren't automatic repairs for this 3D route.

### The sketch reports No Solution Found or Invalid Solution Found

**No Solution Found** means the sketch hasn't solved. **Invalid Solution Found** means it solved into invalid geometry, such as a zero-length line, zero-radius arc or self-intersecting spline. Inspect the affected values and references, then restore valid geometry or remove the specific conflict. The [invalid-geometry repair guidance](https://help.solidworks.com/2026/english/SolidWorks/sldworks/HIDE%5FSKETCH%5FHAS%5FINVALID%5FGEOM.htm?ref=solidsworks.com) gives reference/value repair routes. Adding more constraints won't correct an impossible size.