Part Sweep

Overview
The FreeCAD Part Sweep tool (Part Workbench), is used to create a face, shell or a solid shape from two or more profiles, projected along a path.

The Part Sweep tool is similar to Part Loft with the addition of a path to define the projection between profiles.

The profiles can be a point (vertex), line (Edge), wire or face. Edges and wires may be either open or closed. There are various profile limitations and complications, see below, however the profiles may come from the Part Workbench primitives, Draft Workbench features and a Sketch.

The path can be a line (Edge) or series of connecting lines, wire or various Part Workbench primitives, Draft Workbench features or a Sketch. The path is often selected directly from the main model window, however it can also be selected from the Tree View (Model Tab of Combo View). The path can either be an entire appropriate shape or an appropriate sub-component of a more advance shape (for example, an edge of a Part Cube could be selected as the path). The path may be either open or closed and will thus create either an open or closed Sweep. A closed path such as a Part Circle will result in a closed Sweep. For example a Sweep of a smaller circle around a path of a larger circle will create a torus.



Solid
If "Solid" is "true" FreeCAD creates a solid if the profiles are of closed geometry, if "false" FreeCAD creates a face or (if more than one face) a shell for either open or closed profiles.

Frenet


The "Frenet" property controls how the profile orientation changes as it follows along the sweep path. If "Frenet" is "false", the orientation of the profile is kept consistent from point to point. The resulting shape has the minimum possible twisting. Unintuitively, when a profile is swept along a helix, this results in the orientation of the profile slowly creep (rotate) as it follows the helix. Setting "Frenet" to true prevents such a creep.

If "Frenet" is "true" the orientation of the profile is computed basing on local curvature and tangency vectors of the path. This keeps the orientation of the profile consistent when sweeping along a helix (because curvature vector of a straight helix is always pointing to its axis). However, when path is not a helix, the resulting shape can have strange looking twists sometimes. For more information, see.

Transition
"Transition" sets the transition style of the Sweep at a joint in the path, if the path does not define the corner transition (for example where the path is a wire). The property is not exposed in Task dialog and can be found in properties after the Sweep has been created.

Profile limitations and complications

 * A vertex or point
 * vertex or point may only be used as the first and/or last profile in the list of profiles.
 * For example
 * you can not Sweep from a circle to a point, to a ellipse.
 * However you could Sweep from a point to a circle to an ellipse to another point.
 * Open or closed geometry profiles can not be mixed in one single Sweep
 * In one Sweep, all profiles (lines wires etc.) must be either open or closed.
 * For example
 * FreeCAD can not Sweep between one Part Circle and one default Part Line.
 * Draft Workbench features
 * Draft Workbench features can be directly used as a profile in FreeCAD 0.14 or later.
 * For example the following Draft features can be used as profiles in a Part Sweep
 * Draft Polygon.
 * Draft Point, Line, wire,
 * Draft B-spline, Bezier Curve
 * Draft Circle, Ellipse, Rectangle
 * PartDesign Sketches
 * The profile may be created with a sketch. However only a valid sketch will be shown in the list to be available for selection.
 * The sketch must contain only one open or closed wire or line (can be multiple lines, if those lines are all connected as they are then a single wire)
 * Part Workbench
 * the profile can be a valid Part geometric primitive which can be created with the Part CreatePrimitives tool
 * For example the following Part geometric primitives can be a valid profile
 * Point (Vertex), Line (Edge)
 * Helix, Spiral
 * Circle, Ellipse
 * Regular Polygon
 * Plane (Face)

FreeCAD - Version

 * 0.13
 * 0.14 some of the above is extended functionality added in 0.14