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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qtmodel
3
- Version: 0.5.38
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.38 - 2024.11.14
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.38 - 2024.11.14
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(file_path=file_path, stageId=stage_id, loadCaseName=load_case_name, showIncrementResult=show_increment,
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(file_path=file_path, stageId=stage_id, loadCaseName=load_case_name, showIncrementResult=show_increment,
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
- not data.IsIFreedX, not data.IsIFreedY, not data.IsIFreedZ, not data.IsIFreedRx, not data.IsIFreedRy, not data.IsIFreedRZ)
1370
+ not data.IsIFreedX, not data.IsIFreedY, not data.IsIFreedZ, not data.IsIFreedRx, not data.IsIFreedRy, not data.IsIFreedRZ)
1371
1371
  info_j = (
1372
- not data.IsJFreedX, not data.IsJFreedY, not data.IsJFreedZ, not data.IsJFreedRx, not data.IsJFreedRy, not data.IsJFreedRZ)
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.38
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.38 - 2024.11.14
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
@@ -7,7 +7,7 @@ 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.38",
10
+ version="0.5.40",
11
11
  author="dqy-zhj",
12
12
  author_email="1105417715@qq.com",
13
13
  description="python modeling for qt 24/11/14 ",
File without changes
File without changes
File without changes