Data formats such as accessories, a line has three points, representing the X, Y, Z. then calculated under the conditions of the new Z value, and in accordance with the annex to re-generate a new data format of data files (point and order of change), in which X , Y constant, Z value changes. For example: when Z = 0, when the new Z = X * 2 + Y / 8, when Z <0, when the new Z = X / 6 + Y * 3.
How to write such a LISP? Invited friends to help a hand, thanks!