Skip to content

Commit

Permalink
Fixed multiple Compound wrappers - Issue #549
Browse files Browse the repository at this point in the history
  • Loading branch information
gumyr committed Feb 15, 2024
1 parent 68ff8fb commit e252384
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/build123d/operations_part.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
limitations under the License.
"""

from __future__ import annotations
from typing import Union, Iterable
from build123d.build_enums import Mode, Until, Kind, Side
Expand Down Expand Up @@ -176,7 +177,7 @@ def extrude(
if clean:
new_solids = [solid.clean() for solid in new_solids]

return Part(Compound(new_solids).wrapped)
return Part(ShapeList(new_solids).solids())


def loft(
Expand Down

0 comments on commit e252384

Please sign in to comment.