We only look at the midpoint of point_1 and point_2. point_1 and point_2 are on the faces and the solid_at_point method could fail. Also, this way you only have one material to look at.
We only look at the midpoint of point_1 and point_2. point_1 and point_2 are on the faces and the solid_at_point method could fail. Also, this way you only have one material to look at.

bielcardona/pySunScene