SWEEP — Sweep
Creates a solid or surface by sweeping a profile along a path.
- Command:
SWEEP· Global name:_SWEEP - Ribbon: Modeling › 3D profiles
Creates a 3D solid (or a surface) by moving one or more profiles along a path, like AutoCAD's SWEEP.
Usage
- Type SWEEP.
- Select the profiles and press Enter (MOde picks solid or surface).
Select objects to sweep or [MOde]:
- Select the path, or pick an option first.
Select sweep path or [Alignment/Base point/Scale/Twist]:
Options
- Alignment: with Yes (the default) the profile is turned perpendicular to the start of the path; with No it is swept without turning (the path cannot lie in its plane).
- Base point: the point of the profile that goes to the start of the path. By default, as in AutoCAD: the start of the path when it leaves the profile from inside it, otherwise its center.
- Scale: the profile ends with this factor (it grows or shrinks linearly). It must be positive. With Reference you give two lengths and the factor is the start length divided by the end length, as in AutoCAD.
Enter scale factor or [Reference] <…>:
- Twist: angle the profile turns about the path from start to end. Bank is for paths that are not planar: the profile is carried with the least rotation instead of being twisted by an angle (the two exclude each other: an angle, even 0, turns banking off).
Enter twist angle or allow banking for a non-planar sweep path [Bank] <…>:
Notes
- Lines and arcs joined tangentially (and scale on a single straight segment) give an exact solid: planes, cylinders, cones and tori, like AutoCAD's. Corners are mitered (exact for polygonal profiles); twist (except for a centered circle), splines, helices or corners with arcs give a faceted solid (with a notice).
- The sweep starts at the end of the path nearest to the point where you pick it (in a script, which gives it without a point, the end nearest to the origin), as in AutoCAD: the profile sits there unscaled and untwisted.
- Along a helix the profile does not turn about the axis (springs and threads come out straight); with Bank it is carried with the least rotation, as along a spline or a 3D polyline. Along splines and helices scale and twist follow the curve parameter, not the length travelled, like AutoCAD. Along a cylindrical helix of exactly 3, 6, 9… turns the profile ends up on the other side of the path, also like AutoCAD.
- If the path bends more tightly than the profile or a segment is shorter than its miter, nothing is created.
- The profile must lie in a plane parallel to XY. Regions may have holes. Ellipses and splines can be profiles (the solid is faceted).
- With DELOBJ the profiles are erased.
- See also LOFT, EXTRUDE and REVOLVE.