Replace BRepTools_ReShape with BRepBuilderAPI_MakeSolid in refinement algorithm

This commit is contained in:
wmayer
2013-08-23 15:25:17 +02:00
parent 43a85d4ef1
commit bed8a97114
3 changed files with 8 additions and 10 deletions

View File

@@ -274,10 +274,7 @@ class RefineShape:
def execute(self, fp):
if fp.Base and fp.Base.Shape.isValid():
sh=fp.Base.Shape.removeSplitter()
if sh.Placement.isNull():
fp.Shape=sh
else:
fp.Shape=sh.transformGeometry(sh.Placement.toMatrix())
fp.Shape=sh
class GetWire:
'''return the first wire from a given shape'''