qtmodel 2.2.8__tar.gz → 2.2.9__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.
Files changed (45) hide show
  1. {qtmodel-2.2.8 → qtmodel-2.2.9}/PKG-INFO +28 -4
  2. {qtmodel-2.2.8 → qtmodel-2.2.9}/README.md +27 -3
  3. {qtmodel-2.2.8 → qtmodel-2.2.9}/pyproject.toml +1 -1
  4. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/mdb/mdb_project.py +4 -4
  5. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel.egg-info/PKG-INFO +28 -4
  6. {qtmodel-2.2.8 → qtmodel-2.2.9}/setup.cfg +0 -0
  7. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/__init__.py +0 -0
  8. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/cdb/__init__.py +0 -0
  9. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/cdb/cdb_anti_overturn_check.py +0 -0
  10. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/cdb/cdb_concrete_check.py +0 -0
  11. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/cdb/cdb_steel_box_check.py +0 -0
  12. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/cdb/cdb_steel_truss_check.py +0 -0
  13. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/core/__init__.py +0 -0
  14. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/core/data_helper.py +0 -0
  15. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/core/model_db.py +0 -0
  16. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/core/qt_server.py +0 -0
  17. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/core/result_db.py +0 -0
  18. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/mdb/__init__.py +0 -0
  19. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/mdb/mdb_analysis_setting.py +0 -0
  20. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/mdb/mdb_assistant.py +0 -0
  21. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/mdb/mdb_boundary.py +0 -0
  22. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/mdb/mdb_construction_stage.py +0 -0
  23. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/mdb/mdb_dynamic_load.py +0 -0
  24. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/mdb/mdb_live_load.py +0 -0
  25. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/mdb/mdb_load.py +0 -0
  26. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/mdb/mdb_property.py +0 -0
  27. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/mdb/mdb_section.py +0 -0
  28. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/mdb/mdb_sink_load.py +0 -0
  29. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/mdb/mdb_static_load.py +0 -0
  30. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/mdb/mdb_structure.py +0 -0
  31. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/mdb/mdb_temperature_load.py +0 -0
  32. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/mdb/mdb_tendon.py +0 -0
  33. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/odb/__init__.py +0 -0
  34. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/odb/odb_model_boundary.py +0 -0
  35. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/odb/odb_model_load.py +0 -0
  36. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/odb/odb_model_material.py +0 -0
  37. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/odb/odb_model_section.py +0 -0
  38. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/odb/odb_model_stage.py +0 -0
  39. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/odb/odb_model_structure.py +0 -0
  40. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/odb/odb_result_data.py +0 -0
  41. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/odb/odb_result_plot.py +0 -0
  42. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel/odb/odb_view.py +0 -0
  43. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel.egg-info/SOURCES.txt +0 -0
  44. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel.egg-info/dependency_links.txt +0 -0
  45. {qtmodel-2.2.8 → qtmodel-2.2.9}/src/qtmodel.egg-info/top_level.txt +0 -0
@@ -1,18 +1,42 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qtmodel
3
- Version: 2.2.8
3
+ Version: 2.2.9
4
4
  Summary: qtmodel package
5
5
  Author: Your Name
6
6
  Requires-Python: >=3.9
7
7
  Description-Content-Type: text/markdown
8
8
 
9
- > 最新qtmodel版本 V2.2.8 - 2026-05-14
9
+ > 最新qtmodel版本 V2.2.9 - 2026-05-18
10
10
  > pip install --upgrade qtmodel -i https://pypi.org/simple
11
- - 新增检算荷载组合,检算材料,检算钢筋信息
11
+ - 增加运行分析等待时间参数
12
12
  # 建模操作
13
13
  ## 节点操作
14
14
  ### generate_curve_node_data
15
15
  生成曲线节点数据 [[id, x, y, z], ...]
16
+ > 参数:
17
+ > fixed_y:
18
+ > 固定 y 坐标。
19
+ > start_node_id:
20
+ > 起始节点号。
21
+ > mirror:
22
+ > 是否镜像生成另一半。
23
+ > count:
24
+ > 半边总单元数量。
25
+ > 例如 count=48,则半边生成 49 个节点。
26
+ > curve_points:
27
+ > 曲线控制点列表 [(x, z), ...]。
28
+ > 函数会根据这些点线性插值得到 z。
29
+ > span_list:
30
+ > 分跨位置列表,表示半边曲线内部的分跨 x 坐标。
31
+ > span_list=[36.0] 表示分成 2 段。
32
+ > span_list=[24.0, 48.0] 表示分成 3 段。
33
+ > span_list=None 或 [] 表示不分跨,整段直接分 count 个单元。
34
+ ```Python
35
+ # 示例代码
36
+ from qtmodel import *
37
+ mdb.generate_curve_node_data(fixed_y=4,curve_points=[(1,1),(2.5,3),(3.5,4)],count=4)
38
+ #Returns:
39
+ ```
16
40
  ### add_nodes
17
41
  根据坐标信息和节点编号添加一组节点,可指定节点号,或不指定节点号
18
42
  > 参数:
@@ -607,7 +631,7 @@ mdb.update_to_post()
607
631
  ```Python
608
632
  # 示例代码
609
633
  from qtmodel import *
610
- mdb.do_solve()
634
+ mdb.do_solve(read_timeout=600)
611
635
  #Returns: 无
612
636
  ```
613
637
  ### initial
