Hi Quaritexa, currently what the second script tries to do is to match the x-axis direction of the 3D view's cplane by tilting the ortho view.
If your view is not centered on the cplane origin then it will probably lead to those kinds of problems.
I think that the problem is that the "right thing to do" needs to be more completely and definitely specified. It's not possible to write a script just by writing "Do what I was thinking", it has to be broken down into very specific steps.
If you can describe a more detailed and exact algorithm for how it should work, that would help.
- Michael
|