当前位置:网站首页>pyvista 的介绍与使用
pyvista 的介绍与使用
2022-08-04 09:40:00 【comedate】
对于三维 mesh 的显示来说,VTK 是一个比较通用的库。但是,VTK 库属于基础库,使用起来代码量还是挺多的。
后来,就找到 python 的 pyvista 三方库。
1. pyvista 源码地址:
https://github.com/pyvista/vtk-data
2. 简单的例子
from pyvista import examples
import pyvista
# download cow mesh
cow = examples.download_cow()
# step1: read mesh
mesh_folder = r'D:\smooth\smooth_example'
mesh_file = mesh_folder + r'cow.stl'
vista_mesh = pyvista.read(mesh_file)
vista_mesh.plot(show_edges=True, color='w')
3. 三方库文档
https://github.com/pyvista/pyvista/tree/main/doc
边栏推荐
猜你喜欢

如何快速将Zabbix5.0升级至6.0?

TCP的四次挥手

参数优化。

2022年化工自动化控制仪表考试模拟100题及模拟考试
![Detailed explanation of NAT/NAPT address translation (internal and external network communication) technology [Huawei eNSP]](/img/82/f76e87689599f3501a13f83c0fa970.png)
Detailed explanation of NAT/NAPT address translation (internal and external network communication) technology [Huawei eNSP]

冰蝎工具开发实现动态二进制加密WebShell

双重for循环案例以及while循环和do while循环案例

LeetCode简单题之最好的扑克手牌
![一道[CSCCTF 2019 Qual]FlaskLight的详解再遇SSTI](/img/98/8b2359b7b99da9e50821cdaaf5e47d.png)
一道[CSCCTF 2019 Qual]FlaskLight的详解再遇SSTI

【正点原子STM32连载】第二章 STM32简介 摘自【正点原子】MiniPro STM32H750 开发指南_V1.1
随机推荐
继承和static关键字
Win11如何隐藏输入法悬浮窗?
2022-08-03 第六小组 瞒春 学习笔记
Anton Paar Anton Paar Density Meter Hydrometer Repair DMA35 Performance Parameters
Detailed explanation of MSTP protocol configuration on Layer 3 switches [Huawei eNSP experiment]
VRRP + MSTP configuration, huawei eNSP experiment 】 【
函数防抖与函数节流
今日睡眠质量记录71分
MindSpore:图算融合报错
开源一夏 | 查询分页不只有limit,这四种分页方法值得掌握
冰蝎逆向初探
浅聊偏函数
有了这篇 Kubernetes 的介绍,它的原理秒懂!
去掉js代码文件所有注释
Layer 3 Switch/Router OSPF Configuration Details [Huawei eNSP Experiment]
华为od项目
After four years of outsourcing, the autumn recruits finally landed
软件工程国考总结——判断题
ZbxTable 2.0 重磅发布!6大主要优化功能!
leetcode二叉树系列(一)