A couple of questions:
Is a side of the triangle determined by a single die roll? Or do you sum up three rolls per side?
Are non-possible triangles considered valid solutions? e.g. A roll of 1,1,6 might appear isosceles, but would not be a valid triangle.