[Tomviz] python + tomviz
Marcus D. Hanwell
marcus.hanwell at kitware.com
Tue Nov 20 11:36:28 EST 2018
Hi Matt,
Another really cool new feature that may be of interest is running the data
operator pipeline in Docker/a separate Python. It is not fully functional
yet, but once complete you can save JSON pipelines for data operators out,
and run them on as many inputs as required, even rewriting the pipeline
values if desired. We haven't talked about this much yet as it is not
complete, but it may do some of what you want.
Best,
Marcus
On Tue, Nov 20, 2018 at 11:33 AM Matthieu Vitse <
matthieu.vitse.sciviz at gmail.com> wrote:
> Hi Marcus,
>
> Thank you for your quick answer. I guess that writing parametric state
> files will do what I need, thanks for the suggestion!
>
> —
> Matt
>
> Le 20 nov. 2018 à 17:25, Marcus D. Hanwell <marcus.hanwell at kitware.com> a
> écrit :
>
> Hi Matt,
>
> The scripting in Tomviz, and the pipeline in general, are quite different
> to ParaView. We do not have a Python trace functionality at present, and
> scripting is generally done in the operators but not for the application at
> the present time. You can see many examples of Python for data operations,
> and they can all be modified. You can save and restore state, and inspect
> the JSON.
>
> I am hoping to add some of the scripting capabilities found in Python for
> building pipelines etc, but that infrastructure is not entirely general and
> so it requires some work to support the concepts developed for use in
> Tomviz pipelines.
>
> Thanks,
>
> Marcus
>
> On Tue, Nov 20, 2018 at 11:06 AM Matthieu Vitse <
> matthieu.vitse.sciviz at gmail.com> wrote:
>
>> Hi all,
>>
>> I’m trying to get my hands into the Python scripting in Tomviz, as I
>> usually do with ParaView, but i’m having some troubles finding info about
>> that. Do you have any samples of scripting for opening/closing datasets,
>> doing basic operations so I can work from that?
>>
>> also, I really like the python recording (trace) feature in ParaView, is
>> there any equivalent?
>>
>> Thank you!
>>
>> —
>> Matt
>> _______________________________________________
>> Tomviz mailing list
>> Tomviz at public.kitware.com
>> https://public.kitware.com/mailman/listinfo/tomviz
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/tomviz/attachments/20181120/6d7e36bb/attachment.html>
More information about the Tomviz
mailing list