qtmodel 0.5.46__tar.gz → 0.5.48__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.46
4
- Summary: python modeling for qt 2024-12-17
3
+ Version: 0.5.48
4
+ Summary: python modeling for qt 2024-12-18
5
5
  Home-page: https://github.com/Inface0443/pyqt
6
6
  Author: dqy-zhj
7
7
  Author-email: 1105417715@qq.com
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3
12
12
  Classifier: Operating System :: OS Independent
13
13
  Description-Content-Type: text/markdown
14
14
 
15
- # 最新版本 V0.5.46 - 2024-12-17
15
+ # 最新版本 V0.5.48 - 2024-12-18
16
16
  > pip install --upgrade qtmodel -i https://pypi.org/simple
17
17
  - 除荷载组合外不自动刷新模型,用户可自行调用update_model刷新模型
18
18
  ## 项目管理
@@ -2883,4 +2883,3 @@ odb.get_deviation_load(case_name="荷载工况1")
2883
2883
  Returns: json字符串,包含信息为list[dict]
2884
2884
 
2885
2885
 
2886
-
@@ -1,4 +1,4 @@
1
- # 最新版本 V0.5.46 - 2024-12-17
1
+ # 最新版本 V0.5.48 - 2024-12-18
2
2
  > pip install --upgrade qtmodel -i https://pypi.org/simple
3
3
  - 除荷载组合外不自动刷新模型,用户可自行调用update_model刷新模型
4
4
  ## 项目管理
@@ -2867,4 +2867,3 @@ from qtmodel import *
2867
2867
  odb.get_deviation_load(case_name="荷载工况1")
2868
2868
  ```
2869
2869
  Returns: json字符串,包含信息为list[dict]
2870
-
@@ -3094,7 +3094,6 @@ class Mdb:
3094
3094
  if combine_info is None:
3095
3095
  combine_info = []
3096
3096
  qt_model.AddLoadCombine(name=name, loadCombineType=combine_type, describe=describe, caseAndFactor=combine_info)
3097
- qt_model.UpdateModel()
3098
3097
  except Exception as ex:
3099
3098
  raise Exception(ex)
3100
3099
 
@@ -3117,7 +3116,6 @@ class Mdb:
3117
3116
  if combine_info is None:
3118
3117
  combine_info = []
3119
3118
  qt_model.UpdateLoadCombine(name=name, loadCombineType=combine_type, describe=describe, caseAndFactor=combine_info)
3120
- qt_model.UpdateModel()
3121
3119
  except Exception as ex:
3122
3120
  raise Exception(ex)
3123
3121
 
@@ -3136,7 +3134,6 @@ class Mdb:
3136
3134
  qt_model.DeleteLoadCombine(name=name)
3137
3135
  else:
3138
3136
  qt_model.DeleteAllLoadCombine()
3139
- qt_model.UpdateModel()
3140
3137
  except Exception as ex:
3141
3138
  raise Exception(ex)
3142
3139
 
@@ -26,7 +26,6 @@ class Odb:
26
26
  try:
27
27
  qt_model.SetViewCamera(direction=[camera_point[0], camera_point[1], camera_point[2], focus_point[0], focus_point[1], focus_point[2],
28
28
  camera_rotate[0], camera_rotate[1], camera_rotate[2], scale])
29
- qt_model.UpdateModel()
30
29
  except Exception as ex:
31
30
  raise Exception(ex)
32
31
 
@@ -45,7 +44,6 @@ class Odb:
45
44
  """
46
45
  try:
47
46
  qt_model.SetViewDirection(direction=direction, horizontalDegree=horizontal_degree, verticalDegree=vertical_degree, scale=scale)
48
- qt_model.UpdateModel()
49
47
  except Exception as ex:
50
48
  raise Exception(ex)
51
49
 
@@ -62,7 +60,6 @@ class Odb:
62
60
  """
63
61
  try:
64
62
  qt_model.ActivateStructure(nodeIds=node_ids, elementIds=element_ids)
65
- qt_model.UpdateModel()
66
63
  except Exception as ex:
67
64
  raise Exception(ex)
68
65
 
@@ -79,7 +76,6 @@ class Odb:
79
76
  """
80
77
  try:
81
78
  qt_model.SetUnit(unitForce=unit_force, unit_length=unit_length)
82
- qt_model.UpdateModel()
83
79
  except Exception as ex:
84
80
  raise Exception(ex)
85
81
 
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qtmodel
3
- Version: 0.5.46
4
- Summary: python modeling for qt 2024-12-17
3
+ Version: 0.5.48
4
+ Summary: python modeling for qt 2024-12-18
5
5
  Home-page: https://github.com/Inface0443/pyqt
6
6
  Author: dqy-zhj
7
7
  Author-email: 1105417715@qq.com
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3
12
12
  Classifier: Operating System :: OS Independent
13
13
  Description-Content-Type: text/markdown
14
14
 
15
- # 最新版本 V0.5.46 - 2024-12-17
15
+ # 最新版本 V0.5.48 - 2024-12-18
16
16
  > pip install --upgrade qtmodel -i https://pypi.org/simple
17
17
  - 除荷载组合外不自动刷新模型,用户可自行调用update_model刷新模型
18
18
  ## 项目管理
@@ -2883,4 +2883,3 @@ odb.get_deviation_load(case_name="荷载工况1")
2883
2883
  Returns: json字符串,包含信息为list[dict]
2884
2884
 
2885
2885
 
2886
-
@@ -1,21 +1,19 @@
1
1
  from datetime import datetime
2
2
  from setuptools import setup, find_packages
3
+ from test import Readme
3
4
 
4
5
  # 读取文件内容
5
6
  with open("README.md", "r", encoding="utf-8") as fh:
6
7
  long_description = fh.read()
7
8
  # python setup.py sdist
8
9
  # twine upload dist/*
9
- # 获取当前日期和时间
10
- now = datetime.now()
11
- today = now.date()
12
10
 
13
11
  setup(
14
12
  name="qtmodel",
15
- version="0.5.46",
13
+ version=f"{Readme.version}",
16
14
  author="dqy-zhj",
17
15
  author_email="1105417715@qq.com",
18
- description=f"python modeling for qt {today} ",
16
+ description=f"python modeling for qt {datetime.now().date()} ",
19
17
  long_description=long_description, # 使用读取的 README.md 文件内容
20
18
  long_description_content_type="text/markdown", # 指明内容格式为markdown
21
19
  url="https://github.com/Inface0443/pyqt",
File without changes
File without changes
File without changes