qtmodel 0.6.7__tar.gz → 0.6.8__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.7 → qtmodel-0.6.8}/PKG-INFO +21 -4
- {qtmodel-0.6.7 → qtmodel-0.6.8}/README.md +19 -2
- {qtmodel-0.6.7 → qtmodel-0.6.8}/qtmodel/qt_mdb.py +26 -0
- {qtmodel-0.6.7 → qtmodel-0.6.8}/qtmodel.egg-info/PKG-INFO +21 -4
- {qtmodel-0.6.7 → qtmodel-0.6.8}/setup.py +1 -2
- {qtmodel-0.6.7 → qtmodel-0.6.8}/qtmodel/__init__.py +0 -0
- {qtmodel-0.6.7 → qtmodel-0.6.8}/qtmodel/qt_db.py +0 -0
- {qtmodel-0.6.7 → qtmodel-0.6.8}/qtmodel/qt_odb.py +0 -0
- {qtmodel-0.6.7 → qtmodel-0.6.8}/qtmodel.egg-info/SOURCES.txt +0 -0
- {qtmodel-0.6.7 → qtmodel-0.6.8}/qtmodel.egg-info/dependency_links.txt +0 -0
- {qtmodel-0.6.7 → qtmodel-0.6.8}/qtmodel.egg-info/top_level.txt +0 -0
- {qtmodel-0.6.7 → qtmodel-0.6.8}/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-02-
|
|
3
|
+
Version: 0.6.8
|
|
4
|
+
Summary: python modeling for qt 2025-02-18
|
|
5
5
|
Home-page: https://github.com/Inface0443/pyqt
|
|
6
6
|
Author: dqy-zhj
|
|
7
7
|
Author-email: 1105417715@qq.com
|
|
@@ -12,10 +12,27 @@ Classifier: Programming Language :: Python :: 3
|
|
|
12
12
|
Classifier: Operating System :: OS Independent
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
|
|
15
|
-
> 最新版本 V0.6.
|
|
16
|
-
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
15
|
+
> 最新版本 V0.6.8 - 2025-02-18
|
|
16
|
+
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
17
17
|
- 新增部分接口
|
|
18
18
|
# 建模操作
|
|
19
|
+
## 建模助手
|
|
20
|
+
### create_cantilever_bridge
|
|
21
|
+
悬浇桥快速建模
|
|
22
|
+
> 参数:
|
|
23
|
+
> span_len:桥跨分段
|
|
24
|
+
> span_seg:各桥跨内节段基准长度
|
|
25
|
+
> bearing_spacing:支座间距
|
|
26
|
+
> top_width:主梁顶板宽度
|
|
27
|
+
> bottom_width:主梁顶板宽度
|
|
28
|
+
> box_num:主梁箱室长度
|
|
29
|
+
> material:主梁材料类型
|
|
30
|
+
```Python
|
|
31
|
+
# 示例代码
|
|
32
|
+
from qtmodel import *
|
|
33
|
+
mdb.create_cantilever_bridge(span_len=[6,70,70,6],span_seg=[2,3.5,3.5,2],bearing_spacing=[5.6,5.6])
|
|
34
|
+
```
|
|
35
|
+
Returns: 无
|
|
19
36
|
## 项目管理
|
|
20
37
|
### undo_model
|
|
21
38
|
撤销模型上次操作
|
|
@@ -1,7 +1,24 @@
|
|
|
1
|
-
> 最新版本 V0.6.
|
|
2
|
-
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
1
|
+
> 最新版本 V0.6.8 - 2025-02-18
|
|
2
|
+
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
3
3
|
- 新增部分接口
|
|
4
4
|
# 建模操作
|
|
5
|
+
## 建模助手
|
|
6
|
+
### create_cantilever_bridge
|
|
7
|
+
悬浇桥快速建模
|
|
8
|
+
> 参数:
|
|
9
|
+
> span_len:桥跨分段
|
|
10
|
+
> span_seg:各桥跨内节段基准长度
|
|
11
|
+
> bearing_spacing:支座间距
|
|
12
|
+
> top_width:主梁顶板宽度
|
|
13
|
+
> bottom_width:主梁顶板宽度
|
|
14
|
+
> box_num:主梁箱室长度
|
|
15
|
+
> material:主梁材料类型
|
|
16
|
+
```Python
|
|
17
|
+
# 示例代码
|
|
18
|
+
from qtmodel import *
|
|
19
|
+
mdb.create_cantilever_bridge(span_len=[6,70,70,6],span_seg=[2,3.5,3.5,2],bearing_spacing=[5.6,5.6])
|
|
20
|
+
```
|
|
21
|
+
Returns: 无
|
|
5
22
|
## 项目管理
|
|
6
23
|
### undo_model
|
|
7
24
|
撤销模型上次操作
|
|
@@ -7,6 +7,32 @@ class Mdb:
|
|
|
7
7
|
建模与模型修改计算,所有函数均无返回值
|
|
8
8
|
"""
|
|
9
9
|
|
|
10
|
+
# region 建模助手
|
|
11
|
+
@staticmethod
|
|
12
|
+
def create_cantilever_bridge(span_len: list[float], span_seg: list[float], bearing_spacing: list[float],
|
|
13
|
+
top_width: float = 20.0, bottom_width: float = 12.5, box_num: int = 1, material: str = "C50"):
|
|
14
|
+
"""
|
|
15
|
+
悬浇桥快速建模
|
|
16
|
+
Args:
|
|
17
|
+
span_len:桥跨分段
|
|
18
|
+
span_seg:各桥跨内节段基准长度
|
|
19
|
+
bearing_spacing:支座间距
|
|
20
|
+
top_width:主梁顶板宽度
|
|
21
|
+
bottom_width:主梁顶板宽度
|
|
22
|
+
box_num:主梁箱室长度
|
|
23
|
+
material:主梁材料类型
|
|
24
|
+
Example:
|
|
25
|
+
mdb.create_cantilever_bridge(span_len=[6,70,70,6],span_seg=[2,3.5,3.5,2],bearing_spacing=[5.6,5.6])
|
|
26
|
+
Returns: 无
|
|
27
|
+
"""
|
|
28
|
+
try:
|
|
29
|
+
qt_model.CreateCantileverBridge(spanLen=span_len, spanSeg=span_seg, bearingSpacing=bearing_spacing,
|
|
30
|
+
topWidth=top_width, bottomWidth=bottom_width, boxNum=box_num, material=material)
|
|
31
|
+
except Exception as ex:
|
|
32
|
+
raise Exception(ex)
|
|
33
|
+
|
|
34
|
+
# endregion
|
|
35
|
+
|
|
10
36
|
# region 项目管理
|
|
11
37
|
@staticmethod
|
|
12
38
|
def undo_model():
|
|
@@ -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-02-
|
|
3
|
+
Version: 0.6.8
|
|
4
|
+
Summary: python modeling for qt 2025-02-18
|
|
5
5
|
Home-page: https://github.com/Inface0443/pyqt
|
|
6
6
|
Author: dqy-zhj
|
|
7
7
|
Author-email: 1105417715@qq.com
|
|
@@ -12,10 +12,27 @@ Classifier: Programming Language :: Python :: 3
|
|
|
12
12
|
Classifier: Operating System :: OS Independent
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
|
|
15
|
-
> 最新版本 V0.6.
|
|
16
|
-
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
15
|
+
> 最新版本 V0.6.8 - 2025-02-18
|
|
16
|
+
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
17
17
|
- 新增部分接口
|
|
18
18
|
# 建模操作
|
|
19
|
+
## 建模助手
|
|
20
|
+
### create_cantilever_bridge
|
|
21
|
+
悬浇桥快速建模
|
|
22
|
+
> 参数:
|
|
23
|
+
> span_len:桥跨分段
|
|
24
|
+
> span_seg:各桥跨内节段基准长度
|
|
25
|
+
> bearing_spacing:支座间距
|
|
26
|
+
> top_width:主梁顶板宽度
|
|
27
|
+
> bottom_width:主梁顶板宽度
|
|
28
|
+
> box_num:主梁箱室长度
|
|
29
|
+
> material:主梁材料类型
|
|
30
|
+
```Python
|
|
31
|
+
# 示例代码
|
|
32
|
+
from qtmodel import *
|
|
33
|
+
mdb.create_cantilever_bridge(span_len=[6,70,70,6],span_seg=[2,3.5,3.5,2],bearing_spacing=[5.6,5.6])
|
|
34
|
+
```
|
|
35
|
+
Returns: 无
|
|
19
36
|
## 项目管理
|
|
20
37
|
### undo_model
|
|
21
38
|
撤销模型上次操作
|
|
@@ -9,7 +9,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
9
9
|
|
|
10
10
|
setup(
|
|
11
11
|
name="qtmodel",
|
|
12
|
-
version=f"V0.6.
|
|
12
|
+
version=f"V0.6.8",
|
|
13
13
|
author="dqy-zhj",
|
|
14
14
|
author_email="1105417715@qq.com",
|
|
15
15
|
description=f"python modeling for qt {datetime.now().date()} ",
|
|
@@ -23,4 +23,3 @@ setup(
|
|
|
23
23
|
"Operating System :: OS Independent",
|
|
24
24
|
],
|
|
25
25
|
)
|
|
26
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|