Coreform-Cubit-Mesh-Export 1.3__py3-none-any.whl → 1.4.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of Coreform-Cubit-Mesh-Export might be problematic. Click here for more details.
- coreform_cubit_mesh_export-1.4.1.dist-info/METADATA +124 -0
- coreform_cubit_mesh_export-1.4.1.dist-info/RECORD +10 -0
- coreform_cubit_mesh_export-1.4.1.dist-info/licenses/LICENSE +504 -0
- cubit_mesh_export.py +632 -558
- coreform_cubit_mesh_export-1.3.dist-info/METADATA +0 -156
- coreform_cubit_mesh_export-1.3.dist-info/RECORD +0 -9
- {coreform_cubit_mesh_export-1.3.dist-info → coreform_cubit_mesh_export-1.4.1.dist-info}/WHEEL +0 -0
- {coreform_cubit_mesh_export-1.3.dist-info → coreform_cubit_mesh_export-1.4.1.dist-info}/top_level.txt +0 -0
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: Coreform_Cubit_Mesh_Export
|
|
3
|
-
Version: 1.3
|
|
4
|
-
Summary: Cubit mesh export to various formats including Gmsh, Nastran, and VTK
|
|
5
|
-
Author-email: Kengo Sugahara <ksugahar@gmail.com>
|
|
6
|
-
Maintainer-email: Kengo Sugahara <ksugahar@gmail.com>
|
|
7
|
-
License: BSD-3-Clause
|
|
8
|
-
Project-URL: Homepage, https://github.com/ksugahar/Coreform_Cubit_Mesh_Export
|
|
9
|
-
Project-URL: Repository, https://github.com/ksugahar/Coreform_Cubit_Mesh_Export
|
|
10
|
-
Project-URL: Bug Tracker, https://github.com/ksugahar/Coreform_Cubit_Mesh_Export/issues
|
|
11
|
-
Keywords: cubit,mesh,gmsh,nastran,vtk,export,coreform
|
|
12
|
-
Classifier: Development Status :: 4 - Beta
|
|
13
|
-
Classifier: Intended Audience :: Science/Research
|
|
14
|
-
Classifier: License :: OSI Approved :: BSD License
|
|
15
|
-
Classifier: Operating System :: OS Independent
|
|
16
|
-
Classifier: Programming Language :: Python :: 3
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
-
Classifier: Topic :: Scientific/Engineering
|
|
24
|
-
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
25
|
-
Requires-Python: >=3.7
|
|
26
|
-
Description-Content-Type: text/markdown
|
|
27
|
-
Requires-Dist: numpy>=1.20.3
|
|
28
|
-
Requires-Dist: scipy>=1.6.3
|
|
29
|
-
|
|
30
|
-
# Coreform Cubit Mesh Export
|
|
31
|
-
|
|
32
|
-
Coreform Cubitから様々な形式のメッシュファイルをエクスポートするPythonライブラリ
|
|
33
|
-
|
|
34
|
-
## インストール方法
|
|
35
|
-
|
|
36
|
-
### PyPIから直接インストール(推奨)
|
|
37
|
-
```bash
|
|
38
|
-
pip install --upgrade coreform-cubit-mesh-export
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
### Cubit内蔵Pythonの場合
|
|
42
|
-
```bash
|
|
43
|
-
cd "C:\Program Files\Coreform Cubit 2025.3\bin\python3\"
|
|
44
|
-
python.exe -m pip install --upgrade coreform-cubit-mesh-export
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
### 開発版をGitHubからインストール
|
|
48
|
-
```bash
|
|
49
|
-
pip install git+https://github.com/ksugahar/Coreform_Cubit_Mesh_Export.git
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
### ローカルインストール(開発用)
|
|
53
|
-
```bash
|
|
54
|
-
git clone https://github.com/ksugahar/Coreform_Cubit_Mesh_Export.git
|
|
55
|
-
cd Coreform_Cubit_Mesh_Export
|
|
56
|
-
pip install -e .
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
## サポートしているファイル形式
|
|
60
|
-
|
|
61
|
-
- **Gmsh形式**
|
|
62
|
-
- バージョン2.2(完全サポート)
|
|
63
|
-
- **Nastran形式**
|
|
64
|
-
- 2Dメッシュ
|
|
65
|
-
- 3Dメッシュ
|
|
66
|
-
- **MEG形式**(ELF用)
|
|
67
|
-
- 2Dメッシュ
|
|
68
|
-
- 3Dメッシュ
|
|
69
|
-
- **VTK形式**
|
|
70
|
-
- メッシュのみ(Legacy VTK形式)
|
|
71
|
-
|
|
72
|
-
## 使い方
|
|
73
|
-
|
|
74
|
-
### Cubit内での使用例
|
|
75
|
-
|
|
76
|
-
Cubitでメッシュ生成後、以下のようにPythonスクリプトを実行します:
|
|
77
|
-
|
|
78
|
-
```python
|
|
79
|
-
# Cubitコマンドライン
|
|
80
|
-
play "export_mesh.py"
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
`export_mesh.py`の内容例:
|
|
84
|
-
|
|
85
|
-
```python
|
|
86
|
-
import cubit_mesh_export
|
|
87
|
-
|
|
88
|
-
# Nastran形式でエクスポート
|
|
89
|
-
FileName = 'output/model.nas'
|
|
90
|
-
cubit_mesh_export.export_3D_Nastran(cubit, FileName)
|
|
91
|
-
|
|
92
|
-
# Gmsh形式でエクスポート
|
|
93
|
-
FileName = 'output/model.msh'
|
|
94
|
-
cubit_mesh_export.export_3D_gmsh_ver2(cubit, FileName)
|
|
95
|
-
|
|
96
|
-
# VTK形式でエクスポート
|
|
97
|
-
FileName = 'output/model.vtk'
|
|
98
|
-
cubit_mesh_export.export_3D_vtk(cubit, FileName)
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
## 関数一覧
|
|
102
|
-
|
|
103
|
-
### Gmsh形式
|
|
104
|
-
- `export_gmsh_ver2(cubit, filename)` - Gmsh v2.2形式で3Dメッシュをエクスポート
|
|
105
|
-
|
|
106
|
-
### Nastran形式
|
|
107
|
-
- `export_2D_Nastran(cubit, filename)` - 2DメッシュをNastran形式でエクスポート
|
|
108
|
-
- `export_3D_Nastran(cubit, filename)` - 3DメッシュをNastran形式でエクスポート
|
|
109
|
-
|
|
110
|
-
### MEG形式(ELF用)
|
|
111
|
-
- `export_meg(cubit, filename)`
|
|
112
|
-
|
|
113
|
-
### VTK形式
|
|
114
|
-
- `export_3D_vtk(cubit, filename)` - 3DメッシュをVTK形式でエクスポート
|
|
115
|
-
|
|
116
|
-
## 要件
|
|
117
|
-
|
|
118
|
-
- Python 3.7以上
|
|
119
|
-
- NumPy >= 1.20.3
|
|
120
|
-
- SciPy >= 1.6.3
|
|
121
|
-
- Coreform Cubit(メッシュ生成用)
|
|
122
|
-
|
|
123
|
-
## ライセンス
|
|
124
|
-
|
|
125
|
-
BSD 3-Clause License
|
|
126
|
-
|
|
127
|
-
## 作者
|
|
128
|
-
|
|
129
|
-
Kengo Sugahara (ksugahar@gmail.com)
|
|
130
|
-
|
|
131
|
-
## リポジトリ
|
|
132
|
-
|
|
133
|
-
- GitHub: [https://github.com/ksugahar/Coreform_Cubit_Mesh_Export](https://github.com/ksugahar/Coreform_Cubit_Mesh_Export)
|
|
134
|
-
- PyPI: [https://pypi.org/project/coreform-cubit-mesh-export/](https://pypi.org/project/coreform-cubit-mesh-export/)
|
|
135
|
-
|
|
136
|
-
## バグ報告・機能要望
|
|
137
|
-
|
|
138
|
-
[GitHub Issues](https://github.com/ksugahar/Coreform_Cubit_Mesh_Export/issues)にてお願いします。
|
|
139
|
-
|
|
140
|
-
## 変更履歴
|
|
141
|
-
|
|
142
|
-
### v0.9.4 (2025-09-11)
|
|
143
|
-
- **バグ修正**
|
|
144
|
-
- Gmsh v4形式: Wedge要素のノード出力を4個から6個に修正
|
|
145
|
-
- Gmsh v4形式: 要素タグを0ではなく1から開始するよう修正
|
|
146
|
-
- Gmsh v4形式: 空の要素リストでmin/max関数がエラーになる問題を修正
|
|
147
|
-
- VTK形式: WedgeとPyramid要素のconnectivity取得処理が欠落していた問題を修正
|
|
148
|
-
- NASTRAN形式: f-string構文エラーを修正
|
|
149
|
-
|
|
150
|
-
### v0.9.3 (2025-01)
|
|
151
|
-
- パッケージ名を`Coreform_Cubit_Mesh_Export`に統一
|
|
152
|
-
- `pyproject.toml`ベースの最新パッケージング方式に移行
|
|
153
|
-
- ドキュメントの改善
|
|
154
|
-
|
|
155
|
-
### v0.9.2
|
|
156
|
-
- 初回PyPIリリース
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
cubit_mesh_export.py,sha256=STR8WvHLmVoUaWISfpn2oXhiE8ZpwF5denx8e2wEZbs,25050
|
|
2
|
-
sample_script/cubit_mesh_export_2d_geo_lukas_format.py,sha256=XJh9K2nMYkpqBgSzTNhxy1dn4ZLczw0lecCCNBGaTHk,2543
|
|
3
|
-
sample_script/cubit_mesh_export_3d_cdb.py,sha256=Kw6ViJ7wXBjqL5FvglvtY0ozqc_liIPEcsUVNfLAdes,4925
|
|
4
|
-
sample_script/cubit_mesh_export_3d_freefem_mesh.py,sha256=doBAxvORdAj5NJ07Z2POwz_bue-AtEqDMBUajV7mk8k,2095
|
|
5
|
-
sample_script/cubit_mesh_export_3d_gmesh_v4.py,sha256=PVKQB0_RBhG3qEhUo6RbzjsH6ZDf23VSyHIxqfcF5QU,6947
|
|
6
|
-
coreform_cubit_mesh_export-1.3.dist-info/METADATA,sha256=JooncWOJ7jSGW6Vgj5Wslbj_r3YbNGF7HwFaL9jIaFA,4953
|
|
7
|
-
coreform_cubit_mesh_export-1.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
-
coreform_cubit_mesh_export-1.3.dist-info/top_level.txt,sha256=kKpvsJ-GNEjfO5z-ekTyHF0-sf9m62KYMGMsv4qLWJM,32
|
|
9
|
-
coreform_cubit_mesh_export-1.3.dist-info/RECORD,,
|
{coreform_cubit_mesh_export-1.3.dist-info → coreform_cubit_mesh_export-1.4.1.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|