qtmodel 0.5.37__tar.gz → 0.5.39__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.5.37 → qtmodel-0.5.39}/PKG-INFO +7 -5
- {qtmodel-0.5.37 → qtmodel-0.5.39}/README.md +5 -3
- {qtmodel-0.5.37 → qtmodel-0.5.39}/qtmodel/qt_mdb.py +9 -6
- {qtmodel-0.5.37 → qtmodel-0.5.39}/qtmodel.egg-info/PKG-INFO +7 -5
- {qtmodel-0.5.37 → qtmodel-0.5.39}/setup.py +2 -2
- {qtmodel-0.5.37 → qtmodel-0.5.39}/qtmodel/__init__.py +0 -0
- {qtmodel-0.5.37 → qtmodel-0.5.39}/qtmodel/qt_db.py +0 -0
- {qtmodel-0.5.37 → qtmodel-0.5.39}/qtmodel/qt_odb.py +0 -0
- {qtmodel-0.5.37 → qtmodel-0.5.39}/qtmodel.egg-info/SOURCES.txt +0 -0
- {qtmodel-0.5.37 → qtmodel-0.5.39}/qtmodel.egg-info/dependency_links.txt +0 -0
- {qtmodel-0.5.37 → qtmodel-0.5.39}/qtmodel.egg-info/top_level.txt +0 -0
- {qtmodel-0.5.37 → qtmodel-0.5.39}/setup.cfg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: qtmodel
|
|
3
|
-
Version: 0.5.
|
|
4
|
-
Summary: python modeling for qt 24/11/
|
|
3
|
+
Version: 0.5.39
|
|
4
|
+
Summary: python modeling for qt 24/11/14
|
|
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.5.
|
|
15
|
+
# 最新版本 V0.5.39 - 2024.11.14
|
|
16
16
|
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
17
|
-
-
|
|
17
|
+
- 扩展ZH车辆荷载参数
|
|
18
18
|
## 项目管理
|
|
19
19
|
### update_bim
|
|
20
20
|
刷新Bim模型信息
|
|
@@ -461,7 +461,7 @@ Returns: 无
|
|
|
461
461
|
> 参数:
|
|
462
462
|
> index:材料编号,默认自动识别 (可选参数)
|
|
463
463
|
> name:材料名称
|
|
464
|
-
> mat_type: 材料类型,1-混凝土 2-钢材 3-预应力 4-钢筋 5-自定义
|
|
464
|
+
> mat_type: 材料类型,1-混凝土 2-钢材 3-预应力 4-钢筋 5-自定义 6-组合材料
|
|
465
465
|
> standard:规范序号,参考UI 默认从1开始
|
|
466
466
|
> database:数据库名称
|
|
467
467
|
> construct_factor:构造系数
|
|
@@ -469,6 +469,7 @@ Returns: 无
|
|
|
469
469
|
> data_info:材料参数列表[弹性模量,容重,泊松比,热膨胀系数] (可选参数)
|
|
470
470
|
> creep_id:徐变材料id (可选参数)
|
|
471
471
|
> f_cuk: 立方体抗压强度标准值 (可选参数)
|
|
472
|
+
> composite_info: 主材名和辅材名 (仅组合材料需要)
|
|
472
473
|
```Python
|
|
473
474
|
# 示例代码
|
|
474
475
|
from qtmodel import *
|
|
@@ -870,6 +871,7 @@ Returns: 无
|
|
|
870
871
|
> _7-市域铁路设计规范2017(T/CRS C0101-2017)
|
|
871
872
|
> load_type: 荷载类型,支持类型参考软件内界面
|
|
872
873
|
> load_length: 默认为0即不限制荷载长度 (铁路桥涵规范2017 所需参数)
|
|
874
|
+
> factor: 默认为1.0(铁路桥涵规范2017 ZH荷载所需参数)
|
|
873
875
|
> n:车厢数: 默认6节车厢 (城市轨道交通桥梁规范2017 所需参数)
|
|
874
876
|
> calc_fatigue:计算公路疲劳 (公路桥涵设计通规2015 所需参数)
|
|
875
877
|
```Python
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# 最新版本 V0.5.
|
|
1
|
+
# 最新版本 V0.5.39 - 2024.11.14
|
|
2
2
|
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
3
|
-
-
|
|
3
|
+
- 扩展ZH车辆荷载参数
|
|
4
4
|
## 项目管理
|
|
5
5
|
### update_bim
|
|
6
6
|
刷新Bim模型信息
|
|
@@ -447,7 +447,7 @@ Returns: 无
|
|
|
447
447
|
> 参数:
|
|
448
448
|
> index:材料编号,默认自动识别 (可选参数)
|
|
449
449
|
> name:材料名称
|
|
450
|
-
> mat_type: 材料类型,1-混凝土 2-钢材 3-预应力 4-钢筋 5-自定义
|
|
450
|
+
> mat_type: 材料类型,1-混凝土 2-钢材 3-预应力 4-钢筋 5-自定义 6-组合材料
|
|
451
451
|
> standard:规范序号,参考UI 默认从1开始
|
|
452
452
|
> database:数据库名称
|
|
453
453
|
> construct_factor:构造系数
|
|
@@ -455,6 +455,7 @@ Returns: 无
|
|
|
455
455
|
> data_info:材料参数列表[弹性模量,容重,泊松比,热膨胀系数] (可选参数)
|
|
456
456
|
> creep_id:徐变材料id (可选参数)
|
|
457
457
|
> f_cuk: 立方体抗压强度标准值 (可选参数)
|
|
458
|
+
> composite_info: 主材名和辅材名 (仅组合材料需要)
|
|
458
459
|
```Python
|
|
459
460
|
# 示例代码
|
|
460
461
|
from qtmodel import *
|
|
@@ -856,6 +857,7 @@ Returns: 无
|
|
|
856
857
|
> _7-市域铁路设计规范2017(T/CRS C0101-2017)
|
|
857
858
|
> load_type: 荷载类型,支持类型参考软件内界面
|
|
858
859
|
> load_length: 默认为0即不限制荷载长度 (铁路桥涵规范2017 所需参数)
|
|
860
|
+
> factor: 默认为1.0(铁路桥涵规范2017 ZH荷载所需参数)
|
|
859
861
|
> n:车厢数: 默认6节车厢 (城市轨道交通桥梁规范2017 所需参数)
|
|
860
862
|
> calc_fatigue:计算公路疲劳 (公路桥涵设计通规2015 所需参数)
|
|
861
863
|
```Python
|
|
@@ -712,13 +712,14 @@ class Mdb:
|
|
|
712
712
|
# region 材料操作
|
|
713
713
|
@staticmethod
|
|
714
714
|
def add_material(index: int = -1, name: str = "", mat_type: int = 1, standard: int = 1, database: str = "C50",
|
|
715
|
-
construct_factor: float = 1, modified: bool = False, data_info: list[float] = None, creep_id: int = -1,
|
|
715
|
+
construct_factor: float = 1, modified: bool = False, data_info: list[float] = None, creep_id: int = -1,
|
|
716
|
+
f_cuk: float = 0, composite_info: tuple[str, str] = None):
|
|
716
717
|
"""
|
|
717
718
|
添加材料
|
|
718
719
|
Args:
|
|
719
720
|
index:材料编号,默认自动识别 (可选参数)
|
|
720
721
|
name:材料名称
|
|
721
|
-
mat_type: 材料类型,1-混凝土 2-钢材 3-预应力 4-钢筋 5-自定义
|
|
722
|
+
mat_type: 材料类型,1-混凝土 2-钢材 3-预应力 4-钢筋 5-自定义 6-组合材料
|
|
722
723
|
standard:规范序号,参考UI 默认从1开始
|
|
723
724
|
database:数据库名称
|
|
724
725
|
construct_factor:构造系数
|
|
@@ -726,6 +727,7 @@ class Mdb:
|
|
|
726
727
|
data_info:材料参数列表[弹性模量,容重,泊松比,热膨胀系数] (可选参数)
|
|
727
728
|
creep_id:徐变材料id (可选参数)
|
|
728
729
|
f_cuk: 立方体抗压强度标准值 (可选参数)
|
|
730
|
+
composite_info: 主材名和辅材名 (仅组合材料需要)
|
|
729
731
|
Example:
|
|
730
732
|
mdb.add_material(index=1,name="混凝土材料1",mat_type=1,standard=1,database="C50")
|
|
731
733
|
mdb.add_material(index=1,name="自定义材料1",mat_type=5,data_info=[3.5e10,2.5e4,0.2,1.5e-5])
|
|
@@ -739,13 +741,13 @@ class Mdb:
|
|
|
739
741
|
if not modified:
|
|
740
742
|
qt_model.AddMaterial(id=index, name=name, materialType=mat_type, standardIndex=standard,
|
|
741
743
|
database=database, constructFactor=construct_factor, isModified=modified,
|
|
742
|
-
timeParameterId=creep_id, fcuk=f_cuk)
|
|
744
|
+
timeParameterId=creep_id, fcuk=f_cuk, compositeInfo=composite_info)
|
|
743
745
|
else:
|
|
744
746
|
qt_model.AddMaterial(id=index, name=name, materialType=mat_type, standardIndex=standard,
|
|
745
747
|
database=database, constructFactor=construct_factor, isModified=modified,
|
|
746
748
|
elasticModulus=data_info[0], unitWeight=data_info[1],
|
|
747
749
|
posiRatio=data_info[2], temperatureCoefficient=data_info[3],
|
|
748
|
-
timeParameterId=creep_id, fcuk=f_cuk)
|
|
750
|
+
timeParameterId=creep_id, fcuk=f_cuk, compositeInfo=composite_info)
|
|
749
751
|
qt_model.UpdateModel()
|
|
750
752
|
except Exception as ex:
|
|
751
753
|
raise Exception(ex)
|
|
@@ -1396,7 +1398,7 @@ class Mdb:
|
|
|
1396
1398
|
# region 移动荷载操作
|
|
1397
1399
|
@staticmethod
|
|
1398
1400
|
def add_standard_vehicle(name: str, standard_code: int = 1, load_type: str = "高速铁路",
|
|
1399
|
-
load_length: float = 0, n: int = 6, calc_fatigue: bool = False):
|
|
1401
|
+
load_length: float = 0, factor: float = 1.0, n: int = 6, calc_fatigue: bool = False):
|
|
1400
1402
|
"""
|
|
1401
1403
|
添加标准车辆
|
|
1402
1404
|
Args:
|
|
@@ -1411,6 +1413,7 @@ class Mdb:
|
|
|
1411
1413
|
_7-市域铁路设计规范2017(T/CRS C0101-2017)
|
|
1412
1414
|
load_type: 荷载类型,支持类型参考软件内界面
|
|
1413
1415
|
load_length: 默认为0即不限制荷载长度 (铁路桥涵规范2017 所需参数)
|
|
1416
|
+
factor: 默认为1.0(铁路桥涵规范2017 ZH荷载所需参数)
|
|
1414
1417
|
n:车厢数: 默认6节车厢 (城市轨道交通桥梁规范2017 所需参数)
|
|
1415
1418
|
calc_fatigue:计算公路疲劳 (公路桥涵设计通规2015 所需参数)
|
|
1416
1419
|
Example:
|
|
@@ -1419,7 +1422,7 @@ class Mdb:
|
|
|
1419
1422
|
"""
|
|
1420
1423
|
try:
|
|
1421
1424
|
qt_model.AddStandardVehicle(name=name, standardIndex=standard_code, loadType=load_type,
|
|
1422
|
-
loadLength=load_length, N=n, calcFatigue=calc_fatigue)
|
|
1425
|
+
loadLength=load_length, factor=factor, N=n, calcFatigue=calc_fatigue)
|
|
1423
1426
|
qt_model.UpdateModel()
|
|
1424
1427
|
except Exception as ex:
|
|
1425
1428
|
raise Exception(ex)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: qtmodel
|
|
3
|
-
Version: 0.5.
|
|
4
|
-
Summary: python modeling for qt 24/11/
|
|
3
|
+
Version: 0.5.39
|
|
4
|
+
Summary: python modeling for qt 24/11/14
|
|
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.5.
|
|
15
|
+
# 最新版本 V0.5.39 - 2024.11.14
|
|
16
16
|
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
17
|
-
-
|
|
17
|
+
- 扩展ZH车辆荷载参数
|
|
18
18
|
## 项目管理
|
|
19
19
|
### update_bim
|
|
20
20
|
刷新Bim模型信息
|
|
@@ -461,7 +461,7 @@ Returns: 无
|
|
|
461
461
|
> 参数:
|
|
462
462
|
> index:材料编号,默认自动识别 (可选参数)
|
|
463
463
|
> name:材料名称
|
|
464
|
-
> mat_type: 材料类型,1-混凝土 2-钢材 3-预应力 4-钢筋 5-自定义
|
|
464
|
+
> mat_type: 材料类型,1-混凝土 2-钢材 3-预应力 4-钢筋 5-自定义 6-组合材料
|
|
465
465
|
> standard:规范序号,参考UI 默认从1开始
|
|
466
466
|
> database:数据库名称
|
|
467
467
|
> construct_factor:构造系数
|
|
@@ -469,6 +469,7 @@ Returns: 无
|
|
|
469
469
|
> data_info:材料参数列表[弹性模量,容重,泊松比,热膨胀系数] (可选参数)
|
|
470
470
|
> creep_id:徐变材料id (可选参数)
|
|
471
471
|
> f_cuk: 立方体抗压强度标准值 (可选参数)
|
|
472
|
+
> composite_info: 主材名和辅材名 (仅组合材料需要)
|
|
472
473
|
```Python
|
|
473
474
|
# 示例代码
|
|
474
475
|
from qtmodel import *
|
|
@@ -870,6 +871,7 @@ Returns: 无
|
|
|
870
871
|
> _7-市域铁路设计规范2017(T/CRS C0101-2017)
|
|
871
872
|
> load_type: 荷载类型,支持类型参考软件内界面
|
|
872
873
|
> load_length: 默认为0即不限制荷载长度 (铁路桥涵规范2017 所需参数)
|
|
874
|
+
> factor: 默认为1.0(铁路桥涵规范2017 ZH荷载所需参数)
|
|
873
875
|
> n:车厢数: 默认6节车厢 (城市轨道交通桥梁规范2017 所需参数)
|
|
874
876
|
> calc_fatigue:计算公路疲劳 (公路桥涵设计通规2015 所需参数)
|
|
875
877
|
```Python
|
|
@@ -7,10 +7,10 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
7
7
|
# twine upload dist/*
|
|
8
8
|
setup(
|
|
9
9
|
name="qtmodel",
|
|
10
|
-
version="0.5.
|
|
10
|
+
version="0.5.39",
|
|
11
11
|
author="dqy-zhj",
|
|
12
12
|
author_email="1105417715@qq.com",
|
|
13
|
-
description="python modeling for qt 24/11/
|
|
13
|
+
description="python modeling for qt 24/11/14 ",
|
|
14
14
|
long_description=long_description, # 使用读取的 README.md 文件内容
|
|
15
15
|
long_description_content_type="text/markdown", # 指明内容格式为markdown
|
|
16
16
|
url="https://github.com/Inface0443/pyqt",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|