def transform_to_3d(points,normal,z=<NUM_LIT:0>):
d = np.cross(normal, (<NUM_LIT:0>, <NUM_LIT:0>, <NUM_LIT:1>))<EOL>M = rotation_matrix(d)<EOL>transformed_points = M.dot(points.T).T + z<EOL>return transformed_points<EOL>
Project points into 3d from 2d points.