Sweep Solid <SweepSolid>

Synopsis

The swept solid is the volume enclosed by taking a profile curve or surface and sweeping it along a guide curve. It is a more generic construct than either the extrusion or revolution. An extrusion can be created by using a line as a guide curve, and a revolved solid can be created by using an arc as a guide curve.

Mixins

SolidMixin

InkStrokedMixin

RenderMixin

AssemblyMixin

Canonicals

Name Type Description
curves list List of C0 curves to sweep. The list does not have to make a closed profile, nor do the curves have to be in any particular order.
guide part Guide curve for the sweep. The swept solid will use the guide curve's shape and orientation to create the sweep, but it does not have to be positioned on or in the profile curves.

Parameters

Name Type Description
profile part Instead of providing the curves: list directly, a PlanarProfile or a Face can be used as the profile for the sweep.
alignment name Describes if the profile normal should be aligned with the tangent of the guide curve (normal), or if the profile orientation should be kept constant during the sweep (parallel). The default value is normal.

Group Rules

<curves_only (curves)> Substitutes the curves input for the profile's curves.

Example 1

Name: SweepSolid_Ex01
Design: Block BasePart acDrawingDocument
Name Type Formula
height number 10
length number 6
width number 0.88
ptList list {Point(width * 0.05, length, 0), Point(width * 0.5, 0.2 * length, 0), Point(0, 0, 0), Point(-width * 0.5, 0.2 * length, 0), Point(-width * 0.05, length, 0)}
Child Name: sideCurve_1
Child Design: :SplineCurve
Name Type Supplied
pointList list Me.ptList
Child Name: sideCurve_2
Child Design: :Line
Name Type Supplied
thruPoint1 point sideCurve_1.startPoint
thruPoint2 point sideCurve_1.endPoint
Child Name: guideCurve
Child Design: :SplineCurve
Name Type Supplied
pointList list {Point(0, 0, 0), Point(0, 0.07 * length, 0.65 * height), Point(0, 0, height)}
Child Name: result
Child Design: :SweepSolid
Name Type Supplied
cueves list {sideCurve_1, sideCurve_2}
guide part guideCurve
color string "jungle green"