def unify_same_domain(solid): from OCC.Core.ShapeUpgrade import ShapeUpgrade_UnifySameDomain up = ShapeUpgrade_UnifySameDomain(solid) return up.Shape()
def _unify_face(proto): USD = ShapeUpgrade_UnifySameDomain(proto.Shape(), True, True, True) USD.Build() return Shape(USD.Shape())