Getting Started  入门指南

Getting Started#  入门指南#

This guide is here to help you start creating interactive 3D plots with PyVista with the help of our examples and tutorials.
本指南旨在帮助您通过我们的示例和教程开始使用 PyVista 创建交互式 3D 图表。

Here’s a quick demo of PyVista running within JupyterLab.
这是一个在 JupyterLab 中运行 PyVista 的快速演示。

Here’s a quick demo of PyVista running within a terminal using IPython.

Installation#  安装#

The only prerequisite for installing PyVista is Python itself. If you don’t have Python yet and want the simplest way to get started, we recommend you use the Anaconda Distribution.
安装 PyVista 唯一的前提条件是 Python 本身。如果您还没有 Python,并且想要最简单的入门方式,我们推荐您使用 Anaconda 发行版

Working with conda?  使用 conda 吗?

PyVista is available on conda-forge.
PyVista 可在 conda-forge 上获取。

conda install -c conda-forge pyvista
Prefer pip?  更喜欢使用 pip?

PyVista can be installed via pip from PyPI.
PyVista 可以通过 pip 从 PyPI 安装。

pip install pyvista
In-depth instructions?  深入的说明?

Installing a specific version? Installing from source? Check the Installation page.
安装特定版本?从源码安装?请查看 安装 页面。

Installation  安装

First Steps#  第一步#

We’ve provided a variety of resources for you to get used to PyVista’s API through a range of examples and tutorials.
我们提供了各种资源,通过一系列示例和教程帮助您熟悉 PyVista 的 API。

Tutorial  教程

Probably the best way for you to get used to PyVista is to visit our dedicated tutorial.
让您熟悉 PyVista 的最好方式可能是访问我们专门的教程

https://tutorial.pyvista.org/tutorial.html
Why PyVista?  为什么选择 PyVista?

Learn more about why we created PyVista as an interface to the Visualization Toolkit (VTK).
了解更多关于我们为何创建 PyVista 作为可视化工具包(VTK)接口的原因。

import pyvista

mesh = pyvista.read('bunny.stl')
mesh.plot()
../_images/index-2_00_001.png
Why PyVista?  为什么选择 PyVista?
Authors & Citation  作者与引用

Using PyVista in your research? Please consider citing or acknowledging us. We have a JOSS Publication!
在您的研究中使用 PyVista?请考虑引用或致谢我们。我们有一篇 JOSS 发表文章

../_images/joss.png
Authors  作者
See PyVista in External Efforts
参见外部项目中的 PyVista

Take a look at third party projects using PyVista.
看看使用 PyVista 的第三方项目。

External Examples  外部示例

Support#  支持#

For general questions about the project, its applications, or about software usage, please create a discussion in pyvista/discussions where the community can collectively address your questions. You are also welcome to join us on Slack.
对于有关项目、其应用或软件使用的一般问题,请在 pyvista/discussions 中创建讨论。 社区可以共同解决您的问题。您也可以 欢迎加入我们的 Slack

Citing PyVista#  引用 PyVista#

There is a paper about PyVista.
这里有一篇关于 PyVista 的论文

If you are using PyVista in your scientific research, please help our scientific visibility by citing our work. Head over to Citing PyVista to learn more about citing PyVista.
如果您在科学研究中使用 PyVista,请通过引用我们的工作来帮助提升我们的科学影响力。请访问引用 PyVista 了解更多关于如何引用 PyVista 的信息。