qtmodel 0.5.24__tar.gz → 0.5.26__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,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qtmodel
3
- Version: 0.5.24
4
- Summary: python modeling for qt 24/10/15
3
+ Version: 0.5.26
4
+ Summary: python modeling for qt 24/10/22
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.24 - 2024.10.15
15
+ # 最新版本 V0.5.26 - 2024.10.23
16
16
  > pip install --upgrade qtmodel -i https://pypi.org/simple
17
- - 规范帮助文档
17
+ - 修复截面偏心
18
18
  ## 项目管理
19
19
  ### update_bim
20
20
  刷新Bim模型信息
@@ -523,8 +523,8 @@ Returns: 无
523
523
  > bias_type:偏心类型 默认中心
524
524
  > center_type:中心类型 默认质心
525
525
  > shear_consider:考虑剪切 bool 默认考虑剪切变形
526
- > bias_x:自定义偏心点x坐标 (仅自定义类型偏心需要)
527
- > bias_y:自定义偏心点y坐标 (仅自定义类型偏心需要)
526
+ > bias_x:自定义偏心点x坐标 (仅自定义类型偏心需要,相对于质心偏移)
527
+ > bias_y:自定义偏心点y坐标 (仅自定义类型偏心需要,相对于质心偏移)
528
528
  ```Python
529
529
  # 示例代码
530
530
  from qtmodel import *
@@ -1270,7 +1270,7 @@ Returns: 无
1270
1270
  ### add_node_displacement
1271
1271
  添加节点位移
1272
1272
  > 参数:
1273
- > node_id:节点编号
1273
+ > node_id:节点编号,支持整型或整数型列表
1274
1274
  > case_name:荷载工况名
1275
1275
  > load_info:节点位移列表 [Dx,Dy,Dz,Rx,Ry,Rz]
1276
1276
  > group_name:荷载组名
@@ -1278,6 +1278,7 @@ Returns: 无
1278
1278
  # 示例代码
1279
1279
  from qtmodel import *
1280
1280
  mdb.add_node_displacement(case_name="荷载工况1",node_id=1,load_info=(1,0,0,0,0,0),group_name="默认荷载组")
1281
+ mdb.add_node_displacement(case_name="荷载工况1",node_id=[1,2,3],load_info=(1,0,0,0,0,0),group_name="默认荷载组")
1281
1282
  ```
1282
1283
  Returns: 无
1283
1284
  ### remove_nodal_displacement
@@ -1,6 +1,6 @@
1
- # 最新版本 V0.5.24 - 2024.10.15
1
+ # 最新版本 V0.5.26 - 2024.10.23
2
2
  > pip install --upgrade qtmodel -i https://pypi.org/simple
3
- - 规范帮助文档
3
+ - 修复截面偏心
4
4
  ## 项目管理
5
5
  ### update_bim
6
6
  刷新Bim模型信息
@@ -509,8 +509,8 @@ Returns: 无
509
509
  > bias_type:偏心类型 默认中心
510
510
  > center_type:中心类型 默认质心
511
511
  > shear_consider:考虑剪切 bool 默认考虑剪切变形
512
- > bias_x:自定义偏心点x坐标 (仅自定义类型偏心需要)
513
- > bias_y:自定义偏心点y坐标 (仅自定义类型偏心需要)
512
+ > bias_x:自定义偏心点x坐标 (仅自定义类型偏心需要,相对于质心偏移)
513
+ > bias_y:自定义偏心点y坐标 (仅自定义类型偏心需要,相对于质心偏移)
514
514
  ```Python
515
515
  # 示例代码
516
516
  from qtmodel import *
@@ -1256,7 +1256,7 @@ Returns: 无
1256
1256
  ### add_node_displacement
1257
1257
  添加节点位移
1258
1258
  > 参数:
1259
- > node_id:节点编号
1259
+ > node_id:节点编号,支持整型或整数型列表
1260
1260
  > case_name:荷载工况名
1261
1261
  > load_info:节点位移列表 [Dx,Dy,Dz,Rx,Ry,Rz]
1262
1262
  > group_name:荷载组名
@@ -1264,6 +1264,7 @@ Returns: 无
1264
1264
  # 示例代码
1265
1265
  from qtmodel import *
1266
1266
  mdb.add_node_displacement(case_name="荷载工况1",node_id=1,load_info=(1,0,0,0,0,0),group_name="默认荷载组")
1267
+ mdb.add_node_displacement(case_name="荷载工况1",node_id=[1,2,3],load_info=(1,0,0,0,0,0),group_name="默认荷载组")
1267
1268
  ```
1268
1269
  Returns: 无
1269
1270
  ### remove_nodal_displacement
@@ -857,8 +857,8 @@ class Mdb:
857
857
  bias_type:偏心类型 默认中心
858
858
  center_type:中心类型 默认质心
859
859
  shear_consider:考虑剪切 bool 默认考虑剪切变形
860
- bias_x:自定义偏心点x坐标 (仅自定义类型偏心需要)
861
- bias_y:自定义偏心点y坐标 (仅自定义类型偏心需要)
860
+ bias_x:自定义偏心点x坐标 (仅自定义类型偏心需要,相对于质心偏移)
861
+ bias_y:自定义偏心点y坐标 (仅自定义类型偏心需要,相对于质心偏移)
862
862
  Example:
863
863
  mdb.add_section(name="截面1",sec_type="矩形",sec_info=[2,4],bias_type="中心")
864
864
  mdb.add_section(name="截面2",sec_type="混凝土箱梁",box_height=2,box_num=3,
@@ -876,24 +876,24 @@ class Mdb:
876
876
  qt_model.AddSection(id=index, name=name, secType=sec_type, secInfo=sec_info, charmInfo=charm_info,
877
877
  symmetry=symmetry, boxNum=box_num, H=box_height, charmInfoR=charm_right, secInfoR=sec_right,
878
878
  biasType=bias_type, centerType=center_type, shearConsider=shear_consider,
879
- horizontalPos=bias_x, verticalPos=bias_y)
879
+ biasX=bias_x, biasY=bias_y)
880
880
  elif sec_type == "工字钢梁" or sec_type == "箱型钢梁":
881
881
  rib_names = list(rib_info.keys())
882
882
  rib_data = list(rib_info.values())
883
883
  qt_model.AddSection(id=index, name=name, secType=sec_type, secInfo=sec_info,
884
884
  ribNameList=rib_names, ribInfoList=rib_data,
885
885
  ribPlaceList=rib_place, biasType=bias_type, centerType=center_type,
886
- shearConsider=shear_consider, horizontalPos=bias_x, verticalPos=bias_y)
886
+ shearConsider=shear_consider, biasX=bias_x, biasY=bias_y)
887
887
  elif sec_type == "特性截面" or sec_type.startswith("自定义"):
888
888
  qt_model.AddSection(id=index, name=name, secType=sec_type, secInfo=sec_info, biasType=bias_type,
889
889
  loopSegments=loop_segments, secLines=sec_lines,
890
890
  secondaryLoopSegments=secondary_loop_segments, matCombine=mat_combine,
891
891
  shearConsider=shear_consider, centerType=center_type,
892
- horizontalPos=bias_x, verticalPos=bias_y)
892
+ biasX=bias_x, biasY=bias_y)
893
893
  else:
894
894
  qt_model.AddSection(id=index, name=name, secType=sec_type, secInfo=sec_info, matCombine=mat_combine,
895
895
  biasType=bias_type, centerType=center_type, shearConsider=shear_consider,
896
- horizontalPos=bias_x, verticalPos=bias_y)
896
+ biasX=bias_x, biasY=bias_y)
897
897
  except Exception as ex:
898
898
  raise Exception(ex)
899
899
 
@@ -2077,17 +2077,18 @@ class Mdb:
2077
2077
  raise Exception(ex)
2078
2078
 
2079
2079
  @staticmethod
2080
- def add_node_displacement(node_id: int = 1, case_name: str = "", load_info: tuple[float, float, float, float, float, float] = None,
2080
+ def add_node_displacement(node_id: (Union[int, List[int]]) = None, case_name: str = "", load_info: tuple[float, float, float, float, float, float] = None,
2081
2081
  group_name: str = "默认荷载组"):
2082
2082
  """
2083
2083
  添加节点位移
2084
2084
  Args:
2085
- node_id:节点编号
2085
+ node_id:节点编号,支持整型或整数型列表
2086
2086
  case_name:荷载工况名
2087
2087
  load_info:节点位移列表 [Dx,Dy,Dz,Rx,Ry,Rz]
2088
2088
  group_name:荷载组名
2089
2089
  Example:
2090
2090
  mdb.add_node_displacement(case_name="荷载工况1",node_id=1,load_info=(1,0,0,0,0,0),group_name="默认荷载组")
2091
+ mdb.add_node_displacement(case_name="荷载工况1",node_id=[1,2,3],load_info=(1,0,0,0,0,0),group_name="默认荷载组")
2091
2092
  Returns: 无
2092
2093
  """
2093
2094
  try:
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qtmodel
3
- Version: 0.5.24
4
- Summary: python modeling for qt 24/10/15
3
+ Version: 0.5.26
4
+ Summary: python modeling for qt 24/10/22
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.24 - 2024.10.15
15
+ # 最新版本 V0.5.26 - 2024.10.23
16
16
  > pip install --upgrade qtmodel -i https://pypi.org/simple
17
- - 规范帮助文档
17
+ - 修复截面偏心
18
18
  ## 项目管理
19
19
  ### update_bim
20
20
  刷新Bim模型信息
@@ -523,8 +523,8 @@ Returns: 无
523
523
  > bias_type:偏心类型 默认中心
524
524
  > center_type:中心类型 默认质心
525
525
  > shear_consider:考虑剪切 bool 默认考虑剪切变形
526
- > bias_x:自定义偏心点x坐标 (仅自定义类型偏心需要)
527
- > bias_y:自定义偏心点y坐标 (仅自定义类型偏心需要)
526
+ > bias_x:自定义偏心点x坐标 (仅自定义类型偏心需要,相对于质心偏移)
527
+ > bias_y:自定义偏心点y坐标 (仅自定义类型偏心需要,相对于质心偏移)
528
528
  ```Python
529
529
  # 示例代码
530
530
  from qtmodel import *
@@ -1270,7 +1270,7 @@ Returns: 无
1270
1270
  ### add_node_displacement
1271
1271
  添加节点位移
1272
1272
  > 参数:
1273
- > node_id:节点编号
1273
+ > node_id:节点编号,支持整型或整数型列表
1274
1274
  > case_name:荷载工况名
1275
1275
  > load_info:节点位移列表 [Dx,Dy,Dz,Rx,Ry,Rz]
1276
1276
  > group_name:荷载组名
@@ -1278,6 +1278,7 @@ Returns: 无
1278
1278
  # 示例代码
1279
1279
  from qtmodel import *
1280
1280
  mdb.add_node_displacement(case_name="荷载工况1",node_id=1,load_info=(1,0,0,0,0,0),group_name="默认荷载组")
1281
+ mdb.add_node_displacement(case_name="荷载工况1",node_id=[1,2,3],load_info=(1,0,0,0,0,0),group_name="默认荷载组")
1281
1282
  ```
1282
1283
  Returns: 无
1283
1284
  ### remove_nodal_displacement
@@ -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.24",
10
+ version="0.5.26",
11
11
  author="dqy-zhj",
12
12
  author_email="1105417715@qq.com",
13
- description="python modeling for qt 24/10/15 ",
13
+ description="python modeling for qt 24/10/22 ",
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