gctl_toolkits/cutprofile/readme.md
2024-09-10 20:25:18 +08:00

39 lines
871 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#### cutplane 切割三维块体模型切面
切割三维块体模型或者三维数据体任意方位、长度的切片,因为任意方位平面与三维数据的切片无法保证结果切片是一个长方形,所以默认切片垂直与平面。
##### 输入文件
约定:以#号开始的行略过。
类型:.nwdmnode wise described model、.msh文件和.cwdmcell wise described model
.nwdm文件格式描述如下
```shell
# x-dir-num y-dir-num z-dir-num
10 10 5
# x-coord y-coord z-coord data1 data2 ...
20.5 20.5 20.5 43 31
.
.
.
```
.cwdm文件格式描述如下
```shell
# x-dir-num y-dir-num z-dir-num
10 10 5
# x-coord y-coord z-coord dx dy dz data1 data2 ...
20.5 20.5 10.5 1.0 1.0 1.0 34 21 ...
.
.
.
```
注意,模型单元坐标定位在模型单元中心。在程序中,所有点位均视为块体角点值。