Brep.from_sweep
- classmethod Brep.from_sweep(profile, path, *args, **kwargs)[source]
- Construct a BRep by sweeping a profile along a path. - Parameters:
- profilecompas.geometry.BrepEdgeorcompas.geometry.BrepFace
- the profile to sweep. Either an edge or a face. 
- pathcompas.geometry.BrepLoop
- the path to sweep along 
 
- profile
- Returns: