qtmodel 0.5.37__tar.gz → 0.5.38__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.37
4
- Summary: python modeling for qt 24/11/4
3
+ Version: 0.5.38
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.37 - 2024.11.7
15
+ # 最新版本 V0.5.38 - 2024.11.14
16
16
  > pip install --upgrade qtmodel -i https://pypi.org/simple
17
- - 扩展节点操作
17
+ - 扩展组合材料
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 *
@@ -1,6 +1,6 @@
1
- # 最新版本 V0.5.37 - 2024.11.7
1
+ # 最新版本 V0.5.38 - 2024.11.14
2
2
  > pip install --upgrade qtmodel -i https://pypi.org/simple
3
- - 扩展节点操作
3
+ - 扩展组合材料
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 *
@@ -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, f_cuk: float = 0):
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)
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qtmodel
3
- Version: 0.5.37
4
- Summary: python modeling for qt 24/11/4
3
+ Version: 0.5.38
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.37 - 2024.11.7
15
+ # 最新版本 V0.5.38 - 2024.11.14
16
16
  > pip install --upgrade qtmodel -i https://pypi.org/simple
17
- - 扩展节点操作
17
+ - 扩展组合材料
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 *
@@ -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.37",
10
+ version="0.5.38",
11
11
  author="dqy-zhj",
12
12
  author_email="1105417715@qq.com",
13
- description="python modeling for qt 24/11/4 ",
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