GstarCAD command

SWEEP command

Create 3D solids or surfaces by moving a profile along a selected path with optional alignment, scale and twist controls.

Command
SWEEP
Alias
—
Tool group
3D
Level
Intermediate

What does SWEEP do?

SWEEP creates a 3D solid or surface by moving a selected profile along a path. The profile can be a 2D or 3D object, while the path can be straight, curved or helical.

Closed profiles can be used to create solid geometry, while open profiles can create surfaces. The command also provides controls for alignment, scale and twist along the sweep path.

How to use the command

  1. Create the profile that you want to sweep and a path for it to follow.
  2. Type SWEEP, then press Enter.
  3. Select the profile object and press Enter.
  4. Select the sweep path, or choose an option such as Alignment, Base point, Scale or Twist.
  5. GstarCAD generates the resulting solid or surface along the selected path.
Command: SWEEP ↵
Select object to sweep: select profile ↵
Select sweep path or [Alignment/Base point/Scale/Twist]: select path

Key SWEEP options

The available options determine how the selected profile is positioned and transformed while travelling along the path.

Alignment
Controls whether the profile is aligned perpendicular to the sweep path as it moves along it.
Base point
Specifies the point on the profile that is used as the reference point for the sweep operation.
Scale
Applies a scale factor to the profile as it travels from the beginning to the end of the sweep path.
Twist
Rotates the profile by a specified angle over the complete length of the sweep path.
Sweep path
Defines the route followed by the profile. Paths can include lines, arcs, polylines, splines and helices.

Practical example: create a 3D spring

Suppose you need to model a spring from a circular wire with a diameter of 4 mm. First create a HELIX representing the centre path of the spring, then draw a circle with a diameter of 4 mm at the start of the helix.

Run SWEEP, select the circle as the profile and then select the helix as the sweep path. GstarCAD moves the circular profile along the helix and creates the 3D spring geometry.

Tip

Use Twist or Scale when the profile needs to rotate or change size gradually while following the sweep path.

All commands Updated 8 October 2026
Continue learning
View all commands

Ready to switch to GstarCAD?

Get personalized advice on licensing, migration, and deployment for your business.

Contact us Buy now

No obligation — reply within 24h

Your Cart

Subtotal

Price does not include local taxes or duties.

Proceed to Checkout

Cookie preferences

Choose which cookies you want to allow. Essential and payment cookies cannot be disabled as they are required for the site to function.

Essential

Required

Core functionality including authentication, shopping cart, and language preferences.

Payment

Required

Required for processing payments securely through Stripe and PayPal.

Analytics

Help us understand how visitors interact with our site to improve the experience.

Marketing

Used to deliver relevant advertisements and measure campaign performance.

Functional

Order attribution and traffic source tracking to help us understand how customers find our store.