I think the whole thing would be easier if TGE handled Euler well, It'd be easier to make it think more 2D that way, with just angles and distance in the X and Y; Then setting the angle ratio to make the Z the dependent variable. You could find the ratio yourself with Cartesian, or look it up somewhere. And use For operator or something. I'm new to coding in general. That's just my idea