qtmodel 0.5.27__tar.gz → 0.5.28__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.27 → qtmodel-0.5.28}/PKG-INFO +3 -3
- {qtmodel-0.5.27 → qtmodel-0.5.28}/README.md +2 -2
- {qtmodel-0.5.27 → qtmodel-0.5.28}/qtmodel/qt_mdb.py +13 -12
- {qtmodel-0.5.27 → qtmodel-0.5.28}/qtmodel.egg-info/PKG-INFO +3 -3
- {qtmodel-0.5.27 → qtmodel-0.5.28}/setup.py +1 -1
- {qtmodel-0.5.27 → qtmodel-0.5.28}/qtmodel/__init__.py +0 -0
- {qtmodel-0.5.27 → qtmodel-0.5.28}/qtmodel/qt_db.py +0 -0
- {qtmodel-0.5.27 → qtmodel-0.5.28}/qtmodel/qt_odb.py +0 -0
- {qtmodel-0.5.27 → qtmodel-0.5.28}/qtmodel.egg-info/SOURCES.txt +0 -0
- {qtmodel-0.5.27 → qtmodel-0.5.28}/qtmodel.egg-info/dependency_links.txt +0 -0
- {qtmodel-0.5.27 → qtmodel-0.5.28}/qtmodel.egg-info/top_level.txt +0 -0
- {qtmodel-0.5.27 → qtmodel-0.5.28}/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.28
|
|
4
4
|
Summary: python modeling for qt 24/10/22
|
|
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.28 - 2024.10.28
|
|
16
16
|
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
17
|
-
-
|
|
17
|
+
- 修复梁单元梯度温度横纵向异常
|
|
18
18
|
## 项目管理
|
|
19
19
|
### update_bim
|
|
20
20
|
刷新Bim模型信息
|
|
@@ -255,7 +255,7 @@ class Mdb:
|
|
|
255
255
|
|
|
256
256
|
@staticmethod
|
|
257
257
|
def update_operation_stage_setting(do_analysis: bool, final_stage: str = "", static_load_cases: list[str] = None,
|
|
258
|
-
sink_load_cases: list[str] = None, live_load_cases: list[str] = None,):
|
|
258
|
+
sink_load_cases: list[str] = None, live_load_cases: list[str] = None, ):
|
|
259
259
|
"""
|
|
260
260
|
更新运营阶段分析设置
|
|
261
261
|
Args:
|
|
@@ -271,7 +271,7 @@ class Mdb:
|
|
|
271
271
|
try:
|
|
272
272
|
qt_model.UpdateOperationStageSetting(
|
|
273
273
|
doAnalysis=do_analysis, finalStage=final_stage,
|
|
274
|
-
staticLoadCaseNames=static_load_cases,sinkLoadCaseNames=sink_load_cases,liveLoadCaseNames=live_load_cases)
|
|
274
|
+
staticLoadCaseNames=static_load_cases, sinkLoadCaseNames=sink_load_cases, liveLoadCaseNames=live_load_cases)
|
|
275
275
|
except Exception as ex:
|
|
276
276
|
raise Exception(ex)
|
|
277
277
|
|
|
@@ -819,7 +819,7 @@ class Mdb:
|
|
|
819
819
|
mat_combine: list[float] = None, rib_info: dict[str, list[float]] = None,
|
|
820
820
|
rib_place: list[tuple[int, int, float, str, int, str]] = None,
|
|
821
821
|
loop_segments: list[dict] = None, sec_lines: list[tuple[float, float, float, float, float]] = None,
|
|
822
|
-
secondary_loop_segments: list[dict] = None,sec_property:list[float]=None,
|
|
822
|
+
secondary_loop_segments: list[dict] = None, sec_property: list[float] = None,
|
|
823
823
|
bias_type: str = "中心", center_type: str = "质心", shear_consider: bool = True, bias_x: float = 0, bias_y: float = 0):
|
|
824
824
|
"""
|
|
825
825
|
添加单一截面信息,如果截面存在则自动覆盖
|
|
@@ -866,24 +866,24 @@ class Mdb:
|
|
|
866
866
|
qt_model.AddSection(id=index, name=name, secType=sec_type, secInfo=sec_info, charmInfo=charm_info,
|
|
867
867
|
symmetry=symmetry, boxNum=box_num, H=box_height, charmInfoR=charm_right, secInfoR=sec_right,
|
|
868
868
|
biasType=bias_type, centerType=center_type, shearConsider=shear_consider,
|
|
869
|
-
biasX=bias_x, biasY=bias_y,secProperty=sec_property)
|
|
869
|
+
biasX=bias_x, biasY=bias_y, secProperty=sec_property)
|
|
870
870
|
elif sec_type == "工字钢梁" or sec_type == "箱型钢梁":
|
|
871
871
|
rib_names = list(rib_info.keys())
|
|
872
872
|
rib_data = list(rib_info.values())
|
|
873
873
|
qt_model.AddSection(id=index, name=name, secType=sec_type, secInfo=sec_info,
|
|
874
874
|
ribNameList=rib_names, ribInfoList=rib_data,
|
|
875
875
|
ribPlaceList=rib_place, biasType=bias_type, centerType=center_type,
|
|
876
|
-
shearConsider=shear_consider, biasX=bias_x, biasY=bias_y,secProperty=sec_property)
|
|
876
|
+
shearConsider=shear_consider, biasX=bias_x, biasY=bias_y, secProperty=sec_property)
|
|
877
877
|
elif sec_type == "特性截面" or sec_type.startswith("自定义"):
|
|
878
878
|
qt_model.AddSection(id=index, name=name, secType=sec_type, secInfo=sec_info, biasType=bias_type,
|
|
879
879
|
loopSegments=loop_segments, secLines=sec_lines,
|
|
880
880
|
secondaryLoopSegments=secondary_loop_segments, matCombine=mat_combine,
|
|
881
881
|
shearConsider=shear_consider, centerType=center_type,
|
|
882
|
-
biasX=bias_x, biasY=bias_y,secProperty=sec_property)
|
|
882
|
+
biasX=bias_x, biasY=bias_y, secProperty=sec_property)
|
|
883
883
|
else:
|
|
884
884
|
qt_model.AddSection(id=index, name=name, secType=sec_type, secInfo=sec_info, matCombine=mat_combine,
|
|
885
885
|
biasType=bias_type, centerType=center_type, shearConsider=shear_consider,
|
|
886
|
-
biasX=bias_x, biasY=bias_y,secProperty=sec_property)
|
|
886
|
+
biasX=bias_x, biasY=bias_y, secProperty=sec_property)
|
|
887
887
|
except Exception as ex:
|
|
888
888
|
raise Exception(ex)
|
|
889
889
|
|
|
@@ -1275,9 +1275,9 @@ class Mdb:
|
|
|
1275
1275
|
if coord_info is None:
|
|
1276
1276
|
raise Exception("操作错误,输入坐标系信息不能为空")
|
|
1277
1277
|
if input_type == 1:
|
|
1278
|
-
qt_model.
|
|
1278
|
+
qt_model.AddNodalAxis(inputType=input_type, nodeId=node_id, angleInfo=coord_info)
|
|
1279
1279
|
else:
|
|
1280
|
-
qt_model.
|
|
1280
|
+
qt_model.AddNodalAxis(inputType=input_type, nodeId=node_id, nodeInfo=coord_info)
|
|
1281
1281
|
except Exception as ex:
|
|
1282
1282
|
raise Exception(ex)
|
|
1283
1283
|
|
|
@@ -1299,7 +1299,7 @@ class Mdb:
|
|
|
1299
1299
|
raise Exception("操作错误,要求输入I端约束列表长度为6")
|
|
1300
1300
|
if info_j is None or len(info_j) != 6:
|
|
1301
1301
|
raise Exception("操作错误,要求输入J端约束列表长度为6")
|
|
1302
|
-
qt_model.AddBeamConstraint(beamId=beam_id,
|
|
1302
|
+
qt_model.AddBeamConstraint(beamId=beam_id, infoI=info_i, infoJ=info_j, groupName=group_name)
|
|
1303
1303
|
except Exception as ex:
|
|
1304
1304
|
raise Exception(ex)
|
|
1305
1305
|
|
|
@@ -2067,7 +2067,8 @@ class Mdb:
|
|
|
2067
2067
|
raise Exception(ex)
|
|
2068
2068
|
|
|
2069
2069
|
@staticmethod
|
|
2070
|
-
def add_node_displacement(node_id: (Union[int, List[int]]) = None, case_name: str = "",
|
|
2070
|
+
def add_node_displacement(node_id: (Union[int, List[int]]) = None, case_name: str = "",
|
|
2071
|
+
load_info: tuple[float, float, float, float, float, float] = None,
|
|
2071
2072
|
group_name: str = "默认荷载组"):
|
|
2072
2073
|
"""
|
|
2073
2074
|
添加节点位移
|
|
@@ -2404,7 +2405,7 @@ class Mdb:
|
|
|
2404
2405
|
element_id:单元编号,支持数或列表
|
|
2405
2406
|
case_name:荷载工况名
|
|
2406
2407
|
temperature:温差
|
|
2407
|
-
section_oriental:截面方向,默认截面Y向 (仅梁单元需要,
|
|
2408
|
+
section_oriental:截面方向,默认截面Y向 (仅梁单元需要, 0-截面Y向 1-截面Z向)
|
|
2408
2409
|
element_type:单元类型,默认为梁单元 (1-梁单元 2-板单元)
|
|
2409
2410
|
group_name:荷载组名
|
|
2410
2411
|
Example:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: qtmodel
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.28
|
|
4
4
|
Summary: python modeling for qt 24/10/22
|
|
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.28 - 2024.10.28
|
|
16
16
|
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
17
|
-
-
|
|
17
|
+
- 修复梁单元梯度温度横纵向异常
|
|
18
18
|
## 项目管理
|
|
19
19
|
### update_bim
|
|
20
20
|
刷新Bim模型信息
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|