Skip to content

Commit

Permalink
Fixed handling of wrapped object
Browse files Browse the repository at this point in the history
  • Loading branch information
gumyr committed Feb 11, 2025
1 parent f22f54a commit f6f9167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build123d/topology/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def unwrapped_shapetype(obj: Shape) -> TopAbs_ShapeEnum:
if len(shapetypes) == 1:
result = shapetypes.pop()
else:
result = shapetype(obj)
result = shapetype(obj.wrapped)
else:
result = shapetype(obj.wrapped)
return result

0 comments on commit f6f9167

Please sign in to comment.