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