This is a post by Aaron Shaw on PTC site.
Create a constant cross section feature that follows an open trajectory using the Sweep feature in Creo Parametric
Along with extrude, blend, revolve and so forth, sweep is one of the core capabilities of a robust 3D CAD software application, like Creo Parametric. When you create a sweep, you can create a solid or surface feature. Add or remove material while sweeping a section along one or more selected trajectories by controlling the section’s orientation, rotation and geometry.