cast to actual shape type after calling removeSplitter()
This commit is contained in:
parent
299ecf5cf5
commit
605eabf243
|
@ -811,7 +811,11 @@ class Solid(Shape):
|
|||
return Shape.cast(self.wrapped.fuse(solidToJoin.wrapped))
|
||||
|
||||
def clean(self):
|
||||
return Shape.cast(self.wrapped.removeSplitter())
|
||||
"""Clean faces by removing splitter edges."""
|
||||
r = self.wrapped.removeSplitter()
|
||||
# removeSplitter() returns a generic Shape type, cast to actual type of object
|
||||
r = FreeCADPart.cast_to_shape(r)
|
||||
return Shape.cast(r)
|
||||
|
||||
def fillet(self, radius, edgeList):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user