qtmodel 0.6.1__tar.gz → 0.6.2__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.1 → qtmodel-0.6.2}/PKG-INFO +15 -5
- {qtmodel-0.6.1 → qtmodel-0.6.2}/README.md +14 -4
- {qtmodel-0.6.1 → qtmodel-0.6.2}/qtmodel/qt_mdb.py +23 -7
- {qtmodel-0.6.1 → qtmodel-0.6.2}/qtmodel.egg-info/PKG-INFO +15 -5
- {qtmodel-0.6.1 → qtmodel-0.6.2}/setup.py +1 -1
- {qtmodel-0.6.1 → qtmodel-0.6.2}/qtmodel/__init__.py +0 -0
- {qtmodel-0.6.1 → qtmodel-0.6.2}/qtmodel/qt_db.py +0 -0
- {qtmodel-0.6.1 → qtmodel-0.6.2}/qtmodel/qt_odb.py +0 -0
- {qtmodel-0.6.1 → qtmodel-0.6.2}/qtmodel.egg-info/SOURCES.txt +0 -0
- {qtmodel-0.6.1 → qtmodel-0.6.2}/qtmodel.egg-info/dependency_links.txt +0 -0
- {qtmodel-0.6.1 → qtmodel-0.6.2}/qtmodel.egg-info/top_level.txt +0 -0
- {qtmodel-0.6.1 → qtmodel-0.6.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: qtmodel
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.2
|
|
4
4
|
Summary: python modeling for qt 2025-01-13
|
|
5
5
|
Home-page: https://github.com/Inface0443/pyqt
|
|
6
6
|
Author: dqy-zhj
|
|
@@ -12,17 +12,26 @@ 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.2 - 2025-01-13
|
|
16
16
|
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
17
17
|
- 修改部分接口
|
|
18
18
|
## 项目管理
|
|
19
|
-
###
|
|
20
|
-
|
|
19
|
+
### undo_model
|
|
20
|
+
撤销模型上次操作
|
|
21
21
|
> 参数:
|
|
22
22
|
```Python
|
|
23
23
|
# 示例代码
|
|
24
24
|
from qtmodel import *
|
|
25
|
-
mdb.
|
|
25
|
+
mdb.undo_model()
|
|
26
|
+
```
|
|
27
|
+
Returns: 无
|
|
28
|
+
### redo_model
|
|
29
|
+
重做上次撤销
|
|
30
|
+
> 参数:
|
|
31
|
+
```Python
|
|
32
|
+
# 示例代码
|
|
33
|
+
from qtmodel import *
|
|
34
|
+
mdb.redo_model()
|
|
26
35
|
```
|
|
27
36
|
Returns: 无
|
|
28
37
|
### update_model
|
|
@@ -2669,6 +2678,7 @@ Returns: 无
|
|
|
2669
2678
|
更新荷载组合
|
|
2670
2679
|
> 参数:
|
|
2671
2680
|
> name:荷载组合名
|
|
2681
|
+
> new_name:新荷载组合名,默认不修改
|
|
2672
2682
|
> combine_type:荷载组合类型 (1-叠加 2-判别 3-包络)
|
|
2673
2683
|
> describe:描述
|
|
2674
2684
|
> combine_info:荷载组合信息 [(荷载工况类型,工况名,系数)...] 工况类型如下
|
|
@@ -1,14 +1,23 @@
|
|
|
1
|
-
# 最新版本 V0.6.
|
|
1
|
+
# 最新版本 V0.6.2 - 2025-01-13
|
|
2
2
|
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
3
3
|
- 修改部分接口
|
|
4
4
|
## 项目管理
|
|
5
|
-
###
|
|
6
|
-
|
|
5
|
+
### undo_model
|
|
6
|
+
撤销模型上次操作
|
|
7
7
|
> 参数:
|
|
8
8
|
```Python
|
|
9
9
|
# 示例代码
|
|
10
10
|
from qtmodel import *
|
|
11
|
-
mdb.
|
|
11
|
+
mdb.undo_model()
|
|
12
|
+
```
|
|
13
|
+
Returns: 无
|
|
14
|
+
### redo_model
|
|
15
|
+
重做上次撤销
|
|
16
|
+
> 参数:
|
|
17
|
+
```Python
|
|
18
|
+
# 示例代码
|
|
19
|
+
from qtmodel import *
|
|
20
|
+
mdb.redo_model()
|
|
12
21
|
```
|
|
13
22
|
Returns: 无
|
|
14
23
|
### update_model
|
|
@@ -2655,6 +2664,7 @@ Returns: 无
|
|
|
2655
2664
|
更新荷载组合
|
|
2656
2665
|
> 参数:
|
|
2657
2666
|
> name:荷载组合名
|
|
2667
|
+
> new_name:新荷载组合名,默认不修改
|
|
2658
2668
|
> combine_type:荷载组合类型 (1-叠加 2-判别 3-包络)
|
|
2659
2669
|
> describe:描述
|
|
2660
2670
|
> combine_info:荷载组合信息 [(荷载工况类型,工况名,系数)...] 工况类型如下
|
|
@@ -9,16 +9,30 @@ class Mdb:
|
|
|
9
9
|
|
|
10
10
|
# region 项目管理
|
|
11
11
|
@staticmethod
|
|
12
|
-
def
|
|
12
|
+
def undo_model():
|
|
13
13
|
"""
|
|
14
|
-
|
|
15
|
-
Args
|
|
14
|
+
撤销模型上次操作
|
|
15
|
+
Args:无
|
|
16
|
+
Example:
|
|
17
|
+
mdb.undo_model()
|
|
18
|
+
Returns: 无
|
|
19
|
+
"""
|
|
20
|
+
try:
|
|
21
|
+
qt_model.Undo()
|
|
22
|
+
except Exception as ex:
|
|
23
|
+
raise Exception(ex)
|
|
24
|
+
|
|
25
|
+
@staticmethod
|
|
26
|
+
def redo_model():
|
|
27
|
+
"""
|
|
28
|
+
重做上次撤销
|
|
29
|
+
Args:无
|
|
16
30
|
Example:
|
|
17
|
-
|
|
31
|
+
mdb.redo_model()
|
|
18
32
|
Returns: 无
|
|
19
33
|
"""
|
|
20
34
|
try:
|
|
21
|
-
qt_model.
|
|
35
|
+
qt_model.Redo()
|
|
22
36
|
except Exception as ex:
|
|
23
37
|
raise Exception(ex)
|
|
24
38
|
|
|
@@ -4207,11 +4221,13 @@ class Mdb:
|
|
|
4207
4221
|
raise Exception(ex)
|
|
4208
4222
|
|
|
4209
4223
|
@staticmethod
|
|
4210
|
-
def update_load_combine(name: str = "", combine_type: int = 1, describe: str = "",
|
|
4224
|
+
def update_load_combine(name: str = "", new_name: str = "", combine_type: int = 1, describe: str = "",
|
|
4225
|
+
combine_info: list[tuple[str, str, float]] = None):
|
|
4211
4226
|
"""
|
|
4212
4227
|
更新荷载组合
|
|
4213
4228
|
Args:
|
|
4214
4229
|
name:荷载组合名
|
|
4230
|
+
new_name:新荷载组合名,默认不修改
|
|
4215
4231
|
combine_type:荷载组合类型 (1-叠加 2-判别 3-包络)
|
|
4216
4232
|
describe:描述
|
|
4217
4233
|
combine_info:荷载组合信息 [(荷载工况类型,工况名,系数)...] 工况类型如下
|
|
@@ -4224,7 +4240,7 @@ class Mdb:
|
|
|
4224
4240
|
try:
|
|
4225
4241
|
if combine_info is None:
|
|
4226
4242
|
combine_info = []
|
|
4227
|
-
qt_model.UpdateLoadCombine(name=name, loadCombineType=combine_type, describe=describe, caseAndFactor=combine_info)
|
|
4243
|
+
qt_model.UpdateLoadCombine(name=name, newName=new_name, loadCombineType=combine_type, describe=describe, caseAndFactor=combine_info)
|
|
4228
4244
|
except Exception as ex:
|
|
4229
4245
|
raise Exception(ex)
|
|
4230
4246
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: qtmodel
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.2
|
|
4
4
|
Summary: python modeling for qt 2025-01-13
|
|
5
5
|
Home-page: https://github.com/Inface0443/pyqt
|
|
6
6
|
Author: dqy-zhj
|
|
@@ -12,17 +12,26 @@ 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.2 - 2025-01-13
|
|
16
16
|
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
17
17
|
- 修改部分接口
|
|
18
18
|
## 项目管理
|
|
19
|
-
###
|
|
20
|
-
|
|
19
|
+
### undo_model
|
|
20
|
+
撤销模型上次操作
|
|
21
21
|
> 参数:
|
|
22
22
|
```Python
|
|
23
23
|
# 示例代码
|
|
24
24
|
from qtmodel import *
|
|
25
|
-
mdb.
|
|
25
|
+
mdb.undo_model()
|
|
26
|
+
```
|
|
27
|
+
Returns: 无
|
|
28
|
+
### redo_model
|
|
29
|
+
重做上次撤销
|
|
30
|
+
> 参数:
|
|
31
|
+
```Python
|
|
32
|
+
# 示例代码
|
|
33
|
+
from qtmodel import *
|
|
34
|
+
mdb.redo_model()
|
|
26
35
|
```
|
|
27
36
|
Returns: 无
|
|
28
37
|
### update_model
|
|
@@ -2669,6 +2678,7 @@ Returns: 无
|
|
|
2669
2678
|
更新荷载组合
|
|
2670
2679
|
> 参数:
|
|
2671
2680
|
> name:荷载组合名
|
|
2681
|
+
> new_name:新荷载组合名,默认不修改
|
|
2672
2682
|
> combine_type:荷载组合类型 (1-叠加 2-判别 3-包络)
|
|
2673
2683
|
> describe:描述
|
|
2674
2684
|
> combine_info:荷载组合信息 [(荷载工况类型,工况名,系数)...] 工况类型如下
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|