qtmodel 0.6.15__tar.gz → 0.6.16__tar.gz
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 qtmodel might be problematic. Click here for more details.
- {qtmodel-0.6.15 → qtmodel-0.6.16}/PKG-INFO +17 -4
- {qtmodel-0.6.15 → qtmodel-0.6.16}/README.md +15 -2
- {qtmodel-0.6.15 → qtmodel-0.6.16}/qtmodel/qt_mdb.py +18 -0
- {qtmodel-0.6.15 → qtmodel-0.6.16}/qtmodel.egg-info/PKG-INFO +17 -4
- {qtmodel-0.6.15 → qtmodel-0.6.16}/setup.py +1 -1
- {qtmodel-0.6.15 → qtmodel-0.6.16}/qtmodel/__init__.py +0 -0
- {qtmodel-0.6.15 → qtmodel-0.6.16}/qtmodel/qt_db.py +0 -0
- {qtmodel-0.6.15 → qtmodel-0.6.16}/qtmodel/qt_odb.py +0 -0
- {qtmodel-0.6.15 → qtmodel-0.6.16}/qtmodel.egg-info/SOURCES.txt +0 -0
- {qtmodel-0.6.15 → qtmodel-0.6.16}/qtmodel.egg-info/dependency_links.txt +0 -0
- {qtmodel-0.6.15 → qtmodel-0.6.16}/qtmodel.egg-info/top_level.txt +0 -0
- {qtmodel-0.6.15 → qtmodel-0.6.16}/setup.cfg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: qtmodel
|
|
3
|
-
Version: 0.6.
|
|
4
|
-
Summary: python modeling for qt 2025-
|
|
3
|
+
Version: 0.6.16
|
|
4
|
+
Summary: python modeling for qt 2025-05-06
|
|
5
5
|
Home-page: https://github.com/Inface0443/pyqt
|
|
6
6
|
Author: dqy-zhj
|
|
7
7
|
Author-email: 1105417715@qq.com
|
|
@@ -12,9 +12,9 @@ Classifier: Programming Language :: Python :: 3
|
|
|
12
12
|
Classifier: Operating System :: OS Independent
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
|
|
15
|
-
> 最新版本 V0.6.
|
|
15
|
+
> 最新版本 V0.6.16 - 2025-05-06
|
|
16
16
|
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
17
|
-
-
|
|
17
|
+
- 新增更新结构组接口
|
|
18
18
|
# 建模操作
|
|
19
19
|
## 建模助手
|
|
20
20
|
### create_cantilever_bridge
|
|
@@ -288,6 +288,19 @@ mdb.add_structure_group(name="新建结构组1")
|
|
|
288
288
|
mdb.add_structure_group(name="新建结构组2",node_ids=[1,2,3,4],element_ids=[1,2])
|
|
289
289
|
```
|
|
290
290
|
Returns: 无
|
|
291
|
+
### update_structure_group
|
|
292
|
+
更新结构组信息
|
|
293
|
+
> 参数:
|
|
294
|
+
> name: 结构组名
|
|
295
|
+
> new_name: 新结构组名
|
|
296
|
+
> node_ids: 节点编号列表(可选参数)
|
|
297
|
+
> element_ids: 单元编号列表(可选参数)
|
|
298
|
+
```Python
|
|
299
|
+
# 示例代码
|
|
300
|
+
from qtmodel import *
|
|
301
|
+
mdb.update_structure_group(name="结构组",new_name="新建结构组",node_ids=[1,2,3,4],element_ids=[1,2])
|
|
302
|
+
```
|
|
303
|
+
Returns: 无
|
|
291
304
|
### update_structure_group_name
|
|
292
305
|
更新结构组名
|
|
293
306
|
> 参数:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
> 最新版本 V0.6.
|
|
1
|
+
> 最新版本 V0.6.16 - 2025-05-06
|
|
2
2
|
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
3
|
-
-
|
|
3
|
+
- 新增更新结构组接口
|
|
4
4
|
# 建模操作
|
|
5
5
|
## 建模助手
|
|
6
6
|
### create_cantilever_bridge
|
|
@@ -274,6 +274,19 @@ mdb.add_structure_group(name="新建结构组1")
|
|
|
274
274
|
mdb.add_structure_group(name="新建结构组2",node_ids=[1,2,3,4],element_ids=[1,2])
|
|
275
275
|
```
|
|
276
276
|
Returns: 无
|
|
277
|
+
### update_structure_group
|
|
278
|
+
更新结构组信息
|
|
279
|
+
> 参数:
|
|
280
|
+
> name: 结构组名
|
|
281
|
+
> new_name: 新结构组名
|
|
282
|
+
> node_ids: 节点编号列表(可选参数)
|
|
283
|
+
> element_ids: 单元编号列表(可选参数)
|
|
284
|
+
```Python
|
|
285
|
+
# 示例代码
|
|
286
|
+
from qtmodel import *
|
|
287
|
+
mdb.update_structure_group(name="结构组",new_name="新建结构组",node_ids=[1,2,3,4],element_ids=[1,2])
|
|
288
|
+
```
|
|
289
|
+
Returns: 无
|
|
277
290
|
### update_structure_group_name
|
|
278
291
|
更新结构组名
|
|
279
292
|
> 参数:
|
|
@@ -429,6 +429,24 @@ class Mdb:
|
|
|
429
429
|
except Exception as ex:
|
|
430
430
|
raise Exception(ex)
|
|
431
431
|
|
|
432
|
+
@staticmethod
|
|
433
|
+
def update_structure_group(name: str = "", new_name: str = "", node_ids: list[int] = None, element_ids: list[int] = None):
|
|
434
|
+
"""
|
|
435
|
+
更新结构组信息
|
|
436
|
+
Args:
|
|
437
|
+
name: 结构组名
|
|
438
|
+
new_name: 新结构组名
|
|
439
|
+
node_ids: 节点编号列表(可选参数)
|
|
440
|
+
element_ids: 单元编号列表(可选参数)
|
|
441
|
+
Example:
|
|
442
|
+
mdb.update_structure_group(name="结构组",new_name="新建结构组",node_ids=[1,2,3,4],element_ids=[1,2])
|
|
443
|
+
Returns: 无
|
|
444
|
+
"""
|
|
445
|
+
try:
|
|
446
|
+
qt_model.UpdateStructureGroup(name=name, newName=new_name, nodeIds=node_ids, elementIds=element_ids)
|
|
447
|
+
except Exception as ex:
|
|
448
|
+
raise Exception(ex)
|
|
449
|
+
|
|
432
450
|
@staticmethod
|
|
433
451
|
def update_structure_group_name(name: str = "", new_name: str = ""):
|
|
434
452
|
"""
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: qtmodel
|
|
3
|
-
Version: 0.6.
|
|
4
|
-
Summary: python modeling for qt 2025-
|
|
3
|
+
Version: 0.6.16
|
|
4
|
+
Summary: python modeling for qt 2025-05-06
|
|
5
5
|
Home-page: https://github.com/Inface0443/pyqt
|
|
6
6
|
Author: dqy-zhj
|
|
7
7
|
Author-email: 1105417715@qq.com
|
|
@@ -12,9 +12,9 @@ Classifier: Programming Language :: Python :: 3
|
|
|
12
12
|
Classifier: Operating System :: OS Independent
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
|
|
15
|
-
> 最新版本 V0.6.
|
|
15
|
+
> 最新版本 V0.6.16 - 2025-05-06
|
|
16
16
|
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
17
|
-
-
|
|
17
|
+
- 新增更新结构组接口
|
|
18
18
|
# 建模操作
|
|
19
19
|
## 建模助手
|
|
20
20
|
### create_cantilever_bridge
|
|
@@ -288,6 +288,19 @@ mdb.add_structure_group(name="新建结构组1")
|
|
|
288
288
|
mdb.add_structure_group(name="新建结构组2",node_ids=[1,2,3,4],element_ids=[1,2])
|
|
289
289
|
```
|
|
290
290
|
Returns: 无
|
|
291
|
+
### update_structure_group
|
|
292
|
+
更新结构组信息
|
|
293
|
+
> 参数:
|
|
294
|
+
> name: 结构组名
|
|
295
|
+
> new_name: 新结构组名
|
|
296
|
+
> node_ids: 节点编号列表(可选参数)
|
|
297
|
+
> element_ids: 单元编号列表(可选参数)
|
|
298
|
+
```Python
|
|
299
|
+
# 示例代码
|
|
300
|
+
from qtmodel import *
|
|
301
|
+
mdb.update_structure_group(name="结构组",new_name="新建结构组",node_ids=[1,2,3,4],element_ids=[1,2])
|
|
302
|
+
```
|
|
303
|
+
Returns: 无
|
|
291
304
|
### update_structure_group_name
|
|
292
305
|
更新结构组名
|
|
293
306
|
> 参数:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|