Skip to content

I want to make short cut function in Visualizer #82

Open

Description

@pochi-horse

We make GUI of simulation software using Visualizer. Then, I make short cut functions. For example, the function can load vtk file with automatically changing scale like the transform function of ParaView.

Does Visualizer have a script function like ParaView? Any figure can be visualized on the browser by loading script file. If there, teach me how to use script.

As the other way, I will edit the Visualizer's javascript program. I think that I can edit the program, if I understand below programs. Then, I have questions.

I want to know how to edit props.
/src/panels/ControlPanel/FilterPanel/index.js
export function FilterPanel(props)

I want to know how to edit state parameter.
/src/panels/ControlPanel/FilterPanel/index.js
export default connect((state)

Furthermore, I want the manual of Visualizer's program if it exists.

Activity

  1. jourdain commented on Aug 12, 2019

    @jourdain
    Collaborator

    In order to achieve what you plan to do, you should create a small Python based plugin for ParaView that expose only the settings your are planning to use that combine a suite of filters.
    Once you have that plugin working in ParaView, you just need to load it to have it available inside Visualizer. The only constraint will be to properly add it to the white listed proxies of Visualizer so you could find it in the content of the (+) panel.

  2. pochi-horse commented on Aug 13, 2019

    @pochi-horse
    Author

    Thank you for your advises. But I do not well understand plugin for Paraview now. At first, I study the plugin. And then, I try to load it as you said.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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