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
- Create the profile that you want to sweep and a path for it to follow.
- Type
SWEEP, then press Enter. - Select the profile object and press Enter.
- Select the sweep path, or choose an option such as Alignment, Base point, Scale or Twist.
- 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.
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.