qtmodel 0.6.5__tar.gz → 0.6.7__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.6.5
4
- Summary: python modeling for qt 2025-01-23
3
+ Version: 0.6.7
4
+ Summary: python modeling for qt 2025-02-12
5
5
  Home-page: https://github.com/Inface0443/pyqt
6
6
  Author: dqy-zhj
7
7
  Author-email: 1105417715@qq.com
@@ -12,8 +12,8 @@ Classifier: Programming Language :: Python :: 3
12
12
  Classifier: Operating System :: OS Independent
13
13
  Description-Content-Type: text/markdown
14
14
 
15
- > 最新版本 V0.6.5 - 2025-01-23
16
- > pip install --upgrade qtmodel -i https://pypi.org/simple
15
+ > 最新版本 V0.6.6 - 2025-02-10
16
+ > pip install --upgrade qtmodel -i https://pypi.org/simple
17
17
  - 新增部分接口
18
18
  # 建模操作
19
19
  ## 项目管理
@@ -1,5 +1,5 @@
1
- > 最新版本 V0.6.5 - 2025-01-23
2
- > pip install --upgrade qtmodel -i https://pypi.org/simple
1
+ > 最新版本 V0.6.6 - 2025-02-10
2
+ > pip install --upgrade qtmodel -i https://pypi.org/simple
3
3
  - 新增部分接口
4
4
  # 建模操作
5
5
  ## 项目管理
@@ -2275,8 +2275,8 @@ class Mdb:
2275
2275
 
2276
2276
  @staticmethod
2277
2277
  def add_train_relative_factor(name: str, code_index: int = 1, cross_factors: list[float] = None, calc_fatigue: bool = False,
2278
- line_count: int = 0, longitude_factor: int = -1, impact_factor: int = -1,
2279
- fatigue_factor: int = -1, bridge_kind: int = 0, fill_thick: float = 0.5,
2278
+ line_count: int = 0, longitude_factor: float = -1, impact_factor: float = -1,
2279
+ fatigue_factor: float = -1, bridge_kind: int = 0, fill_thick: float = 0.5,
2280
2280
  rise: float = 1.5, calc_length: float = 50):
2281
2281
  """
2282
2282
  添加移动荷载工况汽车折减
@@ -2305,7 +2305,7 @@ class Mdb:
2305
2305
  raise Exception(ex)
2306
2306
 
2307
2307
  @staticmethod
2308
- def add_metro_relative_factor(name: str, cross_factors: list[float] = None, longitude_factor: int = -1, impact_factor: int = -1):
2308
+ def add_metro_relative_factor(name: str, cross_factors: list[float] = None, longitude_factor: float = -1, impact_factor: float = -1):
2309
2309
  """
2310
2310
  添加移动荷载工况汽车折减
2311
2311
  Args:
@@ -355,7 +355,8 @@ class Odb:
355
355
  Returns: json字符串,包含信息为dict
356
356
  """
357
357
  try:
358
- qt_model.GetSelfConcurrentReaction(nodeId=node_id, loadCaseName=case_name)
358
+ res_dict = qt_model.GetSelfConcurrentReaction(nodeId=node_id, loadCaseName=case_name)
359
+ return json.dumps(res_dict)
359
360
  except Exception as ex:
360
361
  raise Exception(ex)
361
362
 
@@ -371,7 +372,8 @@ class Odb:
371
372
  Returns: json字符串,包含信息为dict
372
373
  """
373
374
  try:
374
- qt_model.GetAllConcurrentReaction(nodeId=node_id, loadCaseName=case_name)
375
+ res_dict = qt_model.GetAllConcurrentReaction(nodeId=node_id, loadCaseName=case_name)
376
+ return json.dumps(res_dict)
375
377
  except Exception as ex:
376
378
  raise Exception(ex)
377
379
 
@@ -387,7 +389,8 @@ class Odb:
387
389
  Returns: json字符串,包含信息为dict
388
390
  """
389
391
  try:
390
- qt_model.GetBeamConcurrentForce(eleId=ele_id, loadCaseName=case_name)
392
+ res_dict = qt_model.GetBeamConcurrentForce(eleId=ele_id, loadCaseName=case_name)
393
+ return json.dumps(res_dict)
391
394
  except Exception as ex:
392
395
  raise Exception(ex)
393
396
 
@@ -403,7 +406,8 @@ class Odb:
403
406
  Returns: json字符串,包含信息为dict
404
407
  """
405
408
  try:
406
- qt_model.GetCompositeBeamConcurrentForce(eleId=ele_id, loadCaseName=case_name)
409
+ res_dict = qt_model.GetCompositeBeamConcurrentForce(eleId=ele_id, loadCaseName=case_name)
410
+ return json.dumps(res_dict)
407
411
  except Exception as ex:
408
412
  raise Exception(ex)
409
413
 
@@ -443,7 +447,8 @@ class Odb:
443
447
  Returns: json字符串,包含信息为dict
444
448
  """
445
449
  try:
446
- qt_model.GetPeriodAndFrequency(mode=mode)
450
+ res_dict = qt_model.GetPeriodAndFrequency(mode=mode)
451
+ return json.dumps(res_dict)
447
452
  except Exception as ex:
448
453
  raise Exception(ex)
449
454
 
@@ -458,7 +463,8 @@ class Odb:
458
463
  Returns: json字符串,包含信息为dict
459
464
  """
460
465
  try:
461
- qt_model.GetParticipationMass(mode=mode)
466
+ res_dict = qt_model.GetParticipationMass(mode=mode)
467
+ return json.dumps(res_dict)
462
468
  except Exception as ex:
463
469
  raise Exception(ex)
464
470
 
@@ -473,7 +479,8 @@ class Odb:
473
479
  Returns: json字符串,包含信息为dict
474
480
  """
475
481
  try:
476
- qt_model.GetParticipationFactor(mode=mode)
482
+ res_dict = qt_model.GetParticipationFactor(mode=mode)
483
+ return json.dumps(res_dict)
477
484
  except Exception as ex:
478
485
  raise Exception(ex)
479
486
 
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qtmodel
3
- Version: 0.6.5
4
- Summary: python modeling for qt 2025-01-23
3
+ Version: 0.6.7
4
+ Summary: python modeling for qt 2025-02-12
5
5
  Home-page: https://github.com/Inface0443/pyqt
6
6
  Author: dqy-zhj
7
7
  Author-email: 1105417715@qq.com
@@ -12,8 +12,8 @@ Classifier: Programming Language :: Python :: 3
12
12
  Classifier: Operating System :: OS Independent
13
13
  Description-Content-Type: text/markdown
14
14
 
15
- > 最新版本 V0.6.5 - 2025-01-23
16
- > pip install --upgrade qtmodel -i https://pypi.org/simple
15
+ > 最新版本 V0.6.6 - 2025-02-10
16
+ > pip install --upgrade qtmodel -i https://pypi.org/simple
17
17
  - 新增部分接口
18
18
  # 建模操作
19
19
  ## 项目管理
@@ -9,7 +9,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
9
9
 
10
10
  setup(
11
11
  name="qtmodel",
12
- version=f"V0.6.5",
12
+ version=f"V0.6.7",
13
13
  author="dqy-zhj",
14
14
  author_email="1105417715@qq.com",
15
15
  description=f"python modeling for qt {datetime.now().date()} ",
File without changes
File without changes
File without changes