def __repr__(self):
        return "<NamedRequirements({}{})>".format(
            self.name,
            ", filename='{}'".format(self.filename.name) if self.filename
            else "")
def getLenp3(self):
        p1 = self.p1
        ret = p1.distance(self.p2)
        return ret