Tracing script is beyond me, but ...
Olivier's page
here has a splayed window opening, don't know if he has it working in sloped
or curved walls, however I imagine his GDL will be easier to diagram and modify.
I think the new reveals on AC14 window are a major improvement. See attached. I do see that your head splay does not match the bottom splay, I 14 object will do that also, I just didn't change the values.
HTH
Snap