qtmodel 0.5.38__tar.gz → 0.5.40__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.38 → qtmodel-0.5.40}/PKG-INFO +4 -3
- {qtmodel-0.5.38 → qtmodel-0.5.40}/README.md +3 -2
- {qtmodel-0.5.38 → qtmodel-0.5.40}/qtmodel/qt_mdb.py +3 -2
- {qtmodel-0.5.38 → qtmodel-0.5.40}/qtmodel/qt_odb.py +4 -4
- {qtmodel-0.5.38 → qtmodel-0.5.40}/qtmodel.egg-info/PKG-INFO +4 -3
- {qtmodel-0.5.38 → qtmodel-0.5.40}/setup.py +1 -1
- {qtmodel-0.5.38 → qtmodel-0.5.40}/qtmodel/__init__.py +0 -0
- {qtmodel-0.5.38 → qtmodel-0.5.40}/qtmodel/qt_db.py +0 -0
- {qtmodel-0.5.38 → qtmodel-0.5.40}/qtmodel.egg-info/SOURCES.txt +0 -0
- {qtmodel-0.5.38 → qtmodel-0.5.40}/qtmodel.egg-info/dependency_links.txt +0 -0
- {qtmodel-0.5.38 → qtmodel-0.5.40}/qtmodel.egg-info/top_level.txt +0 -0
- {qtmodel-0.5.38 → qtmodel-0.5.40}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: qtmodel
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.40
|
|
4
4
|
Summary: python modeling for qt 24/11/14
|
|
5
5
|
Home-page: https://github.com/Inface0443/pyqt
|
|
6
6
|
Author: dqy-zhj
|
|
@@ -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.40 - 2024.11.14
|
|
16
16
|
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
17
|
-
-
|
|
17
|
+
- 修复odb图像绘制
|
|
18
18
|
## 项目管理
|
|
19
19
|
### update_bim
|
|
20
20
|
刷新Bim模型信息
|
|
@@ -871,6 +871,7 @@ Returns: 无
|
|
|
871
871
|
> _7-市域铁路设计规范2017(T/CRS C0101-2017)
|
|
872
872
|
> load_type: 荷载类型,支持类型参考软件内界面
|
|
873
873
|
> load_length: 默认为0即不限制荷载长度 (铁路桥涵规范2017 所需参数)
|
|
874
|
+
> factor: 默认为1.0(铁路桥涵规范2017 ZH荷载所需参数)
|
|
874
875
|
> n:车厢数: 默认6节车厢 (城市轨道交通桥梁规范2017 所需参数)
|
|
875
876
|
> calc_fatigue:计算公路疲劳 (公路桥涵设计通规2015 所需参数)
|
|
876
877
|
```Python
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# 最新版本 V0.5.
|
|
1
|
+
# 最新版本 V0.5.40 - 2024.11.14
|
|
2
2
|
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
3
|
-
-
|
|
3
|
+
- 修复odb图像绘制
|
|
4
4
|
## 项目管理
|
|
5
5
|
### update_bim
|
|
6
6
|
刷新Bim模型信息
|
|
@@ -857,6 +857,7 @@ Returns: 无
|
|
|
857
857
|
> _7-市域铁路设计规范2017(T/CRS C0101-2017)
|
|
858
858
|
> load_type: 荷载类型,支持类型参考软件内界面
|
|
859
859
|
> load_length: 默认为0即不限制荷载长度 (铁路桥涵规范2017 所需参数)
|
|
860
|
+
> factor: 默认为1.0(铁路桥涵规范2017 ZH荷载所需参数)
|
|
860
861
|
> n:车厢数: 默认6节车厢 (城市轨道交通桥梁规范2017 所需参数)
|
|
861
862
|
> calc_fatigue:计算公路疲劳 (公路桥涵设计通规2015 所需参数)
|
|
862
863
|
```Python
|
|
@@ -1398,7 +1398,7 @@ class Mdb:
|
|
|
1398
1398
|
# region 移动荷载操作
|
|
1399
1399
|
@staticmethod
|
|
1400
1400
|
def add_standard_vehicle(name: str, standard_code: int = 1, load_type: str = "高速铁路",
|
|
1401
|
-
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):
|
|
1402
1402
|
"""
|
|
1403
1403
|
添加标准车辆
|
|
1404
1404
|
Args:
|
|
@@ -1413,6 +1413,7 @@ class Mdb:
|
|
|
1413
1413
|
_7-市域铁路设计规范2017(T/CRS C0101-2017)
|
|
1414
1414
|
load_type: 荷载类型,支持类型参考软件内界面
|
|
1415
1415
|
load_length: 默认为0即不限制荷载长度 (铁路桥涵规范2017 所需参数)
|
|
1416
|
+
factor: 默认为1.0(铁路桥涵规范2017 ZH荷载所需参数)
|
|
1416
1417
|
n:车厢数: 默认6节车厢 (城市轨道交通桥梁规范2017 所需参数)
|
|
1417
1418
|
calc_fatigue:计算公路疲劳 (公路桥涵设计通规2015 所需参数)
|
|
1418
1419
|
Example:
|
|
@@ -1421,7 +1422,7 @@ class Mdb:
|
|
|
1421
1422
|
"""
|
|
1422
1423
|
try:
|
|
1423
1424
|
qt_model.AddStandardVehicle(name=name, standardIndex=standard_code, loadType=load_type,
|
|
1424
|
-
loadLength=load_length, N=n, calcFatigue=calc_fatigue)
|
|
1425
|
+
loadLength=load_length, factor=factor, N=n, calcFatigue=calc_fatigue)
|
|
1425
1426
|
qt_model.UpdateModel()
|
|
1426
1427
|
except Exception as ex:
|
|
1427
1428
|
raise Exception(ex)
|
|
@@ -304,7 +304,7 @@ class Odb:
|
|
|
304
304
|
Returns: 无
|
|
305
305
|
"""
|
|
306
306
|
try:
|
|
307
|
-
qt_model.PlotReactionResult(
|
|
307
|
+
qt_model.PlotReactionResult(filePath=file_path, stageId=stage_id, loadCaseName=load_case_name, showIncrementResult=show_increment,
|
|
308
308
|
envelopeType=envelope_type, component=component,
|
|
309
309
|
showNumber=show_number, textRotationAngle=text_rotation, maxMinValueKind=max_min_kind,
|
|
310
310
|
showLegend=show_legend, digitalCount=digital_count,
|
|
@@ -342,7 +342,7 @@ class Odb:
|
|
|
342
342
|
Returns: 无
|
|
343
343
|
"""
|
|
344
344
|
try:
|
|
345
|
-
qt_model.PlotDisplacementResult(
|
|
345
|
+
qt_model.PlotDisplacementResult(filePath=file_path, stageId=stage_id, loadCaseName=load_case_name, showIncrementResult=show_increment,
|
|
346
346
|
envelopeType=envelope_type, component=component,
|
|
347
347
|
showAsDeformedShape=show_deformed, deformedScale=deformed_scale, deformedActual=deformed_actual,
|
|
348
348
|
showNumber=show_number, textRotationAngle=text_rotation, digitalCount=digital_count,
|
|
@@ -1367,9 +1367,9 @@ class Odb:
|
|
|
1367
1367
|
item_list = qt_model.GetBeamConstraintData(group)
|
|
1368
1368
|
for data in item_list:
|
|
1369
1369
|
info_i = (
|
|
1370
|
-
|
|
1370
|
+
not data.IsIFreedX, not data.IsIFreedY, not data.IsIFreedZ, not data.IsIFreedRx, not data.IsIFreedRy, not data.IsIFreedRZ)
|
|
1371
1371
|
info_j = (
|
|
1372
|
-
|
|
1372
|
+
not data.IsJFreedX, not data.IsJFreedY, not data.IsJFreedZ, not data.IsJFreedRx, not data.IsJFreedRy, not data.IsJFreedRZ)
|
|
1373
1373
|
res_list.append(str(BeamConstraint(constraint_id=data.Id, beam_id=data.Beam.Id, info_i=info_i, info_j=info_j, group_name=group)))
|
|
1374
1374
|
return json.dumps(res_list)
|
|
1375
1375
|
except Exception as ex:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: qtmodel
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.40
|
|
4
4
|
Summary: python modeling for qt 24/11/14
|
|
5
5
|
Home-page: https://github.com/Inface0443/pyqt
|
|
6
6
|
Author: dqy-zhj
|
|
@@ -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.40 - 2024.11.14
|
|
16
16
|
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
17
|
-
-
|
|
17
|
+
- 修复odb图像绘制
|
|
18
18
|
## 项目管理
|
|
19
19
|
### update_bim
|
|
20
20
|
刷新Bim模型信息
|
|
@@ -871,6 +871,7 @@ Returns: 无
|
|
|
871
871
|
> _7-市域铁路设计规范2017(T/CRS C0101-2017)
|
|
872
872
|
> load_type: 荷载类型,支持类型参考软件内界面
|
|
873
873
|
> load_length: 默认为0即不限制荷载长度 (铁路桥涵规范2017 所需参数)
|
|
874
|
+
> factor: 默认为1.0(铁路桥涵规范2017 ZH荷载所需参数)
|
|
874
875
|
> n:车厢数: 默认6节车厢 (城市轨道交通桥梁规范2017 所需参数)
|
|
875
876
|
> calc_fatigue:计算公路疲劳 (公路桥涵设计通规2015 所需参数)
|
|
876
877
|
```Python
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|