@@ -1,10 +1,34 @@
1
- > 最新qtmodel版本 V2.2.8 - 2026-05-14
1
+ > 最新qtmodel版本 V2.2.9 - 2026-05-18
2
2
  > pip install --upgrade qtmodel -i https://pypi.org/simple
3
- - 新增检算荷载组合,检算材料,检算钢筋信息
3
+ - 增加运行分析等待时间参数
4
4
  # 建模操作
5
5
  ## 节点操作
6
6
  ### generate_curve_node_data
7
7
  生成曲线节点数据 [[id, x, y, z], ...]
8
+ > 参数:
9
+ > fixed_y:
10
+ > 固定 y 坐标。
11
+ > start_node_id:
12
+ > 起始节点号。
13
+ > mirror:
14
+ > 是否镜像生成另一半。
15
+ > count:
16
+ > 半边总单元数量。
17
+ > 例如 count=48,则半边生成 49 个节点。
18
+ > curve_points:
19
+ > 曲线控制点列表 [(x, z), ...]。
20
+ > 函数会根据这些点线性插值得到 z。
21
+ > span_list:
22
+ > 分跨位置列表,表示半边曲线内部的分跨 x 坐标。
23
+ > span_list=[36.0] 表示分成 2 段。
24
+ > span_list=[24.0, 48.0] 表示分成 3 段。
25
+ > span_list=None 或 [] 表示不分跨,整段直接分 count 个单元。
26
+ ```Python
27
+ # 示例代码
28
+ from qtmodel import *
29
+ mdb.generate_curve_node_data(fixed_y=4,curve_points=[(1,1),(2.5,3),(3.5,4)],count=4)
30
+ #Returns:
31
+ ```
8
32
  ### add_nodes
9
33
  根据坐标信息和节点编号添加一组节点,可指定节点号,或不指定节点号
10
34
  > 参数:
@@ -599,7 +623,7 @@ mdb.update_to_post()
599
623
  ```Python
600
624
  # 示例代码
601
625
  from qtmodel import *
602
- mdb.do_solve()
626
+ mdb.do_solve(read_timeout=600)
603
627
  #Returns: 无
604
628
  ```
605
629
  ### initial
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "qtmodel"
7
- version = "2.2.8"
7
+ version = "2.2.9"
8
8
  description = "qtmodel package"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -162,15 +162,15 @@ class MdbProject:
162
162
  QtServer.send_dict(header="UPDATE-TO-POST")
163
163
 
164
164
  @staticmethod
165
- def do_solve():
165
+ def do_solve(read_timeout=600):
166
166
  """
167
167
  运行分析
168
- Args:
168
+ Args: read_timeout 限制最大运行时间,默认为10分钟
169
169
  Example:
170
- mdb.do_solve()
170
+ mdb.do_solve(read_timeout=600)
171
171
  Returns: 无
172
172
  """
173
- QtServer.send_dict(header="DO-SOLVE")
173
+ QtServer.send_dict(header="DO-SOLVE",read_timeout=600)
174
174
  # 设置缓冲时间
175
175
  time.sleep(3)
176
176
 
@@ -1,18 +1,42 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qtmodel
3
- Version: 2.2.8
3
+ Version: 2.2.9
4
4
  Summary: qtmodel package
5
5
  Author: Your Name
6
6
  Requires-Python: >=3.9
7
7
  Description-Content-Type: text/markdown
8
8
 
9
- > 最新qtmodel版本 V2.2.8 - 2026-05-14
9
+ > 最新qtmodel版本 V2.2.9 - 2026-05-18
10
10
  > pip install --upgrade qtmodel -i https://pypi.org/simple
11
- - 新增检算荷载组合,检算材料,检算钢筋信息
11
+ - 增加运行分析等待时间参数
12
12
  # 建模操作
13
13
  ## 节点操作
14
14
  ### generate_curve_node_data
15
15
  生成曲线节点数据 [[id, x, y, z], ...]
16
+ > 参数:
17
+ > fixed_y:
18
+ > 固定 y 坐标。
19
+ > start_node_id:
20
+ > 起始节点号。
21
+ > mirror:
22
+ > 是否镜像生成另一半。
23
+ > count:
24
+ > 半边总单元数量。
25
+ > 例如 count=48,则半边生成 49 个节点。
26
+ > curve_points:
27
+ > 曲线控制点列表 [(x, z), ...]。
28
+ > 函数会根据这些点线性插值得到 z。
29
+ > span_list:
30
+ > 分跨位置列表,表示半边曲线内部的分跨 x 坐标。
31
+ > span_list=[36.0] 表示分成 2 段。
32
+ > span_list=[24.0, 48.0] 表示分成 3 段。
33
+ > span_list=None 或 [] 表示不分跨,整段直接分 count 个单元。
34
+ ```Python
35
+ # 示例代码
36
+ from qtmodel import *
37
+ mdb.generate_curve_node_data(fixed_y=4,curve_points=[(1,1),(2.5,3),(3.5,4)],count=4)
38
+ #Returns:
39
+ ```
16
40
  ### add_nodes
17
41
  根据坐标信息和节点编号添加一组节点,可指定节点号,或不指定节点号
18
42
  > 参数:
@@ -607,7 +631,7 @@ mdb.update_to_post()
607
631
  ```Python
608
632
  # 示例代码
609
633
  from qtmodel import *
610
- mdb.do_solve()
634
+ mdb.do_solve(read_timeout=600)
611
635
  #Returns: 无
612
636
  ```
613
637
  ### initial
File without changes
File without changes