qtmodel 0.6.10__tar.gz → 0.6.12__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.
- {qtmodel-0.6.10 → qtmodel-0.6.12}/PKG-INFO +10 -8
- {qtmodel-0.6.10 → qtmodel-0.6.12}/README.md +8 -6
- {qtmodel-0.6.10 → qtmodel-0.6.12}/qtmodel/qt_mdb.py +8 -4
- {qtmodel-0.6.10 → qtmodel-0.6.12}/qtmodel/qt_odb.py +19 -19
- {qtmodel-0.6.10 → qtmodel-0.6.12}/qtmodel.egg-info/PKG-INFO +10 -8
- {qtmodel-0.6.10 → qtmodel-0.6.12}/setup.py +3 -1
- {qtmodel-0.6.10 → qtmodel-0.6.12}/qtmodel/__init__.py +0 -0
- {qtmodel-0.6.10 → qtmodel-0.6.12}/qtmodel/qt_db.py +0 -0
- {qtmodel-0.6.10 → qtmodel-0.6.12}/qtmodel.egg-info/SOURCES.txt +0 -0
- {qtmodel-0.6.10 → qtmodel-0.6.12}/qtmodel.egg-info/dependency_links.txt +0 -0
- {qtmodel-0.6.10 → qtmodel-0.6.12}/qtmodel.egg-info/top_level.txt +0 -0
- {qtmodel-0.6.10 → qtmodel-0.6.12}/setup.cfg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: qtmodel
|
|
3
|
-
Version: 0.6.
|
|
4
|
-
Summary: python modeling for qt 2025-
|
|
3
|
+
Version: 0.6.12
|
|
4
|
+
Summary: python modeling for qt 2025-04-27
|
|
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.6.
|
|
15
|
+
> 最新版本 V0.6.12 - 2025-04-27
|
|
16
16
|
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
17
17
|
- 新增部分接口
|
|
18
18
|
# 建模操作
|
|
@@ -2262,6 +2262,8 @@ Returns: 无
|
|
|
2262
2262
|
> tension:初始拉力
|
|
2263
2263
|
> tension_type:张拉类型 0-增量 1-全量
|
|
2264
2264
|
> group_name:荷载组名
|
|
2265
|
+
> application_type:计算方式 1-体外力 2-体内力 3-转为索长张拉
|
|
2266
|
+
> stiffness:索刚度参与系数
|
|
2265
2267
|
```Python
|
|
2266
2268
|
# 示例代码
|
|
2267
2269
|
from qtmodel import *
|
|
@@ -3656,7 +3658,7 @@ Returns: json字符串,包含信息为list[dict]
|
|
|
3656
3658
|
from qtmodel import *
|
|
3657
3659
|
odb.get_elastic_link_data()
|
|
3658
3660
|
```
|
|
3659
|
-
Returns: json字符串,包含信息为list[dict]
|
|
3661
|
+
Returns: json字符串,包含信息为list[dict]或 dict
|
|
3660
3662
|
### get_elastic_support_data
|
|
3661
3663
|
获取弹性支承信息
|
|
3662
3664
|
> 参数:
|
|
@@ -3666,7 +3668,7 @@ Returns: json字符串,包含信息为list[dict]
|
|
|
3666
3668
|
from qtmodel import *
|
|
3667
3669
|
odb.get_elastic_support_data()
|
|
3668
3670
|
```
|
|
3669
|
-
Returns: json字符串,包含信息为list[dict]
|
|
3671
|
+
Returns: json字符串,包含信息为list[dict]或 dict
|
|
3670
3672
|
### get_master_slave_link_data
|
|
3671
3673
|
获取主从连接信息
|
|
3672
3674
|
> 参数:
|
|
@@ -3676,7 +3678,7 @@ Returns: json字符串,包含信息为list[dict]
|
|
|
3676
3678
|
from qtmodel import *
|
|
3677
3679
|
odb.get_master_slave_link_data()
|
|
3678
3680
|
```
|
|
3679
|
-
Returns: json字符串,包含信息为list[dict]
|
|
3681
|
+
Returns: json字符串,包含信息为list[dict]或 dict
|
|
3680
3682
|
### get_node_local_axis_data
|
|
3681
3683
|
获取节点坐标信息
|
|
3682
3684
|
> 参数:
|
|
@@ -3695,7 +3697,7 @@ Returns: json字符串,包含信息为list[dict]
|
|
|
3695
3697
|
from qtmodel import *
|
|
3696
3698
|
odb.get_beam_constraint_data()
|
|
3697
3699
|
```
|
|
3698
|
-
Returns: json字符串,包含信息为list[dict]
|
|
3700
|
+
Returns: json字符串,包含信息为list[dict]或 dict
|
|
3699
3701
|
### get_constraint_equation_data
|
|
3700
3702
|
获取约束方程信息
|
|
3701
3703
|
> 参数:
|
|
@@ -3705,7 +3707,7 @@ Returns: json字符串,包含信息为list[dict]
|
|
|
3705
3707
|
from qtmodel import *
|
|
3706
3708
|
odb.get_constraint_equation_data()
|
|
3707
3709
|
```
|
|
3708
|
-
Returns: json字符串,包含信息为list[dict]
|
|
3710
|
+
Returns: json字符串,包含信息为list[dict]或 dict
|
|
3709
3711
|
## 获取施工阶段信息
|
|
3710
3712
|
### get_stage_name
|
|
3711
3713
|
获取所有施工阶段名称
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
> 最新版本 V0.6.
|
|
1
|
+
> 最新版本 V0.6.12 - 2025-04-27
|
|
2
2
|
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
3
3
|
- 新增部分接口
|
|
4
4
|
# 建模操作
|
|
@@ -2248,6 +2248,8 @@ Returns: 无
|
|
|
2248
2248
|
> tension:初始拉力
|
|
2249
2249
|
> tension_type:张拉类型 0-增量 1-全量
|
|
2250
2250
|
> group_name:荷载组名
|
|
2251
|
+
> application_type:计算方式 1-体外力 2-体内力 3-转为索长张拉
|
|
2252
|
+
> stiffness:索刚度参与系数
|
|
2251
2253
|
```Python
|
|
2252
2254
|
# 示例代码
|
|
2253
2255
|
from qtmodel import *
|
|
@@ -3642,7 +3644,7 @@ Returns: json字符串,包含信息为list[dict]
|
|
|
3642
3644
|
from qtmodel import *
|
|
3643
3645
|
odb.get_elastic_link_data()
|
|
3644
3646
|
```
|
|
3645
|
-
Returns: json字符串,包含信息为list[dict]
|
|
3647
|
+
Returns: json字符串,包含信息为list[dict]或 dict
|
|
3646
3648
|
### get_elastic_support_data
|
|
3647
3649
|
获取弹性支承信息
|
|
3648
3650
|
> 参数:
|
|
@@ -3652,7 +3654,7 @@ Returns: json字符串,包含信息为list[dict]
|
|
|
3652
3654
|
from qtmodel import *
|
|
3653
3655
|
odb.get_elastic_support_data()
|
|
3654
3656
|
```
|
|
3655
|
-
Returns: json字符串,包含信息为list[dict]
|
|
3657
|
+
Returns: json字符串,包含信息为list[dict]或 dict
|
|
3656
3658
|
### get_master_slave_link_data
|
|
3657
3659
|
获取主从连接信息
|
|
3658
3660
|
> 参数:
|
|
@@ -3662,7 +3664,7 @@ Returns: json字符串,包含信息为list[dict]
|
|
|
3662
3664
|
from qtmodel import *
|
|
3663
3665
|
odb.get_master_slave_link_data()
|
|
3664
3666
|
```
|
|
3665
|
-
Returns: json字符串,包含信息为list[dict]
|
|
3667
|
+
Returns: json字符串,包含信息为list[dict]或 dict
|
|
3666
3668
|
### get_node_local_axis_data
|
|
3667
3669
|
获取节点坐标信息
|
|
3668
3670
|
> 参数:
|
|
@@ -3681,7 +3683,7 @@ Returns: json字符串,包含信息为list[dict]
|
|
|
3681
3683
|
from qtmodel import *
|
|
3682
3684
|
odb.get_beam_constraint_data()
|
|
3683
3685
|
```
|
|
3684
|
-
Returns: json字符串,包含信息为list[dict]
|
|
3686
|
+
Returns: json字符串,包含信息为list[dict]或 dict
|
|
3685
3687
|
### get_constraint_equation_data
|
|
3686
3688
|
获取约束方程信息
|
|
3687
3689
|
> 参数:
|
|
@@ -3691,7 +3693,7 @@ Returns: json字符串,包含信息为list[dict]
|
|
|
3691
3693
|
from qtmodel import *
|
|
3692
3694
|
odb.get_constraint_equation_data()
|
|
3693
3695
|
```
|
|
3694
|
-
Returns: json字符串,包含信息为list[dict]
|
|
3696
|
+
Returns: json字符串,包含信息为list[dict]或 dict
|
|
3695
3697
|
## 获取施工阶段信息
|
|
3696
3698
|
### get_stage_name
|
|
3697
3699
|
获取所有施工阶段名称
|
|
@@ -1453,7 +1453,7 @@ class Mdb:
|
|
|
1453
1453
|
try:
|
|
1454
1454
|
if sec_type == "混凝土箱梁":
|
|
1455
1455
|
qt_model.AddSection(id=index, name=name, secType=sec_type, secInfo=sec_info, charmInfo=charm_info,
|
|
1456
|
-
symmetry=symmetry, boxNum=box_num, boxHeight=box_height,
|
|
1456
|
+
symmetry=symmetry, boxNum=box_num, boxHeight=box_height, charmRight=charm_right, secRight=sec_right,
|
|
1457
1457
|
biasType=bias_type, centerType=center_type, shearConsider=shear_consider,
|
|
1458
1458
|
biasX=bias_x, biasY=bias_y, secProperty=sec_property)
|
|
1459
1459
|
elif sec_type == "工字钢梁" or sec_type == "箱型钢梁":
|
|
@@ -2700,7 +2700,8 @@ class Mdb:
|
|
|
2700
2700
|
try:
|
|
2701
2701
|
if info_x is None and info_y is None and info_z is None:
|
|
2702
2702
|
raise Exception("添加反应谱函数错误,无反应谱分项信息")
|
|
2703
|
-
qt_model.AddResponseSpectrumCase(name=name, description=description, kind=kind,
|
|
2703
|
+
qt_model.AddResponseSpectrumCase(name=name, description=description, kind=kind,
|
|
2704
|
+
infoX=info_x, infoY=info_y, infoZ=info_z)
|
|
2704
2705
|
except Exception as ex:
|
|
2705
2706
|
raise Exception(ex)
|
|
2706
2707
|
|
|
@@ -3573,7 +3574,7 @@ class Mdb:
|
|
|
3573
3574
|
|
|
3574
3575
|
@staticmethod
|
|
3575
3576
|
def add_initial_tension_load(element_id: (Union[int, List[int]]) = 1, case_name: str = "", group_name: str = "默认荷载组", tension: float = 0,
|
|
3576
|
-
tension_type: int = 1):
|
|
3577
|
+
tension_type: int = 1,application_type:int=1,stiffness:float=0):
|
|
3577
3578
|
"""
|
|
3578
3579
|
添加初始拉力
|
|
3579
3580
|
Args:
|
|
@@ -3582,12 +3583,15 @@ class Mdb:
|
|
|
3582
3583
|
tension:初始拉力
|
|
3583
3584
|
tension_type:张拉类型 0-增量 1-全量
|
|
3584
3585
|
group_name:荷载组名
|
|
3586
|
+
application_type:计算方式 1-体外力 2-体内力 3-转为索长张拉
|
|
3587
|
+
stiffness:索刚度参与系数
|
|
3585
3588
|
Example:
|
|
3586
3589
|
mdb.add_initial_tension_load(element_id=1,case_name="工况1",tension=100,tension_type=1)
|
|
3587
3590
|
Returns: 无
|
|
3588
3591
|
"""
|
|
3589
3592
|
try:
|
|
3590
|
-
qt_model.AddInitialTensionLoad(elementId=element_id, caseName=case_name, tension=tension,
|
|
3593
|
+
qt_model.AddInitialTensionLoad(elementId=element_id, caseName=case_name, tension=tension, applicationType=application_type,
|
|
3594
|
+
stiffness=stiffness,tensionType=tension_type, groupName=group_name)
|
|
3591
3595
|
except Exception as ex:
|
|
3592
3596
|
raise Exception(ex)
|
|
3593
3597
|
|
|
@@ -356,7 +356,7 @@ class Odb:
|
|
|
356
356
|
"""
|
|
357
357
|
try:
|
|
358
358
|
res_dict = qt_model.GetSelfConcurrentReaction(nodeId=node_id, loadCaseName=case_name)
|
|
359
|
-
return
|
|
359
|
+
return res_dict
|
|
360
360
|
except Exception as ex:
|
|
361
361
|
raise Exception(ex)
|
|
362
362
|
|
|
@@ -373,7 +373,7 @@ class Odb:
|
|
|
373
373
|
"""
|
|
374
374
|
try:
|
|
375
375
|
res_dict = qt_model.GetAllConcurrentReaction(nodeId=node_id, loadCaseName=case_name)
|
|
376
|
-
return
|
|
376
|
+
return res_dict
|
|
377
377
|
except Exception as ex:
|
|
378
378
|
raise Exception(ex)
|
|
379
379
|
|
|
@@ -390,7 +390,7 @@ class Odb:
|
|
|
390
390
|
"""
|
|
391
391
|
try:
|
|
392
392
|
res_dict = qt_model.GetBeamConcurrentForce(eleId=ele_id, loadCaseName=case_name)
|
|
393
|
-
return
|
|
393
|
+
return res_dict
|
|
394
394
|
except Exception as ex:
|
|
395
395
|
raise Exception(ex)
|
|
396
396
|
|
|
@@ -407,7 +407,7 @@ class Odb:
|
|
|
407
407
|
"""
|
|
408
408
|
try:
|
|
409
409
|
res_dict = qt_model.GetCompositeBeamConcurrentForce(eleId=ele_id, loadCaseName=case_name)
|
|
410
|
-
return
|
|
410
|
+
return res_dict
|
|
411
411
|
except Exception as ex:
|
|
412
412
|
raise Exception(ex)
|
|
413
413
|
|
|
@@ -448,7 +448,7 @@ class Odb:
|
|
|
448
448
|
"""
|
|
449
449
|
try:
|
|
450
450
|
res_dict = qt_model.GetPeriodAndFrequency(mode=mode)
|
|
451
|
-
return
|
|
451
|
+
return res_dict
|
|
452
452
|
except Exception as ex:
|
|
453
453
|
raise Exception(ex)
|
|
454
454
|
|
|
@@ -464,7 +464,7 @@ class Odb:
|
|
|
464
464
|
"""
|
|
465
465
|
try:
|
|
466
466
|
res_dict = qt_model.GetParticipationMass(mode=mode)
|
|
467
|
-
return
|
|
467
|
+
return res_dict
|
|
468
468
|
except Exception as ex:
|
|
469
469
|
raise Exception(ex)
|
|
470
470
|
|
|
@@ -480,7 +480,7 @@ class Odb:
|
|
|
480
480
|
"""
|
|
481
481
|
try:
|
|
482
482
|
res_dict = qt_model.GetParticipationFactor(mode=mode)
|
|
483
|
-
return
|
|
483
|
+
return res_dict
|
|
484
484
|
except Exception as ex:
|
|
485
485
|
raise Exception(ex)
|
|
486
486
|
|
|
@@ -972,7 +972,7 @@ class Odb:
|
|
|
972
972
|
Returns: json字符串,包含信息为list[int]
|
|
973
973
|
"""
|
|
974
974
|
try:
|
|
975
|
-
qt_result = qt_model.
|
|
975
|
+
qt_result = qt_model.GetElementsByPoint(x=x, y=y, z=z, tolerance=tolerance)
|
|
976
976
|
result = list(qt_result)
|
|
977
977
|
return json.dumps(result)
|
|
978
978
|
except Exception as ex:
|
|
@@ -989,7 +989,7 @@ class Odb:
|
|
|
989
989
|
Returns: json字符串,包含信息为list[int]
|
|
990
990
|
"""
|
|
991
991
|
try:
|
|
992
|
-
qt_result = qt_model.
|
|
992
|
+
qt_result = qt_model.GetElementsByMaterial(name=name)
|
|
993
993
|
result = list(qt_result)
|
|
994
994
|
return json.dumps(result)
|
|
995
995
|
except Exception as ex:
|
|
@@ -1572,7 +1572,7 @@ class Odb:
|
|
|
1572
1572
|
group_name:默认输出所有边界组信息
|
|
1573
1573
|
Example:
|
|
1574
1574
|
odb.get_elastic_link_data()
|
|
1575
|
-
Returns: json字符串,包含信息为list[dict]
|
|
1575
|
+
Returns: json字符串,包含信息为list[dict]或 dict
|
|
1576
1576
|
"""
|
|
1577
1577
|
try:
|
|
1578
1578
|
res_list = []
|
|
@@ -1587,7 +1587,7 @@ class Odb:
|
|
|
1587
1587
|
start_id=data.StartNode.Id, end_id=data.EndNode.Id, beta_angle=data.Beta,
|
|
1588
1588
|
boundary_info=(data.Kx, data.Ky, data.Kz, data.Krx, data.Kry, data.Krz),
|
|
1589
1589
|
group_name=group, dis_ratio=data.DistanceRatio, kx=data.Kx)))
|
|
1590
|
-
return json.dumps(res_list)
|
|
1590
|
+
return json.dumps(res_list) if len(res_list) > 1 else res_list[0]
|
|
1591
1591
|
except Exception as ex:
|
|
1592
1592
|
raise Exception(ex)
|
|
1593
1593
|
|
|
@@ -1599,7 +1599,7 @@ class Odb:
|
|
|
1599
1599
|
group_name:默认输出所有边界组信息
|
|
1600
1600
|
Example:
|
|
1601
1601
|
odb.get_elastic_support_data()
|
|
1602
|
-
Returns: json字符串,包含信息为list[dict]
|
|
1602
|
+
Returns: json字符串,包含信息为list[dict]或 dict
|
|
1603
1603
|
"""
|
|
1604
1604
|
try:
|
|
1605
1605
|
res_list = []
|
|
@@ -1613,7 +1613,7 @@ class Odb:
|
|
|
1613
1613
|
res_list.append(str(ElasticSupport(support_id=data.Id, node_id=data.Node.Id, support_type=int(data.Type) + 1,
|
|
1614
1614
|
boundary_info=(data.Kx, data.Ky, data.Kz, data.Krx, data.Kry, data.Krz),
|
|
1615
1615
|
group_name=group, node_system=int(data.NodalCoordinateSystem))))
|
|
1616
|
-
return json.dumps(res_list)
|
|
1616
|
+
return json.dumps(res_list) if len(res_list) > 1 else res_list[0]
|
|
1617
1617
|
except Exception as ex:
|
|
1618
1618
|
raise Exception(ex)
|
|
1619
1619
|
|
|
@@ -1625,7 +1625,7 @@ class Odb:
|
|
|
1625
1625
|
group_name:默认输出所有边界组信息
|
|
1626
1626
|
Example:
|
|
1627
1627
|
odb.get_master_slave_link_data()
|
|
1628
|
-
Returns: json字符串,包含信息为list[dict]
|
|
1628
|
+
Returns: json字符串,包含信息为list[dict]或 dict
|
|
1629
1629
|
"""
|
|
1630
1630
|
try:
|
|
1631
1631
|
res_list = []
|
|
@@ -1640,7 +1640,7 @@ class Odb:
|
|
|
1640
1640
|
boundary_info=(data.IsFixedX, data.IsFixedY, data.IsFixedZ,
|
|
1641
1641
|
data.IsFixedRx, data.IsFixedRy, data.IsFixedRZ),
|
|
1642
1642
|
group_name=group)))
|
|
1643
|
-
return json.dumps(res_list)
|
|
1643
|
+
return json.dumps(res_list) if len(res_list) > 1 else res_list[0]
|
|
1644
1644
|
except Exception as ex:
|
|
1645
1645
|
raise Exception(ex)
|
|
1646
1646
|
|
|
@@ -1672,7 +1672,7 @@ class Odb:
|
|
|
1672
1672
|
group_name:默认输出所有边界组信息
|
|
1673
1673
|
Example:
|
|
1674
1674
|
odb.get_beam_constraint_data()
|
|
1675
|
-
Returns: json字符串,包含信息为list[dict]
|
|
1675
|
+
Returns: json字符串,包含信息为list[dict]或 dict
|
|
1676
1676
|
"""
|
|
1677
1677
|
try:
|
|
1678
1678
|
res_list = []
|
|
@@ -1688,7 +1688,7 @@ class Odb:
|
|
|
1688
1688
|
info_j = (
|
|
1689
1689
|
not data.IsJFreedX, not data.IsJFreedY, not data.IsJFreedZ, not data.IsJFreedRx, not data.IsJFreedRy, not data.IsJFreedRZ)
|
|
1690
1690
|
res_list.append(str(BeamConstraint(constraint_id=data.Id, beam_id=data.Beam.Id, info_i=info_i, info_j=info_j, group_name=group)))
|
|
1691
|
-
return json.dumps(res_list)
|
|
1691
|
+
return json.dumps(res_list) if len(res_list) > 1 else res_list[0]
|
|
1692
1692
|
except Exception as ex:
|
|
1693
1693
|
raise Exception(ex)
|
|
1694
1694
|
|
|
@@ -1700,7 +1700,7 @@ class Odb:
|
|
|
1700
1700
|
group_name:默认输出所有边界组信息
|
|
1701
1701
|
Example:
|
|
1702
1702
|
odb.get_constraint_equation_data()
|
|
1703
|
-
Returns: json字符串,包含信息为list[dict]
|
|
1703
|
+
Returns: json字符串,包含信息为list[dict]或 dict
|
|
1704
1704
|
"""
|
|
1705
1705
|
try:
|
|
1706
1706
|
res_list = []
|
|
@@ -1717,7 +1717,7 @@ class Odb:
|
|
|
1717
1717
|
res_list.append(
|
|
1718
1718
|
str(ConstraintEquation(data.Id, name=data.Name, sec_node=data.SecondaryNode.Id, sec_dof=int(data.SecondaryDof) + 1,
|
|
1719
1719
|
master_info=master_info, group_name=group)))
|
|
1720
|
-
return json.dumps(res_list)
|
|
1720
|
+
return json.dumps(res_list) if len(res_list) > 1 else res_list[0]
|
|
1721
1721
|
except Exception as ex:
|
|
1722
1722
|
raise Exception(ex)
|
|
1723
1723
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: qtmodel
|
|
3
|
-
Version: 0.6.
|
|
4
|
-
Summary: python modeling for qt 2025-
|
|
3
|
+
Version: 0.6.12
|
|
4
|
+
Summary: python modeling for qt 2025-04-27
|
|
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.6.
|
|
15
|
+
> 最新版本 V0.6.12 - 2025-04-27
|
|
16
16
|
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
17
17
|
- 新增部分接口
|
|
18
18
|
# 建模操作
|
|
@@ -2262,6 +2262,8 @@ Returns: 无
|
|
|
2262
2262
|
> tension:初始拉力
|
|
2263
2263
|
> tension_type:张拉类型 0-增量 1-全量
|
|
2264
2264
|
> group_name:荷载组名
|
|
2265
|
+
> application_type:计算方式 1-体外力 2-体内力 3-转为索长张拉
|
|
2266
|
+
> stiffness:索刚度参与系数
|
|
2265
2267
|
```Python
|
|
2266
2268
|
# 示例代码
|
|
2267
2269
|
from qtmodel import *
|
|
@@ -3656,7 +3658,7 @@ Returns: json字符串,包含信息为list[dict]
|
|
|
3656
3658
|
from qtmodel import *
|
|
3657
3659
|
odb.get_elastic_link_data()
|
|
3658
3660
|
```
|
|
3659
|
-
Returns: json字符串,包含信息为list[dict]
|
|
3661
|
+
Returns: json字符串,包含信息为list[dict]或 dict
|
|
3660
3662
|
### get_elastic_support_data
|
|
3661
3663
|
获取弹性支承信息
|
|
3662
3664
|
> 参数:
|
|
@@ -3666,7 +3668,7 @@ Returns: json字符串,包含信息为list[dict]
|
|
|
3666
3668
|
from qtmodel import *
|
|
3667
3669
|
odb.get_elastic_support_data()
|
|
3668
3670
|
```
|
|
3669
|
-
Returns: json字符串,包含信息为list[dict]
|
|
3671
|
+
Returns: json字符串,包含信息为list[dict]或 dict
|
|
3670
3672
|
### get_master_slave_link_data
|
|
3671
3673
|
获取主从连接信息
|
|
3672
3674
|
> 参数:
|
|
@@ -3676,7 +3678,7 @@ Returns: json字符串,包含信息为list[dict]
|
|
|
3676
3678
|
from qtmodel import *
|
|
3677
3679
|
odb.get_master_slave_link_data()
|
|
3678
3680
|
```
|
|
3679
|
-
Returns: json字符串,包含信息为list[dict]
|
|
3681
|
+
Returns: json字符串,包含信息为list[dict]或 dict
|
|
3680
3682
|
### get_node_local_axis_data
|
|
3681
3683
|
获取节点坐标信息
|
|
3682
3684
|
> 参数:
|
|
@@ -3695,7 +3697,7 @@ Returns: json字符串,包含信息为list[dict]
|
|
|
3695
3697
|
from qtmodel import *
|
|
3696
3698
|
odb.get_beam_constraint_data()
|
|
3697
3699
|
```
|
|
3698
|
-
Returns: json字符串,包含信息为list[dict]
|
|
3700
|
+
Returns: json字符串,包含信息为list[dict]或 dict
|
|
3699
3701
|
### get_constraint_equation_data
|
|
3700
3702
|
获取约束方程信息
|
|
3701
3703
|
> 参数:
|
|
@@ -3705,7 +3707,7 @@ Returns: json字符串,包含信息为list[dict]
|
|
|
3705
3707
|
from qtmodel import *
|
|
3706
3708
|
odb.get_constraint_equation_data()
|
|
3707
3709
|
```
|
|
3708
|
-
Returns: json字符串,包含信息为list[dict]
|
|
3710
|
+
Returns: json字符串,包含信息为list[dict]或 dict
|
|
3709
3711
|
## 获取施工阶段信息
|
|
3710
3712
|
### get_stage_name
|
|
3711
3713
|
获取所有施工阶段名称
|
|
@@ -4,12 +4,14 @@ from setuptools import setup, find_packages
|
|
|
4
4
|
# 读取文件内容
|
|
5
5
|
with open("README.md", "r", encoding="utf-8") as fh:
|
|
6
6
|
long_description = fh.read()
|
|
7
|
+
|
|
8
|
+
# set http_proxy= && set https_proxy=
|
|
7
9
|
# python setup.py sdist
|
|
8
10
|
# twine upload dist/*
|
|
9
11
|
|
|
10
12
|
setup(
|
|
11
13
|
name="qtmodel",
|
|
12
|
-
version=f"V0.6.
|
|
14
|
+
version=f"V0.6.12",
|
|
13
15
|
author="dqy-zhj",
|
|
14
16
|
author_email="1105417715@qq.com",
|
|
15
17
|
description=f"python modeling for qt {datetime.now().date()} ",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|