Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasJ1 committed Jan 18, 2024
1 parent dc2557b commit 5c4de4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/build123d/topology.py
Original file line number Diff line number Diff line change
Expand Up @@ -5388,12 +5388,12 @@ def sew_faces(cls, faces: Iterable[Face]) -> list[ShapeList[Face]]:
def sweep(cls, profile: Union[Edge, Wire], path: Union[Edge, Wire], transition=Transition.RIGHT) -> Face:
"""Sweep a 1D profile along a 1D path"""
profile = profile.to_wire()
path = Wire.make_wire(path.order_edges())
path = Wire.make_wire(path.to_wire().order_edges())
builder = BRepOffsetAPI_MakePipeShell(path.wrapped)
builder.Add(profile.wrapped, False, False)
builder.SetTransitionMode(Solid._transModeDict[transition])
builder.Build()
return Shape.cast(builder.Shape())
return Shape.cast(builder.Shape()).clean().face()

@classmethod
def make_surface_from_array_of_points(
Expand Down

0 comments on commit 5c4de4d

Please sign in to comment.