Skip to content

Commit

Permalink
Partial fix for Issue #451
Browse files Browse the repository at this point in the history
  • Loading branch information
gumyr committed Jun 12, 2024
1 parent 0c4cfb9 commit f469937
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/build123d/operations_generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -1030,20 +1030,21 @@ def sweep(
binormal_mode = binormal
if multisection:
sections = [face.outer_wire() for face in face_list]
new_solid = Solid.sweep_multi(
sections, path_wire, True, is_frenet, binormal_mode
)
new_solids = [
Solid.sweep_multi(sections, path_wire, True, is_frenet, binormal_mode)
]
else:
for face in face_list:
new_solid = Solid.sweep(
new_solids = [
Solid.sweep(
section=face,
path=path_wire,
make_solid=True,
is_frenet=is_frenet,
mode=binormal_mode,
transition=transition,
)
new_solids.append(new_solid)
for face in face_list
]

# sweep to create faces
new_faces = []
Expand Down

0 comments on commit f469937

Please sign in to comment.