Swept Component#
- class hypervehicle.components.swept.SweptComponent(cross_sections: List[CoonsPatch], sweep_axis: str = 'z', stl_resolution: int = 2, verbosity: int = 1, name: str = None)[source]#
Bases:
Component
- __init__(cross_sections: List[CoonsPatch], sweep_axis: str = 'z', stl_resolution: int = 2, verbosity: int = 1, name: str = None) None [source]#
Create a swept component.
- Parameters:
cross_sections (list, optional) – A list of cross-sectional patches to sweep through.
sweep_axis (str, optional) – The axis to sweep the cross sections through. The default is z.