Coreform-Cubit-Mesh-Export 1.4__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.

@@ -1,138 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: Coreform_Cubit_Mesh_Export
3
- Version: 1.4
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メッシュをエクスポート 2次要素に対応
105
-
106
- ### Nastran形式
107
- - `export_Nastran(cubit, filename, DIM="2D|3D", PYRAM=True|False)` - 2D/3DメッシュをNastran形式でエクスポート、PyramidをHexに変換、1次要素のみサポート
108
-
109
- ### MEG形式(ELF用)
110
- - `export_meg(cubit, filename, DIM="T|R|K", MGR2)` - T:3次元、R:軸対称、K:2次元、MGR2で空間節点を指定
111
-
112
- ### VTK形式
113
- - `export_3D_vtk(cubit, filename, ORDER="2nd")` - Legacy VTK形式でエクスポート、2ndで2次要素に対応
114
-
115
- ## 要件
116
-
117
- - Python 3.7以上
118
- - NumPy >= 1.20.3
119
- - SciPy >= 1.6.3
120
- - Coreform Cubit(メッシュ生成用)
121
-
122
- ## ライセンス
123
-
124
- BSD 3-Clause License
125
-
126
- ## 作者
127
-
128
- Kengo Sugahara (ksugahar@gmail.com)
129
-
130
- ## リポジトリ
131
-
132
- - GitHub: [https://github.com/ksugahar/Coreform_Cubit_Mesh_Export](https://github.com/ksugahar/Coreform_Cubit_Mesh_Export)
133
- - PyPI: [https://pypi.org/project/coreform-cubit-mesh-export/](https://pypi.org/project/coreform-cubit-mesh-export/)
134
-
135
- ## バグ報告・機能要望
136
-
137
- [GitHub Issues](https://github.com/ksugahar/Coreform_Cubit_Mesh_Export/issues)にてお願いします。
138
-
@@ -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.4.dist-info/METADATA,sha256=DhhB3UmOZRKMQJlwFLZuqDK5elf7lbdWWRUPHyHhIXU,4386
7
- coreform_cubit_mesh_export-1.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
- coreform_cubit_mesh_export-1.4.dist-info/top_level.txt,sha256=kKpvsJ-GNEjfO5z-ekTyHF0-sf9m62KYMGMsv4qLWJM,32
9
- coreform_cubit_mesh_export-1.4.dist-info/RECORD,,