qtmodel 0.5.25__tar.gz → 0.5.26__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.5.25 → qtmodel-0.5.26}/PKG-INFO +5 -5
- {qtmodel-0.5.25 → qtmodel-0.5.26}/README.md +4 -4
- {qtmodel-0.5.25 → qtmodel-0.5.26}/qtmodel/qt_mdb.py +6 -6
- {qtmodel-0.5.25 → qtmodel-0.5.26}/qtmodel.egg-info/PKG-INFO +5 -5
- {qtmodel-0.5.25 → qtmodel-0.5.26}/setup.py +1 -1
- {qtmodel-0.5.25 → qtmodel-0.5.26}/qtmodel/__init__.py +0 -0
- {qtmodel-0.5.25 → qtmodel-0.5.26}/qtmodel/qt_db.py +0 -0
- {qtmodel-0.5.25 → qtmodel-0.5.26}/qtmodel/qt_odb.py +0 -0
- {qtmodel-0.5.25 → qtmodel-0.5.26}/qtmodel.egg-info/SOURCES.txt +0 -0
- {qtmodel-0.5.25 → qtmodel-0.5.26}/qtmodel.egg-info/dependency_links.txt +0 -0
- {qtmodel-0.5.25 → qtmodel-0.5.26}/qtmodel.egg-info/top_level.txt +0 -0
- {qtmodel-0.5.25 → qtmodel-0.5.26}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: qtmodel
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.26
|
|
4
4
|
Summary: python modeling for qt 24/10/22
|
|
5
5
|
Home-page: https://github.com/Inface0443/pyqt
|
|
6
6
|
Author: dqy-zhj
|
|
@@ -12,9 +12,9 @@ Classifier: Programming Language :: Python :: 3
|
|
|
12
12
|
Classifier: Operating System :: OS Independent
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
|
|
15
|
-
# 最新版本 V0.5.
|
|
15
|
+
# 最新版本 V0.5.26 - 2024.10.23
|
|
16
16
|
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
17
|
-
-
|
|
17
|
+
- 修复截面偏心
|
|
18
18
|
## 项目管理
|
|
19
19
|
### update_bim
|
|
20
20
|
刷新Bim模型信息
|
|
@@ -523,8 +523,8 @@ Returns: 无
|
|
|
523
523
|
> bias_type:偏心类型 默认中心
|
|
524
524
|
> center_type:中心类型 默认质心
|
|
525
525
|
> shear_consider:考虑剪切 bool 默认考虑剪切变形
|
|
526
|
-
> bias_x:自定义偏心点x坐标 (
|
|
527
|
-
> bias_y:自定义偏心点y坐标 (
|
|
526
|
+
> bias_x:自定义偏心点x坐标 (仅自定义类型偏心需要,相对于质心偏移)
|
|
527
|
+
> bias_y:自定义偏心点y坐标 (仅自定义类型偏心需要,相对于质心偏移)
|
|
528
528
|
```Python
|
|
529
529
|
# 示例代码
|
|
530
530
|
from qtmodel import *
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# 最新版本 V0.5.
|
|
1
|
+
# 最新版本 V0.5.26 - 2024.10.23
|
|
2
2
|
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
3
|
-
-
|
|
3
|
+
- 修复截面偏心
|
|
4
4
|
## 项目管理
|
|
5
5
|
### update_bim
|
|
6
6
|
刷新Bim模型信息
|
|
@@ -509,8 +509,8 @@ Returns: 无
|
|
|
509
509
|
> bias_type:偏心类型 默认中心
|
|
510
510
|
> center_type:中心类型 默认质心
|
|
511
511
|
> shear_consider:考虑剪切 bool 默认考虑剪切变形
|
|
512
|
-
> bias_x:自定义偏心点x坐标 (
|
|
513
|
-
> bias_y:自定义偏心点y坐标 (
|
|
512
|
+
> bias_x:自定义偏心点x坐标 (仅自定义类型偏心需要,相对于质心偏移)
|
|
513
|
+
> bias_y:自定义偏心点y坐标 (仅自定义类型偏心需要,相对于质心偏移)
|
|
514
514
|
```Python
|
|
515
515
|
# 示例代码
|
|
516
516
|
from qtmodel import *
|
|
@@ -857,8 +857,8 @@ class Mdb:
|
|
|
857
857
|
bias_type:偏心类型 默认中心
|
|
858
858
|
center_type:中心类型 默认质心
|
|
859
859
|
shear_consider:考虑剪切 bool 默认考虑剪切变形
|
|
860
|
-
bias_x:自定义偏心点x坐标 (
|
|
861
|
-
bias_y:自定义偏心点y坐标 (
|
|
860
|
+
bias_x:自定义偏心点x坐标 (仅自定义类型偏心需要,相对于质心偏移)
|
|
861
|
+
bias_y:自定义偏心点y坐标 (仅自定义类型偏心需要,相对于质心偏移)
|
|
862
862
|
Example:
|
|
863
863
|
mdb.add_section(name="截面1",sec_type="矩形",sec_info=[2,4],bias_type="中心")
|
|
864
864
|
mdb.add_section(name="截面2",sec_type="混凝土箱梁",box_height=2,box_num=3,
|
|
@@ -876,24 +876,24 @@ class Mdb:
|
|
|
876
876
|
qt_model.AddSection(id=index, name=name, secType=sec_type, secInfo=sec_info, charmInfo=charm_info,
|
|
877
877
|
symmetry=symmetry, boxNum=box_num, H=box_height, charmInfoR=charm_right, secInfoR=sec_right,
|
|
878
878
|
biasType=bias_type, centerType=center_type, shearConsider=shear_consider,
|
|
879
|
-
|
|
879
|
+
biasX=bias_x, biasY=bias_y)
|
|
880
880
|
elif sec_type == "工字钢梁" or sec_type == "箱型钢梁":
|
|
881
881
|
rib_names = list(rib_info.keys())
|
|
882
882
|
rib_data = list(rib_info.values())
|
|
883
883
|
qt_model.AddSection(id=index, name=name, secType=sec_type, secInfo=sec_info,
|
|
884
884
|
ribNameList=rib_names, ribInfoList=rib_data,
|
|
885
885
|
ribPlaceList=rib_place, biasType=bias_type, centerType=center_type,
|
|
886
|
-
shearConsider=shear_consider,
|
|
886
|
+
shearConsider=shear_consider, biasX=bias_x, biasY=bias_y)
|
|
887
887
|
elif sec_type == "特性截面" or sec_type.startswith("自定义"):
|
|
888
888
|
qt_model.AddSection(id=index, name=name, secType=sec_type, secInfo=sec_info, biasType=bias_type,
|
|
889
889
|
loopSegments=loop_segments, secLines=sec_lines,
|
|
890
890
|
secondaryLoopSegments=secondary_loop_segments, matCombine=mat_combine,
|
|
891
891
|
shearConsider=shear_consider, centerType=center_type,
|
|
892
|
-
|
|
892
|
+
biasX=bias_x, biasY=bias_y)
|
|
893
893
|
else:
|
|
894
894
|
qt_model.AddSection(id=index, name=name, secType=sec_type, secInfo=sec_info, matCombine=mat_combine,
|
|
895
895
|
biasType=bias_type, centerType=center_type, shearConsider=shear_consider,
|
|
896
|
-
|
|
896
|
+
biasX=bias_x, biasY=bias_y)
|
|
897
897
|
except Exception as ex:
|
|
898
898
|
raise Exception(ex)
|
|
899
899
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: qtmodel
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.26
|
|
4
4
|
Summary: python modeling for qt 24/10/22
|
|
5
5
|
Home-page: https://github.com/Inface0443/pyqt
|
|
6
6
|
Author: dqy-zhj
|
|
@@ -12,9 +12,9 @@ Classifier: Programming Language :: Python :: 3
|
|
|
12
12
|
Classifier: Operating System :: OS Independent
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
|
|
15
|
-
# 最新版本 V0.5.
|
|
15
|
+
# 最新版本 V0.5.26 - 2024.10.23
|
|
16
16
|
> pip install --upgrade qtmodel -i https://pypi.org/simple
|
|
17
|
-
-
|
|
17
|
+
- 修复截面偏心
|
|
18
18
|
## 项目管理
|
|
19
19
|
### update_bim
|
|
20
20
|
刷新Bim模型信息
|
|
@@ -523,8 +523,8 @@ Returns: 无
|
|
|
523
523
|
> bias_type:偏心类型 默认中心
|
|
524
524
|
> center_type:中心类型 默认质心
|
|
525
525
|
> shear_consider:考虑剪切 bool 默认考虑剪切变形
|
|
526
|
-
> bias_x:自定义偏心点x坐标 (
|
|
527
|
-
> bias_y:自定义偏心点y坐标 (
|
|
526
|
+
> bias_x:自定义偏心点x坐标 (仅自定义类型偏心需要,相对于质心偏移)
|
|
527
|
+
> bias_y:自定义偏心点y坐标 (仅自定义类型偏心需要,相对于质心偏移)
|
|
528
528
|
```Python
|
|
529
529
|
# 示例代码
|
|
530
530
|
from qtmodel import *
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|