def GetPCBCM(CA, CB, CC, CD):
    """
    Calculate the PCB geometry center based on its 4 corners
    """
    x = 0.5 * (0.5 * (CA[0] + CB[0]) + 0.5 * (CC[0] + CD[0]))
    y = 0.5 * (0.5 * (CA[1] + CB[1]) + 0.5 * (CC[1] + CD[1]))
    z = 0.5 * (0.5 * (CA[2] + CB[2]) + 0.5 * (CC[2] + CD[2]))
    return x, y, z
