How to Use Sweep in SolidWorks: Step-by-Step Guide
In SolidWorks, use the
Sweep feature to create a 3D shape by moving a 2D profile along a path. First, create a sketch for the profile and another for the path, then select both in the Sweep tool to generate the shape.Syntax
The Sweep feature in SolidWorks requires two main sketches: a profile and a path. The profile is the shape you want to extrude, and the path is the curve or line along which the profile moves.
Steps:
- Create a 2D sketch for the profile.
- Create a 2D or 3D sketch for the path.
- Go to Features tab and select
Sweep. - Select the profile sketch and then the path sketch.
- Adjust options like twist or orientation if needed.
- Click OK to create the sweep.
pseudo
Sweep(Profile, Path) // Profile: 2D sketch of shape // Path: 2D or 3D sketch curve // Output: 3D swept solid or surface
Example
This example creates a simple sweep by drawing a circle as the profile and a straight line as the path.
steps
1. Open a new part in SolidWorks. 2. On the Front Plane, create a circle sketch (profile) with radius 10 mm. 3. On the Right Plane, create a straight line sketch (path) 100 mm long. 4. Click on <strong>Features</strong> tab, then select <code>Sweep</code>. 5. Select the circle sketch as the profile. 6. Select the line sketch as the path. 7. Click <strong>OK</strong> to generate the swept solid.
Output
A cylindrical 3D solid with a circular cross-section swept along the straight line path.
Common Pitfalls
- Profile not closed: The profile sketch must be a closed shape; open profiles cause errors.
- Path and profile on same plane: The path should not be on the same plane as the profile to avoid zero-length sweep.
- Multiple profiles selected: Only one profile sketch can be selected for a sweep.
- Path self-intersecting: The path curve must not cross itself.
pseudo
Wrong: // Profile is an open arc Sweep(Profile=open_arc, Path=line) // Error: Profile must be closed Right: // Profile is a closed circle Sweep(Profile=closed_circle, Path=line) // Success: Sweep created
Quick Reference
| Step | Action | Tip |
|---|---|---|
| 1 | Create profile sketch | Must be closed shape |
| 2 | Create path sketch | Can be 2D or 3D curve |
| 3 | Select Sweep feature | Found under Features tab |
| 4 | Select profile and path | Profile first, then path |
| 5 | Adjust options | Twist, orientation if needed |
| 6 | Confirm sweep | Click OK to generate shape |
Key Takeaways
Sweep creates 3D shapes by moving a 2D profile along a path.
Always use a closed profile sketch to avoid errors.
The path can be a 2D or 3D curve but must not intersect itself.
Select the profile first, then the path in the Sweep feature.
Use the Quick Reference table to follow the sweep creation steps.