[Chimera-users] suggestion: if clip planes cross, swap them?
goddard at sonic.net
Thu May 11 16:38:07 PDT 2017
Ok, I changed Chimera clip and thickness commands so that if the near clip plane ends up behind the far clip plane it does not give an error, but instead places the far plane 0.01 behind the near plane. This will be in tonight’s Chimera daily build.
> On May 11, 2017, at 9:22 AM, Oliver Clarke <olibclarke at gmail.com> wrote:
> Quite often, in aliases and scripts where I am adjusting the clip planes, I get the error “far clip plane placed in front of near clip plane”, or words to that effect. I’ve tried various ways to remedy this but it has to be done on a case by case basis and sometimes I just can’t figure it out.
> Would there be any possibility for Chimera to rather than triggering an error in such a case, just swap the clip planes when this happens, so the near plane becomes the far plane, and vice-versa?
> Or is there some other foolproof way to avoid this? I get this error when I want to adjust the hither and yon planes successively - would it be possible to add a command that adjusts them both at the same time, like `section` but with simultaneous independent control over both clip planes?
> Chimera-users mailing list: Chimera-users at cgl.ucsf.edu
> Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
More information about the Chimera-users