def create_default_groups(self):
        for group in self.groups:
            group = group.replace(" ", "_").lower()
            self[group] = NamedRequirements(group)
def getLenp2(self):
        p1 = self.p1
        ret = p1.distance(self.p3)
        return ret