Skip to content

Smokeview clipping plane feature request #10794

@firemist

Description

@firemist

It would be helpful to be able to specify clipping planes directly from the main view with shortcut keys rather than having to bring up the clipping plane box and find the exact coordinate for the plane. This request is not to replace the clipping plane box, but rather to provide a quick access to setting up (or toggling) a clipping plane visually from the main screen.

As you'll see it described below, a great key combination would have been the unshifted or shifted 'c'/'C' key. However, the 'c' key is already heavily overloaded in Smokeview. With that in mind and that ALT-c brings up the clipping dialog box, 'c' might be defined as ctrl-alt-c and 'C' might be defined as shft-alt-c.

Here's how I envision it working (using 'c' and 'C', whatever keys might eventually be used):

  1. These actions would only apply (work/execute) when one or more grid planes are active; otherwise, no action occurs.
  2. The action would apply to the most recently "active" grid plane. That is, the one that most recently either moved or was turned on.
  3. When one of the trigger keys is detected:
    a. If clipping is off, turn it on
    1. If "Clipping disabled", select "Clip blockages and data"; otherwise, no change to clip type
    2. If 'c' is depressed, turn on lower clipping for that plane
      a) Set the associated lower value to the value of the most recently active grid plane (x,y,z)
      b) Check the lower clip checkbox associated with that plane
    3. if 'C' is depressed, turn on upper clipping for that plane
      a) Set the associated upper value to the value of the most recently active grid plane (x,y,z)
      b) Check the upper clip checkbox associated with that plane
      b. If clipping is on for that plane and that direction (lower or upper), toggle that clipping plane off (uncheck clip box)

The anticipated benefit of these actions is to provide a single shortcut key that allows you to toggle clipping associated with the most recently active grid plane. It provides direct visual feedback between knowing exactly where the cut will occur in the given scene and addresses directionality of that cut.

Thank you for considering this feature request.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions