PVGeo-Examples 2.2 - omfvtk

14 篇文章 2 订阅

The Open Mining Format (OMF) was developed to enable seamless and reliable transfer of data between mine software packages and to enable major efficiency gains by eliminating the time currently required for manual and/or convoluted data transfer across the mine site.

开放式采矿格式(OMF)数据文件可以消除矿场之间手动和/或繁琐的数据传输所需的时间,从而在矿山软件包之间实现无缝,可靠的数据传输,并提高效率。

import pyvista
import omfvista

pyvista.set_plot_theme('document')

project = omfvista.load_project('data/test_file.omf')
project
InformationBlocks
MultiBlockValues
N Blocks9
X Bounds443941.105, 447059.611
Y Bounds491941.536, 495059.859
Z Bounds2330.000, 3555.942
IndexNameType
0collarPolyData
1wolfpass_WP_assayPolyData
2TopographyUnstructuredGrid
3BasementUnstructuredGrid
4Early DioriteUnstructuredGrid
5Intermineral dioriteUnstructuredGrid
6DaciteUnstructuredGrid
7CoverUnstructuredGrid
8Block ModelRectilinearGrid
project.plot(multi_colors=True)

在这里插入图片描述

# Grab a few elements of interest and plot em up!
vol = project['Block Model']
assay = project['wolfpass_WP_assay']
topo = project['Topography']
dacite = project['Dacite']
vol.slice_orthogonal().plot()

在这里插入图片描述

threshed = vol.threshold_percent([0.25, 0.75])
threshed.plot(clim=vol.get_data_range())

在这里插入图片描述

# make an active plotting window
p = pyvista.Plotter()
# Add datasets
p.add_mesh(topo, cmap='gist_earth', opacity=0.5)
p.add_mesh(threshed, opacity=0.5)
p.add_mesh(assay, color='red', line_width=3)
p.add_mesh(dacite, color='yellow', opacity=0.6)
# Add the bounds axis
p.show_bounds()
# Render
p.show()

在这里插入图片描述

Reference

PVGeo-Examples

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值