qtmodel 2.2.8__tar.gz → 2.3.0__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.
- {qtmodel-2.2.8 → qtmodel-2.3.0}/PKG-INFO +35 -136
- {qtmodel-2.2.8 → qtmodel-2.3.0}/README.md +34 -135
- {qtmodel-2.2.8 → qtmodel-2.3.0}/pyproject.toml +1 -1
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/cdb/cdb_steel_box_check.py +7 -210
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/core/qt_server.py +1 -1
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/mdb/mdb_project.py +4 -4
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel.egg-info/PKG-INFO +35 -136
- {qtmodel-2.2.8 → qtmodel-2.3.0}/setup.cfg +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/__init__.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/cdb/__init__.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/cdb/cdb_anti_overturn_check.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/cdb/cdb_concrete_check.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/cdb/cdb_steel_truss_check.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/core/__init__.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/core/data_helper.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/core/model_db.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/core/result_db.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/mdb/__init__.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/mdb/mdb_analysis_setting.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/mdb/mdb_assistant.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/mdb/mdb_boundary.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/mdb/mdb_construction_stage.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/mdb/mdb_dynamic_load.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/mdb/mdb_live_load.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/mdb/mdb_load.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/mdb/mdb_property.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/mdb/mdb_section.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/mdb/mdb_sink_load.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/mdb/mdb_static_load.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/mdb/mdb_structure.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/mdb/mdb_temperature_load.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/mdb/mdb_tendon.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/odb/__init__.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/odb/odb_model_boundary.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/odb/odb_model_load.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/odb/odb_model_material.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/odb/odb_model_section.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/odb/odb_model_stage.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/odb/odb_model_structure.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/odb/odb_result_data.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/odb/odb_result_plot.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel/odb/odb_view.py +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel.egg-info/SOURCES.txt +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/src/qtmodel.egg-info/dependency_links.txt +0 -0
- {qtmodel-2.2.8 → qtmodel-2.3.0}/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.
|
|
3
|
+
Version: 2.3.0
|
|
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版本
|
|
9
|
+
> 最新qtmodel版本 2.3.0 - 2026-05-19
|
|
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
|
|
@@ -4311,17 +4335,6 @@ from qtmodel import *
|
|
|
4311
4335
|
cdb.add_steel_box_construct_check(sec_id=1, material_id=1)
|
|
4312
4336
|
#Returns:
|
|
4313
4337
|
```
|
|
4314
|
-
### add_steel_box_check
|
|
4315
|
-
add_steel_box_construct_check 的简短别名。
|
|
4316
|
-
> 参数:
|
|
4317
|
-
> sec_id: 钢箱梁截面 ID。
|
|
4318
|
-
> material_id: 钢板材料 ID。
|
|
4319
|
-
```Python
|
|
4320
|
-
# 示例代码
|
|
4321
|
-
from qtmodel import *
|
|
4322
|
-
cdb.add_steel_box_check(sec_id=1, material_id=1)
|
|
4323
|
-
#Returns:
|
|
4324
|
-
```
|
|
4325
4338
|
### add_steel_box_transverse_rib
|
|
4326
4339
|
添加全局横向加劲肋。
|
|
4327
4340
|
> 参数:
|
|
@@ -4395,16 +4408,6 @@ from qtmodel import *
|
|
|
4395
4408
|
cdb.update_steel_box_bot_check(sec_id=1)
|
|
4396
4409
|
#Returns:
|
|
4397
4410
|
```
|
|
4398
|
-
### update_steel_box_bottom_check
|
|
4399
|
-
update_steel_box_bot_check 的别名。
|
|
4400
|
-
> 参数:
|
|
4401
|
-
> **kwargs: 与 update_steel_box_bot_check 完全一致的参数。
|
|
4402
|
-
```Python
|
|
4403
|
-
# 示例代码
|
|
4404
|
-
from qtmodel import *
|
|
4405
|
-
cdb.update_steel_box_bottom_check(...)
|
|
4406
|
-
#Returns:
|
|
4407
|
-
```
|
|
4408
4411
|
### update_steel_box_web_check
|
|
4409
4412
|
更新腹板构造验算参数。
|
|
4410
4413
|
> 参数:
|
|
@@ -4494,16 +4497,6 @@ from qtmodel import *
|
|
|
4494
4497
|
cdb.get_steel_box_bot_check_result(sec_id=1)
|
|
4495
4498
|
#Returns:
|
|
4496
4499
|
```
|
|
4497
|
-
### get_steel_box_bottom_check_result
|
|
4498
|
-
get_steel_box_bot_check_result 的别名。
|
|
4499
|
-
> 参数:
|
|
4500
|
-
> sec_id: 钢箱梁截面 ID。
|
|
4501
|
-
```Python
|
|
4502
|
-
# 示例代码
|
|
4503
|
-
from qtmodel import *
|
|
4504
|
-
cdb.get_steel_box_bottom_check_result(sec_id=1)
|
|
4505
|
-
#Returns:
|
|
4506
|
-
```
|
|
4507
4500
|
### get_steel_box_web_check_result
|
|
4508
4501
|
获取腹板构造验算结果。
|
|
4509
4502
|
> 参数:
|
|
@@ -4572,16 +4565,6 @@ from qtmodel import *
|
|
|
4572
4565
|
cdb.get_steel_box_construct_check_schema()
|
|
4573
4566
|
#Returns:
|
|
4574
4567
|
```
|
|
4575
|
-
### get_steel_box_check_schema
|
|
4576
|
-
get_steel_box_construct_check_schema 的别名。
|
|
4577
|
-
> 参数:
|
|
4578
|
-
> 无。
|
|
4579
|
-
```Python
|
|
4580
|
-
# 示例代码
|
|
4581
|
-
from qtmodel import *
|
|
4582
|
-
cdb.get_steel_box_check_schema()
|
|
4583
|
-
#Returns:
|
|
4584
|
-
```
|
|
4585
4568
|
## steel box stress check
|
|
4586
4569
|
### add_steel_box_stress_check
|
|
4587
4570
|
添加钢箱梁应力验算工况。
|
|
@@ -4596,16 +4579,6 @@ from qtmodel import *
|
|
|
4596
4579
|
cdb.add_steel_box_stress_check(name="应力验算1", structure_group_name="钢箱梁组", material_id=1)
|
|
4597
4580
|
#Returns:
|
|
4598
4581
|
```
|
|
4599
|
-
### add_steel_box_stress_check_case
|
|
4600
|
-
add_steel_box_stress_check 的别名。
|
|
4601
|
-
> 参数:
|
|
4602
|
-
> **kwargs: 与 add_steel_box_stress_check 完全一致的参数。
|
|
4603
|
-
```Python
|
|
4604
|
-
# 示例代码
|
|
4605
|
-
from qtmodel import *
|
|
4606
|
-
cdb.add_steel_box_stress_check_case(...)
|
|
4607
|
-
#Returns:
|
|
4608
|
-
```
|
|
4609
4582
|
### remove_steel_box_stress_check
|
|
4610
4583
|
删除钢箱梁应力验算工况。
|
|
4611
4584
|
> 参数:
|
|
@@ -4616,16 +4589,6 @@ from qtmodel import *
|
|
|
4616
4589
|
cdb.remove_steel_box_stress_check(name="应力验算1")
|
|
4617
4590
|
#Returns:
|
|
4618
4591
|
```
|
|
4619
|
-
### remove_steel_box_stress_check_case
|
|
4620
|
-
remove_steel_box_stress_check 的别名。
|
|
4621
|
-
> 参数:
|
|
4622
|
-
> name: 要删除的应力验算工况名称。
|
|
4623
|
-
```Python
|
|
4624
|
-
# 示例代码
|
|
4625
|
-
from qtmodel import *
|
|
4626
|
-
cdb.remove_steel_box_stress_check_case(name="应力验算1")
|
|
4627
|
-
#Returns:
|
|
4628
|
-
```
|
|
4629
4592
|
### delete_steel_box_stress_check
|
|
4630
4593
|
删除钢箱梁应力验算工况。
|
|
4631
4594
|
> 参数:
|
|
@@ -4636,18 +4599,8 @@ from qtmodel import *
|
|
|
4636
4599
|
cdb.delete_steel_box_stress_check(name="应力验算1")
|
|
4637
4600
|
#Returns:
|
|
4638
4601
|
```
|
|
4639
|
-
### refresh_steel_box_stress_check_default_data
|
|
4640
|
-
从当前模型刷新应力验算默认数据。
|
|
4641
|
-
> 参数:
|
|
4642
|
-
> name: 应力验算工况名称。
|
|
4643
|
-
```Python
|
|
4644
|
-
# 示例代码
|
|
4645
|
-
from qtmodel import *
|
|
4646
|
-
cdb.refresh_steel_box_stress_check_default_data(name="应力验算1")
|
|
4647
|
-
#Returns:
|
|
4648
|
-
```
|
|
4649
4602
|
### import_steel_box_stress_check_default_data
|
|
4650
|
-
|
|
4603
|
+
从当前模型刷新应力验算默认数据。
|
|
4651
4604
|
> 参数:
|
|
4652
4605
|
> name: 应力验算工况名称。
|
|
4653
4606
|
```Python
|
|
@@ -4723,22 +4676,8 @@ from qtmodel import *
|
|
|
4723
4676
|
cdb.update_steel_box_stress_second_system_info(name="应力验算1")
|
|
4724
4677
|
#Returns:
|
|
4725
4678
|
```
|
|
4726
|
-
### update_steel_box_stress_support_infos
|
|
4727
|
-
更新局部支承承压验算输入数据。
|
|
4728
|
-
> 参数:
|
|
4729
|
-
> name: 应力验算工况名称。
|
|
4730
|
-
> support_data: 支承数据二维数组,每行格式为
|
|
4731
|
-
> [node_id, rv, rib_ns, rib_bs, rib_t, rib_b, tw, tf,
|
|
4732
|
-
> a, b, pad_t, as, beb, bev, gama, equality_press_factor, calc_by_user]。
|
|
4733
|
-
> length_unit: support_data 中长度、面积等几何参数的基础长度单位,默认 mm。
|
|
4734
|
-
```Python
|
|
4735
|
-
# 示例代码
|
|
4736
|
-
from qtmodel import *
|
|
4737
|
-
cdb.update_steel_box_stress_support_infos(name="应力验算1", support_data=[[...]])
|
|
4738
|
-
#Returns:
|
|
4739
|
-
```
|
|
4740
4679
|
### update_steel_box_stress_support_info
|
|
4741
|
-
|
|
4680
|
+
更新局部支承承压验算输入数据。
|
|
4742
4681
|
> 参数:
|
|
4743
4682
|
> name: 应力验算工况名称。
|
|
4744
4683
|
> support_data: 支承数据二维数组,格式同 update_steel_box_stress_support_infos。
|
|
@@ -4761,7 +4700,7 @@ cdb.calculate_steel_box_stress_support_infos(name="应力验算1")
|
|
|
4761
4700
|
#Returns:
|
|
4762
4701
|
```
|
|
4763
4702
|
### calc_steel_box_stress_support_infos
|
|
4764
|
-
|
|
4703
|
+
计算局部支承承压验算结果。
|
|
4765
4704
|
> 参数:
|
|
4766
4705
|
> name: 应力验算工况名称。
|
|
4767
4706
|
> user_define: 是否使用用户自定义输入;0 使用程序默认或模型数据,1 使用用户输入。
|
|
@@ -4837,48 +4776,8 @@ from qtmodel import *
|
|
|
4837
4776
|
cdb.import_steel_box_stress_fatigue_point_info(name="应力验算1")
|
|
4838
4777
|
#Returns:
|
|
4839
4778
|
```
|
|
4840
|
-
### calculate_steel_box_stress_normal_result
|
|
4841
|
-
计算正应力强度验算结果。
|
|
4842
|
-
> 参数:
|
|
4843
|
-
> name: 应力验算工况名称。
|
|
4844
|
-
```Python
|
|
4845
|
-
# 示例代码
|
|
4846
|
-
from qtmodel import *
|
|
4847
|
-
cdb.calculate_steel_box_stress_normal_result(name="应力验算1")
|
|
4848
|
-
#Returns:
|
|
4849
|
-
```
|
|
4850
|
-
### calculate_steel_box_stress_shear_result
|
|
4851
|
-
计算剪应力强度验算结果。
|
|
4852
|
-
> 参数:
|
|
4853
|
-
> name: 应力验算工况名称。
|
|
4854
|
-
```Python
|
|
4855
|
-
# 示例代码
|
|
4856
|
-
from qtmodel import *
|
|
4857
|
-
cdb.calculate_steel_box_stress_shear_result(name="应力验算1")
|
|
4858
|
-
#Returns:
|
|
4859
|
-
```
|
|
4860
|
-
### calculate_steel_box_stress_reduced_result
|
|
4861
|
-
计算折减应力验算结果。
|
|
4862
|
-
> 参数:
|
|
4863
|
-
> name: 应力验算工况名称。
|
|
4864
|
-
```Python
|
|
4865
|
-
# 示例代码
|
|
4866
|
-
from qtmodel import *
|
|
4867
|
-
cdb.calculate_steel_box_stress_reduced_result(name="应力验算1")
|
|
4868
|
-
#Returns:
|
|
4869
|
-
```
|
|
4870
|
-
### calculate_steel_box_stress_fatigue_result
|
|
4871
|
-
计算疲劳验算结果。
|
|
4872
|
-
> 参数:
|
|
4873
|
-
> name: 应力验算工况名称。
|
|
4874
|
-
```Python
|
|
4875
|
-
# 示例代码
|
|
4876
|
-
from qtmodel import *
|
|
4877
|
-
cdb.calculate_steel_box_stress_fatigue_result(name="应力验算1")
|
|
4878
|
-
#Returns:
|
|
4879
|
-
```
|
|
4880
4779
|
### calc_steel_box_stress_normal_result
|
|
4881
|
-
|
|
4780
|
+
计算正应力强度验算结果。
|
|
4882
4781
|
> 参数:
|
|
4883
4782
|
> name: 应力验算工况名称。
|
|
4884
4783
|
```Python
|
|
@@ -4888,7 +4787,7 @@ cdb.calc_steel_box_stress_normal_result(name="应力验算1")
|
|
|
4888
4787
|
#Returns:
|
|
4889
4788
|
```
|
|
4890
4789
|
### calc_steel_box_stress_shear_result
|
|
4891
|
-
|
|
4790
|
+
计算剪应力强度验算结果。
|
|
4892
4791
|
> 参数:
|
|
4893
4792
|
> name: 应力验算工况名称。
|
|
4894
4793
|
```Python
|
|
@@ -4898,7 +4797,7 @@ cdb.calc_steel_box_stress_shear_result(name="应力验算1")
|
|
|
4898
4797
|
#Returns:
|
|
4899
4798
|
```
|
|
4900
4799
|
### calc_steel_box_stress_reduced_result
|
|
4901
|
-
|
|
4800
|
+
计算折减应力验算结果。
|
|
4902
4801
|
> 参数:
|
|
4903
4802
|
> name: 应力验算工况名称。
|
|
4904
4803
|
```Python
|
|
@@ -4908,7 +4807,7 @@ cdb.calc_steel_box_stress_reduced_result(name="应力验算1")
|
|
|
4908
4807
|
#Returns:
|
|
4909
4808
|
```
|
|
4910
4809
|
### calc_steel_box_stress_fatigue_result
|
|
4911
|
-
|
|
4810
|
+
钢箱梁应力检算疲劳结果获取
|
|
4912
4811
|
> 参数:
|
|
4913
4812
|
> name: 应力验算工况名称。
|
|
4914
4813
|
```Python
|
|
@@ -1,10 +1,34 @@
|
|
|
1
|
-
> 最新qtmodel版本
|
|
1
|
+
> 最新qtmodel版本 2.3.0 - 2026-05-19
|
|
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
|
|
@@ -4303,17 +4327,6 @@ from qtmodel import *
|
|
|
4303
4327
|
cdb.add_steel_box_construct_check(sec_id=1, material_id=1)
|
|
4304
4328
|
#Returns:
|
|
4305
4329
|
```
|
|
4306
|
-
### add_steel_box_check
|
|
4307
|
-
add_steel_box_construct_check 的简短别名。
|
|
4308
|
-
> 参数:
|
|
4309
|
-
> sec_id: 钢箱梁截面 ID。
|
|
4310
|
-
> material_id: 钢板材料 ID。
|
|
4311
|
-
```Python
|
|
4312
|
-
# 示例代码
|
|
4313
|
-
from qtmodel import *
|
|
4314
|
-
cdb.add_steel_box_check(sec_id=1, material_id=1)
|
|
4315
|
-
#Returns:
|
|
4316
|
-
```
|
|
4317
4330
|
### add_steel_box_transverse_rib
|
|
4318
4331
|
添加全局横向加劲肋。
|
|
4319
4332
|
> 参数:
|
|
@@ -4387,16 +4400,6 @@ from qtmodel import *
|
|
|
4387
4400
|
cdb.update_steel_box_bot_check(sec_id=1)
|
|
4388
4401
|
#Returns:
|
|
4389
4402
|
```
|
|
4390
|
-
### update_steel_box_bottom_check
|
|
4391
|
-
update_steel_box_bot_check 的别名。
|
|
4392
|
-
> 参数:
|
|
4393
|
-
> **kwargs: 与 update_steel_box_bot_check 完全一致的参数。
|
|
4394
|
-
```Python
|
|
4395
|
-
# 示例代码
|
|
4396
|
-
from qtmodel import *
|
|
4397
|
-
cdb.update_steel_box_bottom_check(...)
|
|
4398
|
-
#Returns:
|
|
4399
|
-
```
|
|
4400
4403
|
### update_steel_box_web_check
|
|
4401
4404
|
更新腹板构造验算参数。
|
|
4402
4405
|
> 参数:
|
|
@@ -4486,16 +4489,6 @@ from qtmodel import *
|
|
|
4486
4489
|
cdb.get_steel_box_bot_check_result(sec_id=1)
|
|
4487
4490
|
#Returns:
|
|
4488
4491
|
```
|
|
4489
|
-
### get_steel_box_bottom_check_result
|
|
4490
|
-
get_steel_box_bot_check_result 的别名。
|
|
4491
|
-
> 参数:
|
|
4492
|
-
> sec_id: 钢箱梁截面 ID。
|
|
4493
|
-
```Python
|
|
4494
|
-
# 示例代码
|
|
4495
|
-
from qtmodel import *
|
|
4496
|
-
cdb.get_steel_box_bottom_check_result(sec_id=1)
|
|
4497
|
-
#Returns:
|
|
4498
|
-
```
|
|
4499
4492
|
### get_steel_box_web_check_result
|
|
4500
4493
|
获取腹板构造验算结果。
|
|
4501
4494
|
> 参数:
|
|
@@ -4564,16 +4557,6 @@ from qtmodel import *
|
|
|
4564
4557
|
cdb.get_steel_box_construct_check_schema()
|
|
4565
4558
|
#Returns:
|
|
4566
4559
|
```
|
|
4567
|
-
### get_steel_box_check_schema
|
|
4568
|
-
get_steel_box_construct_check_schema 的别名。
|
|
4569
|
-
> 参数:
|
|
4570
|
-
> 无。
|
|
4571
|
-
```Python
|
|
4572
|
-
# 示例代码
|
|
4573
|
-
from qtmodel import *
|
|
4574
|
-
cdb.get_steel_box_check_schema()
|
|
4575
|
-
#Returns:
|
|
4576
|
-
```
|
|
4577
4560
|
## steel box stress check
|
|
4578
4561
|
### add_steel_box_stress_check
|
|
4579
4562
|
添加钢箱梁应力验算工况。
|
|
@@ -4588,16 +4571,6 @@ from qtmodel import *
|
|
|
4588
4571
|
cdb.add_steel_box_stress_check(name="应力验算1", structure_group_name="钢箱梁组", material_id=1)
|
|
4589
4572
|
#Returns:
|
|
4590
4573
|
```
|
|
4591
|
-
### add_steel_box_stress_check_case
|
|
4592
|
-
add_steel_box_stress_check 的别名。
|
|
4593
|
-
> 参数:
|
|
4594
|
-
> **kwargs: 与 add_steel_box_stress_check 完全一致的参数。
|
|
4595
|
-
```Python
|
|
4596
|
-
# 示例代码
|
|
4597
|
-
from qtmodel import *
|
|
4598
|
-
cdb.add_steel_box_stress_check_case(...)
|
|
4599
|
-
#Returns:
|
|
4600
|
-
```
|
|
4601
4574
|
### remove_steel_box_stress_check
|
|
4602
4575
|
删除钢箱梁应力验算工况。
|
|
4603
4576
|
> 参数:
|
|
@@ -4608,16 +4581,6 @@ from qtmodel import *
|
|
|
4608
4581
|
cdb.remove_steel_box_stress_check(name="应力验算1")
|
|
4609
4582
|
#Returns:
|
|
4610
4583
|
```
|
|
4611
|
-
### remove_steel_box_stress_check_case
|
|
4612
|
-
remove_steel_box_stress_check 的别名。
|
|
4613
|
-
> 参数:
|
|
4614
|
-
> name: 要删除的应力验算工况名称。
|
|
4615
|
-
```Python
|
|
4616
|
-
# 示例代码
|
|
4617
|
-
from qtmodel import *
|
|
4618
|
-
cdb.remove_steel_box_stress_check_case(name="应力验算1")
|
|
4619
|
-
#Returns:
|
|
4620
|
-
```
|
|
4621
4584
|
### delete_steel_box_stress_check
|
|
4622
4585
|
删除钢箱梁应力验算工况。
|
|
4623
4586
|
> 参数:
|
|
@@ -4628,18 +4591,8 @@ from qtmodel import *
|
|
|
4628
4591
|
cdb.delete_steel_box_stress_check(name="应力验算1")
|
|
4629
4592
|
#Returns:
|
|
4630
4593
|
```
|
|
4631
|
-
### refresh_steel_box_stress_check_default_data
|
|
4632
|
-
从当前模型刷新应力验算默认数据。
|
|
4633
|
-
> 参数:
|
|
4634
|
-
> name: 应力验算工况名称。
|
|
4635
|
-
```Python
|
|
4636
|
-
# 示例代码
|
|
4637
|
-
from qtmodel import *
|
|
4638
|
-
cdb.refresh_steel_box_stress_check_default_data(name="应力验算1")
|
|
4639
|
-
#Returns:
|
|
4640
|
-
```
|
|
4641
4594
|
### import_steel_box_stress_check_default_data
|
|
4642
|
-
|
|
4595
|
+
从当前模型刷新应力验算默认数据。
|
|
4643
4596
|
> 参数:
|
|
4644
4597
|
> name: 应力验算工况名称。
|
|
4645
4598
|
```Python
|
|
@@ -4715,22 +4668,8 @@ from qtmodel import *
|
|
|
4715
4668
|
cdb.update_steel_box_stress_second_system_info(name="应力验算1")
|
|
4716
4669
|
#Returns:
|
|
4717
4670
|
```
|
|
4718
|
-
### update_steel_box_stress_support_infos
|
|
4719
|
-
更新局部支承承压验算输入数据。
|
|
4720
|
-
> 参数:
|
|
4721
|
-
> name: 应力验算工况名称。
|
|
4722
|
-
> support_data: 支承数据二维数组,每行格式为
|
|
4723
|
-
> [node_id, rv, rib_ns, rib_bs, rib_t, rib_b, tw, tf,
|
|
4724
|
-
> a, b, pad_t, as, beb, bev, gama, equality_press_factor, calc_by_user]。
|
|
4725
|
-
> length_unit: support_data 中长度、面积等几何参数的基础长度单位,默认 mm。
|
|
4726
|
-
```Python
|
|
4727
|
-
# 示例代码
|
|
4728
|
-
from qtmodel import *
|
|
4729
|
-
cdb.update_steel_box_stress_support_infos(name="应力验算1", support_data=[[...]])
|
|
4730
|
-
#Returns:
|
|
4731
|
-
```
|
|
4732
4671
|
### update_steel_box_stress_support_info
|
|
4733
|
-
|
|
4672
|
+
更新局部支承承压验算输入数据。
|
|
4734
4673
|
> 参数:
|
|
4735
4674
|
> name: 应力验算工况名称。
|
|
4736
4675
|
> support_data: 支承数据二维数组,格式同 update_steel_box_stress_support_infos。
|
|
@@ -4753,7 +4692,7 @@ cdb.calculate_steel_box_stress_support_infos(name="应力验算1")
|
|
|
4753
4692
|
#Returns:
|
|
4754
4693
|
```
|
|
4755
4694
|
### calc_steel_box_stress_support_infos
|
|
4756
|
-
|
|
4695
|
+
计算局部支承承压验算结果。
|
|
4757
4696
|
> 参数:
|
|
4758
4697
|
> name: 应力验算工况名称。
|
|
4759
4698
|
> user_define: 是否使用用户自定义输入;0 使用程序默认或模型数据,1 使用用户输入。
|
|
@@ -4829,48 +4768,8 @@ from qtmodel import *
|
|
|
4829
4768
|
cdb.import_steel_box_stress_fatigue_point_info(name="应力验算1")
|
|
4830
4769
|
#Returns:
|
|
4831
4770
|
```
|
|
4832
|
-
### calculate_steel_box_stress_normal_result
|
|
4833
|
-
计算正应力强度验算结果。
|
|
4834
|
-
> 参数:
|
|
4835
|
-
> name: 应力验算工况名称。
|
|
4836
|
-
```Python
|
|
4837
|
-
# 示例代码
|
|
4838
|
-
from qtmodel import *
|
|
4839
|
-
cdb.calculate_steel_box_stress_normal_result(name="应力验算1")
|
|
4840
|
-
#Returns:
|
|
4841
|
-
```
|
|
4842
|
-
### calculate_steel_box_stress_shear_result
|
|
4843
|
-
计算剪应力强度验算结果。
|
|
4844
|
-
> 参数:
|
|
4845
|
-
> name: 应力验算工况名称。
|
|
4846
|
-
```Python
|
|
4847
|
-
# 示例代码
|
|
4848
|
-
from qtmodel import *
|
|
4849
|
-
cdb.calculate_steel_box_stress_shear_result(name="应力验算1")
|
|
4850
|
-
#Returns:
|
|
4851
|
-
```
|
|
4852
|
-
### calculate_steel_box_stress_reduced_result
|
|
4853
|
-
计算折减应力验算结果。
|
|
4854
|
-
> 参数:
|
|
4855
|
-
> name: 应力验算工况名称。
|
|
4856
|
-
```Python
|
|
4857
|
-
# 示例代码
|
|
4858
|
-
from qtmodel import *
|
|
4859
|
-
cdb.calculate_steel_box_stress_reduced_result(name="应力验算1")
|
|
4860
|
-
#Returns:
|
|
4861
|
-
```
|
|
4862
|
-
### calculate_steel_box_stress_fatigue_result
|
|
4863
|
-
计算疲劳验算结果。
|
|
4864
|
-
> 参数:
|
|
4865
|
-
> name: 应力验算工况名称。
|
|
4866
|
-
```Python
|
|
4867
|
-
# 示例代码
|
|
4868
|
-
from qtmodel import *
|
|
4869
|
-
cdb.calculate_steel_box_stress_fatigue_result(name="应力验算1")
|
|
4870
|
-
#Returns:
|
|
4871
|
-
```
|
|
4872
4771
|
### calc_steel_box_stress_normal_result
|
|
4873
|
-
|
|
4772
|
+
计算正应力强度验算结果。
|
|
4874
4773
|
> 参数:
|
|
4875
4774
|
> name: 应力验算工况名称。
|
|
4876
4775
|
```Python
|
|
@@ -4880,7 +4779,7 @@ cdb.calc_steel_box_stress_normal_result(name="应力验算1")
|
|
|
4880
4779
|
#Returns:
|
|
4881
4780
|
```
|
|
4882
4781
|
### calc_steel_box_stress_shear_result
|
|
4883
|
-
|
|
4782
|
+
计算剪应力强度验算结果。
|
|
4884
4783
|
> 参数:
|
|
4885
4784
|
> name: 应力验算工况名称。
|
|
4886
4785
|
```Python
|
|
@@ -4890,7 +4789,7 @@ cdb.calc_steel_box_stress_shear_result(name="应力验算1")
|
|
|
4890
4789
|
#Returns:
|
|
4891
4790
|
```
|
|
4892
4791
|
### calc_steel_box_stress_reduced_result
|
|
4893
|
-
|
|
4792
|
+
计算折减应力验算结果。
|
|
4894
4793
|
> 参数:
|
|
4895
4794
|
> name: 应力验算工况名称。
|
|
4896
4795
|
```Python
|
|
@@ -4900,7 +4799,7 @@ cdb.calc_steel_box_stress_reduced_result(name="应力验算1")
|
|
|
4900
4799
|
#Returns:
|
|
4901
4800
|
```
|
|
4902
4801
|
### calc_steel_box_stress_fatigue_result
|
|
4903
|
-
|
|
4802
|
+
钢箱梁应力检算疲劳结果获取
|
|
4904
4803
|
> 参数:
|
|
4905
4804
|
> name: 应力验算工况名称。
|
|
4906
4805
|
```Python
|
|
@@ -31,19 +31,6 @@ class CdbSteelBoxCheck:
|
|
|
31
31
|
"material_id": material_id,
|
|
32
32
|
})
|
|
33
33
|
|
|
34
|
-
@staticmethod
|
|
35
|
-
def add_steel_box_check(sec_id: int, material_id: int):
|
|
36
|
-
"""
|
|
37
|
-
add_steel_box_construct_check 的简短别名。
|
|
38
|
-
Args:
|
|
39
|
-
sec_id: 钢箱梁截面 ID。
|
|
40
|
-
material_id: 钢板材料 ID。
|
|
41
|
-
Example:
|
|
42
|
-
cdb.add_steel_box_check(sec_id=1, material_id=1)
|
|
43
|
-
Returns:
|
|
44
|
-
服务端返回的执行结果字符串。
|
|
45
|
-
"""
|
|
46
|
-
return CdbSteelBoxCheck.add_steel_box_construct_check(sec_id=sec_id, material_id=material_id)
|
|
47
34
|
|
|
48
35
|
@staticmethod
|
|
49
36
|
def add_steel_box_transverse_rib(
|
|
@@ -216,21 +203,6 @@ class CdbSteelBoxCheck:
|
|
|
216
203
|
"length_unit": length_unit,
|
|
217
204
|
})
|
|
218
205
|
|
|
219
|
-
@staticmethod
|
|
220
|
-
def update_steel_box_bottom_check(**kwargs):
|
|
221
|
-
"""
|
|
222
|
-
update_steel_box_bot_check 的别名。
|
|
223
|
-
|
|
224
|
-
Args:
|
|
225
|
-
**kwargs: 与 update_steel_box_bot_check 完全一致的参数。
|
|
226
|
-
|
|
227
|
-
Example:
|
|
228
|
-
cdb.update_steel_box_bottom_check(...)
|
|
229
|
-
|
|
230
|
-
Returns:
|
|
231
|
-
服务端返回的执行结果字符串。
|
|
232
|
-
"""
|
|
233
|
-
return CdbSteelBoxCheck.update_steel_box_bot_check(**kwargs)
|
|
234
206
|
|
|
235
207
|
@staticmethod
|
|
236
208
|
def update_steel_box_web_check(
|
|
@@ -441,21 +413,6 @@ class CdbSteelBoxCheck:
|
|
|
441
413
|
"sec_id": sec_id,
|
|
442
414
|
})
|
|
443
415
|
|
|
444
|
-
@staticmethod
|
|
445
|
-
def get_steel_box_bottom_check_result(sec_id: int):
|
|
446
|
-
"""
|
|
447
|
-
get_steel_box_bot_check_result 的别名。
|
|
448
|
-
|
|
449
|
-
Args:
|
|
450
|
-
sec_id: 钢箱梁截面 ID。
|
|
451
|
-
|
|
452
|
-
Example:
|
|
453
|
-
cdb.get_steel_box_bottom_check_result(sec_id=1)
|
|
454
|
-
|
|
455
|
-
Returns:
|
|
456
|
-
底板验算结果字典。
|
|
457
|
-
"""
|
|
458
|
-
return CdbSteelBoxCheck.get_steel_box_bot_check_result(sec_id=sec_id)
|
|
459
416
|
|
|
460
417
|
@staticmethod
|
|
461
418
|
def get_steel_box_web_check_result(sec_id: int):
|
|
@@ -589,22 +546,6 @@ class CdbSteelBoxCheck:
|
|
|
589
546
|
"""
|
|
590
547
|
return QtServer.send_dict(header="GET-STEEL-BOX-CONSTRUCT-CHECK-SCHEMA", payload={})
|
|
591
548
|
|
|
592
|
-
@staticmethod
|
|
593
|
-
def get_steel_box_check_schema():
|
|
594
|
-
"""
|
|
595
|
-
get_steel_box_construct_check_schema 的别名。
|
|
596
|
-
|
|
597
|
-
Args:
|
|
598
|
-
无。
|
|
599
|
-
|
|
600
|
-
Example:
|
|
601
|
-
cdb.get_steel_box_check_schema()
|
|
602
|
-
|
|
603
|
-
Returns:
|
|
604
|
-
钢箱梁构造验算字段解释字典。
|
|
605
|
-
"""
|
|
606
|
-
return CdbSteelBoxCheck.get_steel_box_construct_check_schema()
|
|
607
|
-
|
|
608
549
|
# endregion
|
|
609
550
|
|
|
610
551
|
# region steel box stress check
|
|
@@ -636,22 +577,6 @@ class CdbSteelBoxCheck:
|
|
|
636
577
|
"standard_code": standard_code,
|
|
637
578
|
})
|
|
638
579
|
|
|
639
|
-
@staticmethod
|
|
640
|
-
def add_steel_box_stress_check_case(**kwargs):
|
|
641
|
-
"""
|
|
642
|
-
add_steel_box_stress_check 的别名。
|
|
643
|
-
|
|
644
|
-
Args:
|
|
645
|
-
**kwargs: 与 add_steel_box_stress_check 完全一致的参数。
|
|
646
|
-
|
|
647
|
-
Example:
|
|
648
|
-
cdb.add_steel_box_stress_check_case(...)
|
|
649
|
-
|
|
650
|
-
Returns:
|
|
651
|
-
服务端返回的执行结果字符串。
|
|
652
|
-
"""
|
|
653
|
-
return CdbSteelBoxCheck.add_steel_box_stress_check(**kwargs)
|
|
654
|
-
|
|
655
580
|
@staticmethod
|
|
656
581
|
def remove_steel_box_stress_check(name: str):
|
|
657
582
|
"""
|
|
@@ -670,22 +595,6 @@ class CdbSteelBoxCheck:
|
|
|
670
595
|
"name": name,
|
|
671
596
|
})
|
|
672
597
|
|
|
673
|
-
@staticmethod
|
|
674
|
-
def remove_steel_box_stress_check_case(name: str):
|
|
675
|
-
"""
|
|
676
|
-
remove_steel_box_stress_check 的别名。
|
|
677
|
-
|
|
678
|
-
Args:
|
|
679
|
-
name: 要删除的应力验算工况名称。
|
|
680
|
-
|
|
681
|
-
Example:
|
|
682
|
-
cdb.remove_steel_box_stress_check_case(name="应力验算1")
|
|
683
|
-
|
|
684
|
-
Returns:
|
|
685
|
-
服务端返回的执行结果字符串。
|
|
686
|
-
"""
|
|
687
|
-
return CdbSteelBoxCheck.remove_steel_box_stress_check(name=name)
|
|
688
|
-
|
|
689
598
|
@staticmethod
|
|
690
599
|
def delete_steel_box_stress_check(name: str):
|
|
691
600
|
"""
|
|
@@ -704,29 +613,11 @@ class CdbSteelBoxCheck:
|
|
|
704
613
|
"name": name,
|
|
705
614
|
})
|
|
706
615
|
|
|
707
|
-
@staticmethod
|
|
708
|
-
def refresh_steel_box_stress_check_default_data(name: str):
|
|
709
|
-
"""
|
|
710
|
-
从当前模型刷新应力验算默认数据。
|
|
711
|
-
|
|
712
|
-
Args:
|
|
713
|
-
name: 应力验算工况名称。
|
|
714
|
-
|
|
715
|
-
Example:
|
|
716
|
-
cdb.refresh_steel_box_stress_check_default_data(name="应力验算1")
|
|
717
|
-
|
|
718
|
-
Returns:
|
|
719
|
-
服务端返回的执行结果字符串。
|
|
720
|
-
"""
|
|
721
|
-
return QtServer.send_dict(header="REFRESH-STEEL-BOX-STRESS-CHECK-DEFAULT-DATA", payload={
|
|
722
|
-
"name": name,
|
|
723
|
-
})
|
|
724
616
|
|
|
725
617
|
@staticmethod
|
|
726
618
|
def import_steel_box_stress_check_default_data(name: str):
|
|
727
619
|
"""
|
|
728
|
-
|
|
729
|
-
|
|
620
|
+
从当前模型刷新应力验算默认数据。
|
|
730
621
|
Args:
|
|
731
622
|
name: 应力验算工况名称。
|
|
732
623
|
|
|
@@ -908,41 +799,13 @@ class CdbSteelBoxCheck:
|
|
|
908
799
|
"stress_unit": stress_unit,
|
|
909
800
|
})
|
|
910
801
|
|
|
911
|
-
@staticmethod
|
|
912
|
-
def update_steel_box_stress_support_infos(
|
|
913
|
-
name: str,
|
|
914
|
-
support_data: list[list[float]],
|
|
915
|
-
length_unit: str = "mm"):
|
|
916
|
-
"""
|
|
917
|
-
更新局部支承承压验算输入数据。
|
|
918
|
-
|
|
919
|
-
Args:
|
|
920
|
-
name: 应力验算工况名称。
|
|
921
|
-
support_data: 支承数据二维数组,每行格式为
|
|
922
|
-
[node_id, rv, rib_ns, rib_bs, rib_t, rib_b, tw, tf,
|
|
923
|
-
a, b, pad_t, as, beb, bev, gama, equality_press_factor, calc_by_user]。
|
|
924
|
-
length_unit: support_data 中长度、面积等几何参数的基础长度单位,默认 mm。
|
|
925
|
-
|
|
926
|
-
Example:
|
|
927
|
-
cdb.update_steel_box_stress_support_infos(name="应力验算1", support_data=[[...]])
|
|
928
|
-
|
|
929
|
-
Returns:
|
|
930
|
-
服务端返回的执行结果字符串。
|
|
931
|
-
"""
|
|
932
|
-
return QtServer.send_dict(header="UPDATE-STEEL-BOX-STRESS-SUPPORT-INFOS", payload={
|
|
933
|
-
"name": name,
|
|
934
|
-
"support_data": support_data,
|
|
935
|
-
"length_unit": length_unit,
|
|
936
|
-
})
|
|
937
|
-
|
|
938
802
|
@staticmethod
|
|
939
803
|
def update_steel_box_stress_support_info(
|
|
940
804
|
name: str,
|
|
941
805
|
support_data: list[list[float]],
|
|
942
806
|
length_unit: str = "mm"):
|
|
943
807
|
"""
|
|
944
|
-
|
|
945
|
-
|
|
808
|
+
更新局部支承承压验算输入数据。
|
|
946
809
|
Args:
|
|
947
810
|
name: 应力验算工况名称。
|
|
948
811
|
support_data: 支承数据二维数组,格式同 update_steel_box_stress_support_infos。
|
|
@@ -983,8 +846,7 @@ class CdbSteelBoxCheck:
|
|
|
983
846
|
@staticmethod
|
|
984
847
|
def calc_steel_box_stress_support_infos(name: str, user_define: int = 0):
|
|
985
848
|
"""
|
|
986
|
-
|
|
987
|
-
|
|
849
|
+
计算局部支承承压验算结果。
|
|
988
850
|
Args:
|
|
989
851
|
name: 应力验算工况名称。
|
|
990
852
|
user_define: 是否使用用户自定义输入;0 使用程序默认或模型数据,1 使用用户输入。
|
|
@@ -1122,76 +984,11 @@ class CdbSteelBoxCheck:
|
|
|
1122
984
|
"name": name,
|
|
1123
985
|
})
|
|
1124
986
|
|
|
1125
|
-
@staticmethod
|
|
1126
|
-
def calculate_steel_box_stress_normal_result(name: str):
|
|
1127
|
-
"""
|
|
1128
|
-
计算正应力强度验算结果。
|
|
1129
|
-
|
|
1130
|
-
Args:
|
|
1131
|
-
name: 应力验算工况名称。
|
|
1132
|
-
|
|
1133
|
-
Example:
|
|
1134
|
-
cdb.calculate_steel_box_stress_normal_result(name="应力验算1")
|
|
1135
|
-
|
|
1136
|
-
Returns:
|
|
1137
|
-
正应力强度验算结果。
|
|
1138
|
-
"""
|
|
1139
|
-
return QtServer.send_dict(header="CALCULATE-STEEL-BOX-STRESS-NORMAL-RESULT", payload={
|
|
1140
|
-
"name": name,
|
|
1141
|
-
})
|
|
1142
|
-
|
|
1143
|
-
@staticmethod
|
|
1144
|
-
def calculate_steel_box_stress_shear_result(name: str):
|
|
1145
|
-
"""
|
|
1146
|
-
计算剪应力强度验算结果。
|
|
1147
|
-
|
|
1148
|
-
Args:
|
|
1149
|
-
name: 应力验算工况名称。
|
|
1150
|
-
|
|
1151
|
-
Example:
|
|
1152
|
-
cdb.calculate_steel_box_stress_shear_result(name="应力验算1")
|
|
1153
|
-
|
|
1154
|
-
Returns:
|
|
1155
|
-
剪应力强度验算结果。
|
|
1156
|
-
"""
|
|
1157
|
-
return QtServer.send_dict(header="CALCULATE-STEEL-BOX-STRESS-SHEAR-RESULT", payload={
|
|
1158
|
-
"name": name,
|
|
1159
|
-
})
|
|
1160
|
-
|
|
1161
|
-
@staticmethod
|
|
1162
|
-
def calculate_steel_box_stress_reduced_result(name: str):
|
|
1163
|
-
"""
|
|
1164
|
-
计算折减应力验算结果。
|
|
1165
|
-
Args:
|
|
1166
|
-
name: 应力验算工况名称。
|
|
1167
|
-
Example:
|
|
1168
|
-
cdb.calculate_steel_box_stress_reduced_result(name="应力验算1")
|
|
1169
|
-
Returns:
|
|
1170
|
-
折减应力验算结果。
|
|
1171
|
-
"""
|
|
1172
|
-
return QtServer.send_dict(header="CALCULATE-STEEL-BOX-STRESS-REDUCED-RESULT", payload={
|
|
1173
|
-
"name": name,
|
|
1174
|
-
})
|
|
1175
|
-
|
|
1176
|
-
@staticmethod
|
|
1177
|
-
def calculate_steel_box_stress_fatigue_result(name: str):
|
|
1178
|
-
"""
|
|
1179
|
-
计算疲劳验算结果。
|
|
1180
|
-
Args:
|
|
1181
|
-
name: 应力验算工况名称。
|
|
1182
|
-
Example:
|
|
1183
|
-
cdb.calculate_steel_box_stress_fatigue_result(name="应力验算1")
|
|
1184
|
-
Returns:
|
|
1185
|
-
疲劳验算结果。
|
|
1186
|
-
"""
|
|
1187
|
-
return QtServer.send_dict(header="CALCULATE-STEEL-BOX-STRESS-FATIGUE-RESULT", payload={
|
|
1188
|
-
"name": name,
|
|
1189
|
-
})
|
|
1190
987
|
|
|
1191
988
|
@staticmethod
|
|
1192
989
|
def calc_steel_box_stress_normal_result(name: str):
|
|
1193
990
|
"""
|
|
1194
|
-
|
|
991
|
+
计算正应力强度验算结果。
|
|
1195
992
|
Args:
|
|
1196
993
|
name: 应力验算工况名称。
|
|
1197
994
|
Example:
|
|
@@ -1206,7 +1003,7 @@ class CdbSteelBoxCheck:
|
|
|
1206
1003
|
@staticmethod
|
|
1207
1004
|
def calc_steel_box_stress_shear_result(name: str):
|
|
1208
1005
|
"""
|
|
1209
|
-
|
|
1006
|
+
计算剪应力强度验算结果。
|
|
1210
1007
|
Args:
|
|
1211
1008
|
name: 应力验算工况名称。
|
|
1212
1009
|
Example:
|
|
@@ -1221,7 +1018,7 @@ class CdbSteelBoxCheck:
|
|
|
1221
1018
|
@staticmethod
|
|
1222
1019
|
def calc_steel_box_stress_reduced_result(name: str):
|
|
1223
1020
|
"""
|
|
1224
|
-
|
|
1021
|
+
计算折减应力验算结果。
|
|
1225
1022
|
Args:
|
|
1226
1023
|
name: 应力验算工况名称。
|
|
1227
1024
|
Example:
|
|
@@ -1236,7 +1033,7 @@ class CdbSteelBoxCheck:
|
|
|
1236
1033
|
@staticmethod
|
|
1237
1034
|
def calc_steel_box_stress_fatigue_result(name: str):
|
|
1238
1035
|
"""
|
|
1239
|
-
|
|
1036
|
+
钢箱梁应力检算疲劳结果获取
|
|
1240
1037
|
Args:
|
|
1241
1038
|
name: 应力验算工况名称。
|
|
1242
1039
|
Example:
|
|
@@ -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.
|
|
3
|
+
Version: 2.3.0
|
|
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版本
|
|
9
|
+
> 最新qtmodel版本 2.3.0 - 2026-05-19
|
|
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
|
|
@@ -4311,17 +4335,6 @@ from qtmodel import *
|
|
|
4311
4335
|
cdb.add_steel_box_construct_check(sec_id=1, material_id=1)
|
|
4312
4336
|
#Returns:
|
|
4313
4337
|
```
|
|
4314
|
-
### add_steel_box_check
|
|
4315
|
-
add_steel_box_construct_check 的简短别名。
|
|
4316
|
-
> 参数:
|
|
4317
|
-
> sec_id: 钢箱梁截面 ID。
|
|
4318
|
-
> material_id: 钢板材料 ID。
|
|
4319
|
-
```Python
|
|
4320
|
-
# 示例代码
|
|
4321
|
-
from qtmodel import *
|
|
4322
|
-
cdb.add_steel_box_check(sec_id=1, material_id=1)
|
|
4323
|
-
#Returns:
|
|
4324
|
-
```
|
|
4325
4338
|
### add_steel_box_transverse_rib
|
|
4326
4339
|
添加全局横向加劲肋。
|
|
4327
4340
|
> 参数:
|
|
@@ -4395,16 +4408,6 @@ from qtmodel import *
|
|
|
4395
4408
|
cdb.update_steel_box_bot_check(sec_id=1)
|
|
4396
4409
|
#Returns:
|
|
4397
4410
|
```
|
|
4398
|
-
### update_steel_box_bottom_check
|
|
4399
|
-
update_steel_box_bot_check 的别名。
|
|
4400
|
-
> 参数:
|
|
4401
|
-
> **kwargs: 与 update_steel_box_bot_check 完全一致的参数。
|
|
4402
|
-
```Python
|
|
4403
|
-
# 示例代码
|
|
4404
|
-
from qtmodel import *
|
|
4405
|
-
cdb.update_steel_box_bottom_check(...)
|
|
4406
|
-
#Returns:
|
|
4407
|
-
```
|
|
4408
4411
|
### update_steel_box_web_check
|
|
4409
4412
|
更新腹板构造验算参数。
|
|
4410
4413
|
> 参数:
|
|
@@ -4494,16 +4497,6 @@ from qtmodel import *
|
|
|
4494
4497
|
cdb.get_steel_box_bot_check_result(sec_id=1)
|
|
4495
4498
|
#Returns:
|
|
4496
4499
|
```
|
|
4497
|
-
### get_steel_box_bottom_check_result
|
|
4498
|
-
get_steel_box_bot_check_result 的别名。
|
|
4499
|
-
> 参数:
|
|
4500
|
-
> sec_id: 钢箱梁截面 ID。
|
|
4501
|
-
```Python
|
|
4502
|
-
# 示例代码
|
|
4503
|
-
from qtmodel import *
|
|
4504
|
-
cdb.get_steel_box_bottom_check_result(sec_id=1)
|
|
4505
|
-
#Returns:
|
|
4506
|
-
```
|
|
4507
4500
|
### get_steel_box_web_check_result
|
|
4508
4501
|
获取腹板构造验算结果。
|
|
4509
4502
|
> 参数:
|
|
@@ -4572,16 +4565,6 @@ from qtmodel import *
|
|
|
4572
4565
|
cdb.get_steel_box_construct_check_schema()
|
|
4573
4566
|
#Returns:
|
|
4574
4567
|
```
|
|
4575
|
-
### get_steel_box_check_schema
|
|
4576
|
-
get_steel_box_construct_check_schema 的别名。
|
|
4577
|
-
> 参数:
|
|
4578
|
-
> 无。
|
|
4579
|
-
```Python
|
|
4580
|
-
# 示例代码
|
|
4581
|
-
from qtmodel import *
|
|
4582
|
-
cdb.get_steel_box_check_schema()
|
|
4583
|
-
#Returns:
|
|
4584
|
-
```
|
|
4585
4568
|
## steel box stress check
|
|
4586
4569
|
### add_steel_box_stress_check
|
|
4587
4570
|
添加钢箱梁应力验算工况。
|
|
@@ -4596,16 +4579,6 @@ from qtmodel import *
|
|
|
4596
4579
|
cdb.add_steel_box_stress_check(name="应力验算1", structure_group_name="钢箱梁组", material_id=1)
|
|
4597
4580
|
#Returns:
|
|
4598
4581
|
```
|
|
4599
|
-
### add_steel_box_stress_check_case
|
|
4600
|
-
add_steel_box_stress_check 的别名。
|
|
4601
|
-
> 参数:
|
|
4602
|
-
> **kwargs: 与 add_steel_box_stress_check 完全一致的参数。
|
|
4603
|
-
```Python
|
|
4604
|
-
# 示例代码
|
|
4605
|
-
from qtmodel import *
|
|
4606
|
-
cdb.add_steel_box_stress_check_case(...)
|
|
4607
|
-
#Returns:
|
|
4608
|
-
```
|
|
4609
4582
|
### remove_steel_box_stress_check
|
|
4610
4583
|
删除钢箱梁应力验算工况。
|
|
4611
4584
|
> 参数:
|
|
@@ -4616,16 +4589,6 @@ from qtmodel import *
|
|
|
4616
4589
|
cdb.remove_steel_box_stress_check(name="应力验算1")
|
|
4617
4590
|
#Returns:
|
|
4618
4591
|
```
|
|
4619
|
-
### remove_steel_box_stress_check_case
|
|
4620
|
-
remove_steel_box_stress_check 的别名。
|
|
4621
|
-
> 参数:
|
|
4622
|
-
> name: 要删除的应力验算工况名称。
|
|
4623
|
-
```Python
|
|
4624
|
-
# 示例代码
|
|
4625
|
-
from qtmodel import *
|
|
4626
|
-
cdb.remove_steel_box_stress_check_case(name="应力验算1")
|
|
4627
|
-
#Returns:
|
|
4628
|
-
```
|
|
4629
4592
|
### delete_steel_box_stress_check
|
|
4630
4593
|
删除钢箱梁应力验算工况。
|
|
4631
4594
|
> 参数:
|
|
@@ -4636,18 +4599,8 @@ from qtmodel import *
|
|
|
4636
4599
|
cdb.delete_steel_box_stress_check(name="应力验算1")
|
|
4637
4600
|
#Returns:
|
|
4638
4601
|
```
|
|
4639
|
-
### refresh_steel_box_stress_check_default_data
|
|
4640
|
-
从当前模型刷新应力验算默认数据。
|
|
4641
|
-
> 参数:
|
|
4642
|
-
> name: 应力验算工况名称。
|
|
4643
|
-
```Python
|
|
4644
|
-
# 示例代码
|
|
4645
|
-
from qtmodel import *
|
|
4646
|
-
cdb.refresh_steel_box_stress_check_default_data(name="应力验算1")
|
|
4647
|
-
#Returns:
|
|
4648
|
-
```
|
|
4649
4602
|
### import_steel_box_stress_check_default_data
|
|
4650
|
-
|
|
4603
|
+
从当前模型刷新应力验算默认数据。
|
|
4651
4604
|
> 参数:
|
|
4652
4605
|
> name: 应力验算工况名称。
|
|
4653
4606
|
```Python
|
|
@@ -4723,22 +4676,8 @@ from qtmodel import *
|
|
|
4723
4676
|
cdb.update_steel_box_stress_second_system_info(name="应力验算1")
|
|
4724
4677
|
#Returns:
|
|
4725
4678
|
```
|
|
4726
|
-
### update_steel_box_stress_support_infos
|
|
4727
|
-
更新局部支承承压验算输入数据。
|
|
4728
|
-
> 参数:
|
|
4729
|
-
> name: 应力验算工况名称。
|
|
4730
|
-
> support_data: 支承数据二维数组,每行格式为
|
|
4731
|
-
> [node_id, rv, rib_ns, rib_bs, rib_t, rib_b, tw, tf,
|
|
4732
|
-
> a, b, pad_t, as, beb, bev, gama, equality_press_factor, calc_by_user]。
|
|
4733
|
-
> length_unit: support_data 中长度、面积等几何参数的基础长度单位,默认 mm。
|
|
4734
|
-
```Python
|
|
4735
|
-
# 示例代码
|
|
4736
|
-
from qtmodel import *
|
|
4737
|
-
cdb.update_steel_box_stress_support_infos(name="应力验算1", support_data=[[...]])
|
|
4738
|
-
#Returns:
|
|
4739
|
-
```
|
|
4740
4679
|
### update_steel_box_stress_support_info
|
|
4741
|
-
|
|
4680
|
+
更新局部支承承压验算输入数据。
|
|
4742
4681
|
> 参数:
|
|
4743
4682
|
> name: 应力验算工况名称。
|
|
4744
4683
|
> support_data: 支承数据二维数组,格式同 update_steel_box_stress_support_infos。
|
|
@@ -4761,7 +4700,7 @@ cdb.calculate_steel_box_stress_support_infos(name="应力验算1")
|
|
|
4761
4700
|
#Returns:
|
|
4762
4701
|
```
|
|
4763
4702
|
### calc_steel_box_stress_support_infos
|
|
4764
|
-
|
|
4703
|
+
计算局部支承承压验算结果。
|
|
4765
4704
|
> 参数:
|
|
4766
4705
|
> name: 应力验算工况名称。
|
|
4767
4706
|
> user_define: 是否使用用户自定义输入;0 使用程序默认或模型数据,1 使用用户输入。
|
|
@@ -4837,48 +4776,8 @@ from qtmodel import *
|
|
|
4837
4776
|
cdb.import_steel_box_stress_fatigue_point_info(name="应力验算1")
|
|
4838
4777
|
#Returns:
|
|
4839
4778
|
```
|
|
4840
|
-
### calculate_steel_box_stress_normal_result
|
|
4841
|
-
计算正应力强度验算结果。
|
|
4842
|
-
> 参数:
|
|
4843
|
-
> name: 应力验算工况名称。
|
|
4844
|
-
```Python
|
|
4845
|
-
# 示例代码
|
|
4846
|
-
from qtmodel import *
|
|
4847
|
-
cdb.calculate_steel_box_stress_normal_result(name="应力验算1")
|
|
4848
|
-
#Returns:
|
|
4849
|
-
```
|
|
4850
|
-
### calculate_steel_box_stress_shear_result
|
|
4851
|
-
计算剪应力强度验算结果。
|
|
4852
|
-
> 参数:
|
|
4853
|
-
> name: 应力验算工况名称。
|
|
4854
|
-
```Python
|
|
4855
|
-
# 示例代码
|
|
4856
|
-
from qtmodel import *
|
|
4857
|
-
cdb.calculate_steel_box_stress_shear_result(name="应力验算1")
|
|
4858
|
-
#Returns:
|
|
4859
|
-
```
|
|
4860
|
-
### calculate_steel_box_stress_reduced_result
|
|
4861
|
-
计算折减应力验算结果。
|
|
4862
|
-
> 参数:
|
|
4863
|
-
> name: 应力验算工况名称。
|
|
4864
|
-
```Python
|
|
4865
|
-
# 示例代码
|
|
4866
|
-
from qtmodel import *
|
|
4867
|
-
cdb.calculate_steel_box_stress_reduced_result(name="应力验算1")
|
|
4868
|
-
#Returns:
|
|
4869
|
-
```
|
|
4870
|
-
### calculate_steel_box_stress_fatigue_result
|
|
4871
|
-
计算疲劳验算结果。
|
|
4872
|
-
> 参数:
|
|
4873
|
-
> name: 应力验算工况名称。
|
|
4874
|
-
```Python
|
|
4875
|
-
# 示例代码
|
|
4876
|
-
from qtmodel import *
|
|
4877
|
-
cdb.calculate_steel_box_stress_fatigue_result(name="应力验算1")
|
|
4878
|
-
#Returns:
|
|
4879
|
-
```
|
|
4880
4779
|
### calc_steel_box_stress_normal_result
|
|
4881
|
-
|
|
4780
|
+
计算正应力强度验算结果。
|
|
4882
4781
|
> 参数:
|
|
4883
4782
|
> name: 应力验算工况名称。
|
|
4884
4783
|
```Python
|
|
@@ -4888,7 +4787,7 @@ cdb.calc_steel_box_stress_normal_result(name="应力验算1")
|
|
|
4888
4787
|
#Returns:
|
|
4889
4788
|
```
|
|
4890
4789
|
### calc_steel_box_stress_shear_result
|
|
4891
|
-
|
|
4790
|
+
计算剪应力强度验算结果。
|
|
4892
4791
|
> 参数:
|
|
4893
4792
|
> name: 应力验算工况名称。
|
|
4894
4793
|
```Python
|
|
@@ -4898,7 +4797,7 @@ cdb.calc_steel_box_stress_shear_result(name="应力验算1")
|
|
|
4898
4797
|
#Returns:
|
|
4899
4798
|
```
|
|
4900
4799
|
### calc_steel_box_stress_reduced_result
|
|
4901
|
-
|
|
4800
|
+
计算折减应力验算结果。
|
|
4902
4801
|
> 参数:
|
|
4903
4802
|
> name: 应力验算工况名称。
|
|
4904
4803
|
```Python
|
|
@@ -4908,7 +4807,7 @@ cdb.calc_steel_box_stress_reduced_result(name="应力验算1")
|
|
|
4908
4807
|
#Returns:
|
|
4909
4808
|
```
|
|
4910
4809
|
### calc_steel_box_stress_fatigue_result
|
|
4911
|
-
|
|
4810
|
+
钢箱梁应力检算疲劳结果获取
|
|
4912
4811
|
> 参数:
|
|
4913
4812
|
> name: 应力验算工况名称。
|
|
4914
4813
|
```Python
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|