sweep

Makes a general path sweep. A path sweep is a generalization of the extrusion and revolution, capable of generating either. A section is sweeped over a path. The surface is positioned such that it doesn't move from the input section if the input section intersects the path perpendicular. If the path is in the xy plane, the section should be inclined 90 degrees from the plane. Results are easier to interpret if the path is planer as the twist of the section along the path is easy. Special handling is made for a closed path. The section need not be located at the beginning of the path, as long as it intersects the path somewhere and is perpendicular at the point. Also the section need not intersect path at all, allowing it be off to one side. The section may be a polygon or a region.


path : ObjectSet
Path to sweep over

section : ObjectSet
Polygons or a region sections to sweep