osis-python 0.9.0__tar.gz → 0.9.3__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.
- {osis_python-0.9.0/src/osis_python.egg-info → osis_python-0.9.3}/PKG-INFO +3 -4
- {osis_python-0.9.0 → osis_python-0.9.3}/README.md +2 -3
- {osis_python-0.9.0 → osis_python-0.9.3/src/osis_python.egg-info}/PKG-INFO +3 -4
- {osis_python-0.9.0 → osis_python-0.9.3}/src/osis_python.egg-info/SOURCES.txt +1 -2
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/__init__.py +1 -1
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/control/manager.py +2 -3
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/live/manager.py +35 -20
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/property/manager.py +0 -4
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/result/routes.py +2 -2
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/section/composite.py +2 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/section/manager.py +169 -37
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/section/steel.py +97 -1
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/stage/define.py +6 -3
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/stage/manager.py +9 -3
- osis_python-0.9.3/src/pyosis/transfer/generator.py +131 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/transfer/out_to_python.py +3 -44
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/transfer/parser.py +2 -50
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/transfer/routes.py +23 -130
- {osis_python-0.9.0 → osis_python-0.9.3}/tests/test_manager_field_layout.py +67 -2
- osis_python-0.9.3/tests/test_transfer.py +208 -0
- osis_python-0.9.0/src/pyosis/transfer/generator.py +0 -172
- osis_python-0.9.0/src/pyosis/transfer/introspect.py +0 -149
- osis_python-0.9.0/tests/test_transfer_fixups.py +0 -193
- {osis_python-0.9.0 → osis_python-0.9.3}/LICENSE +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/pyproject.toml +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/setup.cfg +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/osis_python.egg-info/dependency_links.txt +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/osis_python.egg-info/requires.txt +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/osis_python.egg-info/top_level.txt +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/boundary/__init__.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/boundary/interface.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/boundary/manager.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/control/__init__.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/control/control.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/control/io.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/control/nonlinear.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/core/__init__.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/core/all_func.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/core/apdl_sync.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/core/basic_manager.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/core/batch.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/core/client.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/core/command.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/core/engine.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/core/enums.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/core/exceptions.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/core/normalize.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/core/references.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/core/sdk.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/core/solver.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/core/sync_apdl_cli.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/display/__init__.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/display/interface.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/display/manager.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/dynamic/__init__.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/dynamic/load_to_mass.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/dynamic/manager.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/dynamic/modal.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/dynamic/seismic.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/element/__init__.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/element/interface.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/element/manager.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/general/__init__.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/general/interface.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/geometry/__init__.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/geometry/interface.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/geometry/manager.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/live/__init__.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/live/analysis.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/live/grade.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/live/lane.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/load/__init__.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/load/environmental.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/load/loadcase.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/load/manager.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/load/static.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/load/tendon.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/material/__init__.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/material/interface.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/material/manager.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/node/__init__.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/node/interface.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/node/manager.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/post/__init__.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/post/combine.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/post/design_check.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/post/display.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/post/manager.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/project/__init__.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/project/interface.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/project/manager.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/property/__init__.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/property/component_thickness.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/property/coordinate.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/property/creep_shrink.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/property/damping.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/property/pu_curve.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/property/strength_prog.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/quick_building/__init__.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/quick_building/interface.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/result/__init__.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/result/check.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/result/manager.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/section/__init__.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/section/common.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/section/numeric.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/section/param.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/section/rebar.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/section/rib.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/section/shaped_steel.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/settlement/__init__.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/settlement/interface.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/settlement/manager.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/stability/__init__.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/stability/buckling.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/stability/manager.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/stage/__init__.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/stage/overall.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/thickness/__init__.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/thickness/interface.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/thickness/manager.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/transfer/__init__.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/transfer/matrix.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/src/pyosis/transfer/split.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/tests/test_batch.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/tests/test_delete_occupied.py +0 -0
- {osis_python-0.9.0 → osis_python-0.9.3}/tests/test_project_manager.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: osis-python
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.3
|
|
4
4
|
Summary: A Python client library for Osis APDL
|
|
5
5
|
Author-email: "CCCC Highway Consultant Co. Ltd." <support@osisbim.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -252,8 +252,7 @@ shape = engine.tendon.shape.create_arc3d(
|
|
|
252
252
|
|
|
253
253
|
# 活载:等级 -> 车道 -> 工况
|
|
254
254
|
engine.live.grade.create_highway("公路I级", code="JTGD60_2015", live_load_type="HIGHWAY_I")
|
|
255
|
-
engine.live.lane.create_ve("车道",
|
|
256
|
-
ref=0, ref_elems="主梁单元", offset_y=0.0, offset_z=0.0)
|
|
255
|
+
engine.live.lane.create_ve("车道", 19.1, 1.8, 1, 0, "主梁单元", 0.0, 0.0)
|
|
257
256
|
lc = engine.live.case.create("车道荷载包络", code="JTGD60_2015", sub_cmb_type=1)
|
|
258
257
|
lc.create_sub("车道荷载工况1", "公路I级", scalar=0.75, calc_mu=True,
|
|
259
258
|
bridge_type="CUSTOM", mu_params=[6.586960], lane_names=["车道"])
|
|
@@ -498,7 +497,7 @@ engine.control.set_calc_shear(True)
|
|
|
498
497
|
engine.control.set_calc_relaxation(True)
|
|
499
498
|
engine.control.set_mod_loc_coor(False)
|
|
500
499
|
engine.control.set_inc_tendon(True)
|
|
501
|
-
engine.control.set_nonlinear(geom=False
|
|
500
|
+
engine.control.set_nonlinear(geom=False)
|
|
502
501
|
|
|
503
502
|
# 截面
|
|
504
503
|
engine.section.create_circle(no=1, name="圆形截面1", d=0.219, tw=0.012)
|
|
@@ -221,8 +221,7 @@ shape = engine.tendon.shape.create_arc3d(
|
|
|
221
221
|
|
|
222
222
|
# 活载:等级 -> 车道 -> 工况
|
|
223
223
|
engine.live.grade.create_highway("公路I级", code="JTGD60_2015", live_load_type="HIGHWAY_I")
|
|
224
|
-
engine.live.lane.create_ve("车道",
|
|
225
|
-
ref=0, ref_elems="主梁单元", offset_y=0.0, offset_z=0.0)
|
|
224
|
+
engine.live.lane.create_ve("车道", 19.1, 1.8, 1, 0, "主梁单元", 0.0, 0.0)
|
|
226
225
|
lc = engine.live.case.create("车道荷载包络", code="JTGD60_2015", sub_cmb_type=1)
|
|
227
226
|
lc.create_sub("车道荷载工况1", "公路I级", scalar=0.75, calc_mu=True,
|
|
228
227
|
bridge_type="CUSTOM", mu_params=[6.586960], lane_names=["车道"])
|
|
@@ -467,7 +466,7 @@ engine.control.set_calc_shear(True)
|
|
|
467
466
|
engine.control.set_calc_relaxation(True)
|
|
468
467
|
engine.control.set_mod_loc_coor(False)
|
|
469
468
|
engine.control.set_inc_tendon(True)
|
|
470
|
-
engine.control.set_nonlinear(geom=False
|
|
469
|
+
engine.control.set_nonlinear(geom=False)
|
|
471
470
|
|
|
472
471
|
# 截面
|
|
473
472
|
engine.section.create_circle(no=1, name="圆形截面1", d=0.219, tw=0.012)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: osis-python
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.3
|
|
4
4
|
Summary: A Python client library for Osis APDL
|
|
5
5
|
Author-email: "CCCC Highway Consultant Co. Ltd." <support@osisbim.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -252,8 +252,7 @@ shape = engine.tendon.shape.create_arc3d(
|
|
|
252
252
|
|
|
253
253
|
# 活载:等级 -> 车道 -> 工况
|
|
254
254
|
engine.live.grade.create_highway("公路I级", code="JTGD60_2015", live_load_type="HIGHWAY_I")
|
|
255
|
-
engine.live.lane.create_ve("车道",
|
|
256
|
-
ref=0, ref_elems="主梁单元", offset_y=0.0, offset_z=0.0)
|
|
255
|
+
engine.live.lane.create_ve("车道", 19.1, 1.8, 1, 0, "主梁单元", 0.0, 0.0)
|
|
257
256
|
lc = engine.live.case.create("车道荷载包络", code="JTGD60_2015", sub_cmb_type=1)
|
|
258
257
|
lc.create_sub("车道荷载工况1", "公路I级", scalar=0.75, calc_mu=True,
|
|
259
258
|
bridge_type="CUSTOM", mu_params=[6.586960], lane_names=["车道"])
|
|
@@ -498,7 +497,7 @@ engine.control.set_calc_shear(True)
|
|
|
498
497
|
engine.control.set_calc_relaxation(True)
|
|
499
498
|
engine.control.set_mod_loc_coor(False)
|
|
500
499
|
engine.control.set_inc_tendon(True)
|
|
501
|
-
engine.control.set_nonlinear(geom=False
|
|
500
|
+
engine.control.set_nonlinear(geom=False)
|
|
502
501
|
|
|
503
502
|
# 截面
|
|
504
503
|
engine.section.create_circle(no=1, name="圆形截面1", d=0.219, tw=0.012)
|
|
@@ -110,7 +110,6 @@ src/pyosis/thickness/interface.py
|
|
|
110
110
|
src/pyosis/thickness/manager.py
|
|
111
111
|
src/pyosis/transfer/__init__.py
|
|
112
112
|
src/pyosis/transfer/generator.py
|
|
113
|
-
src/pyosis/transfer/introspect.py
|
|
114
113
|
src/pyosis/transfer/matrix.py
|
|
115
114
|
src/pyosis/transfer/out_to_python.py
|
|
116
115
|
src/pyosis/transfer/parser.py
|
|
@@ -120,4 +119,4 @@ tests/test_batch.py
|
|
|
120
119
|
tests/test_delete_occupied.py
|
|
121
120
|
tests/test_manager_field_layout.py
|
|
122
121
|
tests/test_project_manager.py
|
|
123
|
-
tests/
|
|
122
|
+
tests/test_transfer.py
|
|
@@ -7,7 +7,7 @@ A library for extending OSIS functionality.
|
|
|
7
7
|
A library that allows users to use CAE with great flexibility.
|
|
8
8
|
"""
|
|
9
9
|
|
|
10
|
-
__version__ = "0.9.
|
|
10
|
+
__version__ = "0.9.3"
|
|
11
11
|
|
|
12
12
|
from .core.engine import OSISEngine
|
|
13
13
|
from .core.batch import batch, flush, batch_state, BatchError
|
|
@@ -288,14 +288,13 @@ class ControlManager:
|
|
|
288
288
|
|
|
289
289
|
# ── 非线性分析 ──────────────────────────────
|
|
290
290
|
|
|
291
|
-
def set_nonlinear(self, geom: Literal[0,1] = 0
|
|
291
|
+
def set_nonlinear(self, geom: Literal[0,1] = 0) -> None:
|
|
292
292
|
'''设置非线性分析控制开关
|
|
293
293
|
|
|
294
|
-
|
|
294
|
+
非线性连接单元由软件在转换时强制考虑。
|
|
295
295
|
|
|
296
296
|
Args:
|
|
297
297
|
geom (int): 是否打开几何非线性(大位移大转角),1=开,0=关
|
|
298
|
-
link (int): 已废弃,仅为兼容旧调用保留
|
|
299
298
|
|
|
300
299
|
Returns:
|
|
301
300
|
None
|
|
@@ -1089,8 +1089,8 @@ class LaneManager(BasicManager):
|
|
|
1089
1089
|
RuntimeError: 创建失败
|
|
1090
1090
|
|
|
1091
1091
|
Examples:
|
|
1092
|
-
>>> live_manager.lane.create("车道1", "VE",
|
|
1093
|
-
>>> live_manager.lane.create("重车道", "TCB",
|
|
1092
|
+
>>> live_manager.lane.create("车道1", "VE", 30.0, 1.8, 1, 0, "主梁", 2.5, 0.0)
|
|
1093
|
+
>>> live_manager.lane.create("重车道", "TCB", "横梁", 30.0, 1.8, 0, 0, "主梁", 0.0, 0.0)
|
|
1094
1094
|
"""
|
|
1095
1095
|
_creator = {
|
|
1096
1096
|
"VE": self.create_ve,
|
|
@@ -1110,14 +1110,13 @@ class LaneManager(BasicManager):
|
|
|
1110
1110
|
wheel: float = 0,
|
|
1111
1111
|
orientation: Literal[-1, 0, 1] = 0,
|
|
1112
1112
|
ref: Literal[0, 1] = 0,
|
|
1113
|
-
|
|
1114
|
-
offset_y: float = 0.0,
|
|
1115
|
-
offset_z: float = 0.0,
|
|
1116
|
-
spline_name: str | None = None,
|
|
1113
|
+
*params: Any,
|
|
1117
1114
|
) -> Lane:
|
|
1118
1115
|
"""创建车道(车道单元法 VE)
|
|
1119
1116
|
|
|
1120
1117
|
适用于主梁为梁单元的桥梁结构,车辆沿纵向路径移动。
|
|
1118
|
+
位置参数与命令流严格对应:
|
|
1119
|
+
InflAlgo, Name, type, length, wheel, vehOri, ref, par1, par2, par3
|
|
1121
1120
|
|
|
1122
1121
|
Args:
|
|
1123
1122
|
name: 车道名称
|
|
@@ -1130,10 +1129,12 @@ class LaneManager(BasicManager):
|
|
|
1130
1129
|
ref: 车道参照方式
|
|
1131
1130
|
- 0: 参照单元组(默认)
|
|
1132
1131
|
- 1: 参照样条曲线
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1132
|
+
*params: 与命令流 par1..par3 一一对应的尾部字段
|
|
1133
|
+
- ref=0: (ref_elems, offset_y, offset_z)
|
|
1134
|
+
ref_elems 为参照纵梁单元组名称,offset_y/offset_z 为局部
|
|
1135
|
+
坐标系下的 Y/Z 偏移量(m)
|
|
1136
|
+
- ref=1: (ref_elems, spline_name)
|
|
1137
|
+
ref_elems 为参照纵梁单元组名称,spline_name 为样条曲线名称
|
|
1137
1138
|
|
|
1138
1139
|
Returns:
|
|
1139
1140
|
创建的 Lane 对象
|
|
@@ -1142,11 +1143,19 @@ class LaneManager(BasicManager):
|
|
|
1142
1143
|
RuntimeError: 参数校验失败或创建失败时抛出
|
|
1143
1144
|
"""
|
|
1144
1145
|
if ref == 0:
|
|
1146
|
+
if len(params) != 3:
|
|
1147
|
+
raise RuntimeError(
|
|
1148
|
+
"ref=0 时尾部参数应为 (ref_elems, offset_y, offset_z)"
|
|
1149
|
+
)
|
|
1150
|
+
ref_elems, offset_y, offset_z = params
|
|
1145
1151
|
if not ref_elems:
|
|
1146
1152
|
raise RuntimeError(f"参照单元组名称 ref_elems 不能为空")
|
|
1147
1153
|
param = [ref_elems, offset_y, offset_z]
|
|
1148
1154
|
else:
|
|
1149
1155
|
# 命令流 eRef=1:ESel, SplineName
|
|
1156
|
+
if len(params) != 2:
|
|
1157
|
+
raise RuntimeError("ref=1 时尾部参数应为 (ref_elems, spline_name)")
|
|
1158
|
+
ref_elems, spline_name = params
|
|
1150
1159
|
if not ref_elems:
|
|
1151
1160
|
raise RuntimeError(f"参照纵梁单元组名称 ref_elems 不能为空")
|
|
1152
1161
|
if not spline_name:
|
|
@@ -1166,14 +1175,13 @@ class LaneManager(BasicManager):
|
|
|
1166
1175
|
wheel: float = 0,
|
|
1167
1176
|
orientation: Literal[-1, 0, 1] = 0,
|
|
1168
1177
|
ref: Literal[0, 1] = 0,
|
|
1169
|
-
|
|
1170
|
-
offset_y: float = 0.0,
|
|
1171
|
-
offset_z: float = 0.0,
|
|
1172
|
-
spline_name: str | None = None,
|
|
1178
|
+
*params: Any,
|
|
1173
1179
|
) -> Lane:
|
|
1174
1180
|
"""创建车道(横向联系梁法 TCB)
|
|
1175
1181
|
|
|
1176
1182
|
适用于由主梁+横梁组成的空间传力结构,荷载先分配给横梁再传递至主梁。
|
|
1183
|
+
位置参数与命令流严格对应:
|
|
1184
|
+
InflAlgo, Name, type, ESel, length, wheel, vehOri, ref, par1, par2, par3, par4
|
|
1177
1185
|
|
|
1178
1186
|
Args:
|
|
1179
1187
|
name: 车道名称
|
|
@@ -1187,10 +1195,9 @@ class LaneManager(BasicManager):
|
|
|
1187
1195
|
ref: 车道参照方式
|
|
1188
1196
|
- 0: 参照单元组(默认)
|
|
1189
1197
|
- 1: 参照样条曲线
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
spline_name: 样条曲线名称(ref=1 时必填)
|
|
1198
|
+
*params: 与命令流 par1..par4 一一对应的尾部字段
|
|
1199
|
+
- ref=0: (ref_elems, offset_y, offset_z)
|
|
1200
|
+
- ref=1: (ref_elems, spline_name)
|
|
1194
1201
|
|
|
1195
1202
|
Returns:
|
|
1196
1203
|
创建的 Lane 对象
|
|
@@ -1199,11 +1206,19 @@ class LaneManager(BasicManager):
|
|
|
1199
1206
|
RuntimeError: 参数校验失败或创建失败时抛出
|
|
1200
1207
|
"""
|
|
1201
1208
|
if ref == 0:
|
|
1209
|
+
if len(params) != 3:
|
|
1210
|
+
raise RuntimeError(
|
|
1211
|
+
"ref=0 时尾部参数应为 (ref_elems, offset_y, offset_z)"
|
|
1212
|
+
)
|
|
1213
|
+
ref_elems, offset_y, offset_z = params
|
|
1202
1214
|
if not ref_elems:
|
|
1203
1215
|
raise RuntimeError(f"参照单元组名称 ref_elems 不能为空")
|
|
1204
1216
|
param = [ref_elems, offset_y, offset_z]
|
|
1205
1217
|
else:
|
|
1206
1218
|
# 命令流 eRef=1:RefESel, SplineName
|
|
1219
|
+
if len(params) != 2:
|
|
1220
|
+
raise RuntimeError("ref=1 时尾部参数应为 (ref_elems, spline_name)")
|
|
1221
|
+
ref_elems, spline_name = params
|
|
1207
1222
|
if not ref_elems:
|
|
1208
1223
|
raise RuntimeError(f"参照纵梁单元组名称 ref_elems 不能为空")
|
|
1209
1224
|
if not spline_name:
|
|
@@ -1480,7 +1495,7 @@ class LiveManager:
|
|
|
1480
1495
|
>>> grade = live_manager.grade.create_highway("简支空心板移动荷载",code="JTGD60_2015",live_load_type="HIGHWAY_I")
|
|
1481
1496
|
>>>
|
|
1482
1497
|
>>> # 创建车道(VE 车道单元法)
|
|
1483
|
-
>>> lane = live_manager.lane.create_ve(
|
|
1498
|
+
>>> lane = live_manager.lane.create_ve("车道1", 30.0, 1.80, 1, 0, "主梁单元", 2.5, 0.0)
|
|
1484
1499
|
>>>
|
|
1485
1500
|
>>> # 创建活载工况并添加子工况
|
|
1486
1501
|
>>> live_case = live_manager.case.create("活载工况1", "JTGD60_2015", 1)
|
|
@@ -1514,7 +1529,7 @@ class LiveManager:
|
|
|
1514
1529
|
|
|
1515
1530
|
用法::
|
|
1516
1531
|
|
|
1517
|
-
>>> live_manager.lane.create_ve("车道1", 30.0,
|
|
1532
|
+
>>> live_manager.lane.create_ve("车道1", 30.0, 0, 0, 0, "主梁", 0.0, 0.0)
|
|
1518
1533
|
>>> live_manager.lane.all()
|
|
1519
1534
|
>>> live_manager.lane.get("车道1")
|
|
1520
1535
|
"""
|
|
@@ -399,7 +399,6 @@ class CreepShrinkManager(BasicManager):
|
|
|
399
399
|
type_coeff: float = 5.0,
|
|
400
400
|
birth_by_shrinking: int = 3,
|
|
401
401
|
fly_ash_ratio: float = 0.0,
|
|
402
|
-
shrink_birth: int | None = None,
|
|
403
402
|
) -> CreepShrink:
|
|
404
403
|
'''创建或修改收缩徐变特性
|
|
405
404
|
|
|
@@ -418,7 +417,6 @@ class CreepShrinkManager(BasicManager):
|
|
|
418
417
|
type_coeff (float): 水泥种类系数
|
|
419
418
|
birth_by_shrinking (int): 收缩开始时的混凝土龄期(天数)
|
|
420
419
|
fly_ash_ratio (float): 粉煤灰添加量(百分比),0~50
|
|
421
|
-
shrink_birth (int|None): birth_by_shrinking 的旧写法,传了就覆盖上面的值
|
|
422
420
|
|
|
423
421
|
Returns:
|
|
424
422
|
创建的 CreepShrink 对象
|
|
@@ -426,8 +424,6 @@ class CreepShrinkManager(BasicManager):
|
|
|
426
424
|
Raises:
|
|
427
425
|
RuntimeError: 创建失败时抛出
|
|
428
426
|
'''
|
|
429
|
-
if shrink_birth is not None:
|
|
430
|
-
birth_by_shrinking = shrink_birth
|
|
431
427
|
ok, err = osis_creep_shrink(
|
|
432
428
|
nNO=no,
|
|
433
429
|
strName=name,
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
Python 重装,不用重编 DLL。认不出来的表头会告警,必需的列缺失会直接报错,不会
|
|
29
29
|
静默给出一张少列的表。
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
``yilEnumType::UnitType`` 的枚举值,仅作诊断,本模块不用。
|
|
31
|
+
数值由 OSIS 引擎统一按标准单位返回:力 N、力矩 N·m、应力 Pa,与模型的显示单位
|
|
32
|
+
设置无关。unit 是 ``yilEnumType::UnitType`` 的枚举值,仅作诊断,本模块不用。
|
|
33
33
|
|
|
34
34
|
source 是诊断信息而非稳定契约:同一次调用可能因结果文件是否落盘而在 file/memory
|
|
35
35
|
之间翻转,也可能缺失,不要用业务逻辑依赖它。
|
|
@@ -252,6 +252,7 @@ def osis_section_part_polygon(
|
|
|
252
252
|
PartDensity: float,
|
|
253
253
|
PartGeoType: Literal["Polygon"],
|
|
254
254
|
ContourMatrix: str,
|
|
255
|
+
ContourWidth: str,
|
|
255
256
|
):
|
|
256
257
|
"""定义或修改自定义组合截面的面域Part信息。
|
|
257
258
|
Args:
|
|
@@ -263,6 +264,7 @@ def osis_section_part_polygon(
|
|
|
263
264
|
PartDensity:分部重度
|
|
264
265
|
PartGeoType:分部几何类型,=Polygon为面域
|
|
265
266
|
ContourMatrix:轮廓点矩阵,大小为n*3,n为点的个数,第一列为点所在的轮廓线编号,第二列为点的x坐标,第三列为点的y坐标
|
|
267
|
+
ContourWidth:轮廓线宽度矩阵,大小为n*1,n为轮廓线数量
|
|
266
268
|
Returns:
|
|
267
269
|
tuple (bool, str): 返回一个元组,包含:
|
|
268
270
|
- bool: 操作是否成功
|
|
@@ -49,6 +49,10 @@ from .steel import (
|
|
|
49
49
|
osis_section_steel_custom,
|
|
50
50
|
osis_section_steel_custom_plate,
|
|
51
51
|
osis_steel_plate,
|
|
52
|
+
osis_steel_plate_detail,
|
|
53
|
+
osis_steel_plate_del,
|
|
54
|
+
osis_rib_layout_c,
|
|
55
|
+
osis_rib_layout_c_del,
|
|
52
56
|
)
|
|
53
57
|
from .shaped_steel import (
|
|
54
58
|
osis_section_shaped_steel_l,
|
|
@@ -331,18 +335,20 @@ class Section:
|
|
|
331
335
|
|
|
332
336
|
def set_mesh(
|
|
333
337
|
self,
|
|
338
|
+
part_id: int = 1,
|
|
334
339
|
mesh_method: Literal[0, 1] = 0,
|
|
335
340
|
mesh_size: float = 0.0,
|
|
336
|
-
part_id: int = 1,
|
|
337
341
|
) -> None:
|
|
338
342
|
'''设置截面网格(适用于混凝土截面、模板组合截面与自定义组合截面)。
|
|
339
343
|
|
|
344
|
+
形参顺序与命令流 SectionMesh, Index, PartID, MeshMethod, MeshSize 一致。
|
|
345
|
+
|
|
340
346
|
Args:
|
|
347
|
+
part_id (int): 分部编号,混凝土截面输入 1,模板组合截面输入 2
|
|
341
348
|
mesh_method (int): 网格划分方式
|
|
342
349
|
* 0 = 自动划分
|
|
343
350
|
* 1 = 手动划分
|
|
344
351
|
mesh_size (float): 网格划分尺寸,在 mesh_method=1 时起作用
|
|
345
|
-
part_id (int): 分部编号,混凝土截面输入 1,模板组合截面输入 2
|
|
346
352
|
|
|
347
353
|
Raises:
|
|
348
354
|
RuntimeError: 设置失败时抛出
|
|
@@ -437,24 +443,41 @@ class Section:
|
|
|
437
443
|
|
|
438
444
|
def add_part(
|
|
439
445
|
self,
|
|
440
|
-
|
|
441
|
-
|
|
446
|
+
part_index: int,
|
|
447
|
+
part_mat_type: Literal["Concrete", "Steel"],
|
|
448
|
+
part_e: float,
|
|
449
|
+
part_mu: float,
|
|
450
|
+
part_density: float,
|
|
451
|
+
part_geo_type: Literal["Polygon", "Line"],
|
|
452
|
+
*matrices: str,
|
|
442
453
|
) -> None:
|
|
443
|
-
"""添加或修改组合截面 Part
|
|
454
|
+
"""添加或修改组合截面 Part(按几何类型分发)
|
|
455
|
+
|
|
456
|
+
形参顺序与命令流
|
|
457
|
+
SectionPart, SecIndex, PartIndex, PartMatType, PartE, PartMu,
|
|
458
|
+
PartDensity, PartGeoType, Matrices... 一致。
|
|
444
459
|
|
|
445
460
|
Args:
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
*
|
|
449
|
-
|
|
461
|
+
part_index: Part 编号
|
|
462
|
+
part_mat_type: 分部材料类型
|
|
463
|
+
* Concrete = 混凝土,可布置钢筋
|
|
464
|
+
* Steel = 钢,不可布置钢筋
|
|
465
|
+
part_e: 分部弹性模量
|
|
466
|
+
part_mu: 分部泊松比
|
|
467
|
+
part_density: 分部重度
|
|
468
|
+
part_geo_type: 分部几何类型(大小写不敏感)
|
|
469
|
+
* Polygon = 面域(后面 2 个矩阵:ContourMatrix, ContourWidth)
|
|
470
|
+
* Line = 线域(后面 3 个矩阵:PointMatrix, LineMatrix, WidthMatrix)
|
|
471
|
+
matrices: 几何矩阵,数量由 part_geo_type 决定
|
|
450
472
|
"""
|
|
451
|
-
key = str(
|
|
473
|
+
key = str(part_geo_type).upper()
|
|
474
|
+
head = (part_index, part_mat_type, part_e, part_mu, part_density)
|
|
452
475
|
if key == "POLYGON":
|
|
453
|
-
self.add_composite_part_polygon(*
|
|
476
|
+
self.add_composite_part_polygon(*head, *matrices)
|
|
454
477
|
elif key == "LINE":
|
|
455
|
-
self.add_composite_part_line(*
|
|
478
|
+
self.add_composite_part_line(*head, *matrices)
|
|
456
479
|
else:
|
|
457
|
-
raise ValueError(f"未知 Part 类型: {
|
|
480
|
+
raise ValueError(f"未知 Part 类型: {part_geo_type!r},支持 POLYGON/LINE")
|
|
458
481
|
|
|
459
482
|
# ── 组合截面材料 ──────────────────────────
|
|
460
483
|
|
|
@@ -1082,40 +1105,149 @@ class Section:
|
|
|
1082
1105
|
|
|
1083
1106
|
def add_steel_plate(
|
|
1084
1107
|
self,
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
start_x: float,
|
|
1088
|
-
start_y: float,
|
|
1089
|
-
end_x: float,
|
|
1090
|
-
end_y: float,
|
|
1091
|
-
thickness: float,
|
|
1108
|
+
plate_id_or_position: int | str,
|
|
1109
|
+
*args: Any,
|
|
1092
1110
|
) -> None:
|
|
1093
|
-
"""
|
|
1111
|
+
"""定义或修改自定义钢梁截面的母板 / 板件。
|
|
1112
|
+
|
|
1113
|
+
命令流 `SteelPlate` 有两种字段组合,用第一个字段区分:
|
|
1114
|
+
|
|
1115
|
+
* 母板(PlateID 为数字)::
|
|
1116
|
+
|
|
1117
|
+
SteelPlate, Index, PlateID, Type, StartX, StartY, EndX, EndY, Thickness
|
|
1118
|
+
|
|
1119
|
+
* 板件(PlatePosition 为板件位置名)::
|
|
1120
|
+
|
|
1121
|
+
SteelPlate, Index, PlatePosition, StartX, StartY, EndX, EndY,
|
|
1122
|
+
Thickness, IsSymmetric, RibStartPosition,
|
|
1123
|
+
RibStartDistance, RibLocation
|
|
1094
1124
|
|
|
1095
1125
|
Args:
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
end_x (float): 板件终点x坐标。
|
|
1104
|
-
end_y (float): 板件终点y坐标。
|
|
1105
|
-
thickness (float): 板件厚度,大于 0。
|
|
1126
|
+
plate_id_or_position: 母板形式为板件编号(int);板件形式为
|
|
1127
|
+
板件位置(str,如 "TopFlange" / "SideWeb" / "MiddleWeb1")。
|
|
1128
|
+
*args: 其余字段按命令流原序:
|
|
1129
|
+
- 母板: (plate_type, start_x, start_y, end_x, end_y, thickness)
|
|
1130
|
+
- 板件: (start_x, start_y, end_x, end_y, thickness,
|
|
1131
|
+
is_symmetric, rib_start_position, rib_start_distance,
|
|
1132
|
+
rib_location)
|
|
1106
1133
|
|
|
1107
1134
|
Raises:
|
|
1135
|
+
ValueError: 字段个数与形式不匹配
|
|
1108
1136
|
RuntimeError: 添加失败时抛出
|
|
1137
|
+
"""
|
|
1138
|
+
if isinstance(plate_id_or_position, int):
|
|
1139
|
+
plate_id = plate_id_or_position
|
|
1140
|
+
elif (
|
|
1141
|
+
isinstance(plate_id_or_position, str)
|
|
1142
|
+
and plate_id_or_position.strip().isdigit()
|
|
1143
|
+
):
|
|
1144
|
+
plate_id = int(plate_id_or_position)
|
|
1145
|
+
else:
|
|
1146
|
+
plate_id = None
|
|
1109
1147
|
|
|
1110
|
-
|
|
1111
|
-
|
|
1148
|
+
if plate_id is not None:
|
|
1149
|
+
if len(args) != 6:
|
|
1150
|
+
raise ValueError(
|
|
1151
|
+
"母板形式需要 6 个参数: "
|
|
1152
|
+
"(plate_type, start_x, start_y, end_x, end_y, thickness)"
|
|
1153
|
+
)
|
|
1154
|
+
plate_type, start_x, start_y, end_x, end_y, thickness = args
|
|
1155
|
+
ok, err = osis_steel_plate(
|
|
1156
|
+
self.no, plate_id, plate_type,
|
|
1157
|
+
start_x, start_y, end_x, end_y, thickness,
|
|
1158
|
+
)
|
|
1159
|
+
if not ok:
|
|
1160
|
+
raise RuntimeError(f"添加截面 {self.no} 母板 {plate_id} 失败: {err}")
|
|
1161
|
+
return
|
|
1162
|
+
|
|
1163
|
+
if len(args) != 9:
|
|
1164
|
+
raise ValueError(
|
|
1165
|
+
"板件形式需要 9 个参数: "
|
|
1166
|
+
"(start_x, start_y, end_x, end_y, thickness, is_symmetric, "
|
|
1167
|
+
"rib_start_position, rib_start_distance, rib_location)"
|
|
1168
|
+
)
|
|
1169
|
+
ok, err = osis_steel_plate_detail(
|
|
1170
|
+
self.no, str(plate_id_or_position), *args,
|
|
1171
|
+
)
|
|
1172
|
+
if not ok:
|
|
1173
|
+
raise RuntimeError(
|
|
1174
|
+
f"添加截面 {self.no} 板件 {plate_id_or_position} 失败: {err}"
|
|
1175
|
+
)
|
|
1176
|
+
|
|
1177
|
+
def delete_steel_plate(self, plate_id: int) -> None:
|
|
1178
|
+
"""删除自定义钢梁截面的母板。
|
|
1179
|
+
|
|
1180
|
+
Args:
|
|
1181
|
+
plate_id (int): 母板编号。
|
|
1182
|
+
|
|
1183
|
+
Raises:
|
|
1184
|
+
RuntimeError: 删除失败时抛出
|
|
1112
1185
|
"""
|
|
1113
|
-
ok, err =
|
|
1114
|
-
|
|
1115
|
-
|
|
1186
|
+
ok, err = osis_steel_plate_del(self.no, plate_id)
|
|
1187
|
+
if not ok:
|
|
1188
|
+
raise RuntimeError(f"删除截面 {self.no} 母板 {plate_id} 失败: {err}")
|
|
1189
|
+
|
|
1190
|
+
def add_rib_layout_c(
|
|
1191
|
+
self,
|
|
1192
|
+
plate_id: int,
|
|
1193
|
+
layout_id: int,
|
|
1194
|
+
rib_name: str,
|
|
1195
|
+
rib_start_position: Literal[0, 1],
|
|
1196
|
+
rib_location: Literal["Left", "Right", "Both"],
|
|
1197
|
+
*layout: Any,
|
|
1198
|
+
) -> None:
|
|
1199
|
+
"""定义或修改自定义钢梁截面板件上的加劲肋布置。
|
|
1200
|
+
|
|
1201
|
+
命令流:RibLayoutC, Index, PlateID, LayoutID, RibName,
|
|
1202
|
+
RibStartPosition, RibLocation, LayoutDis1, LayoutNum1, ..., LayoutDisi, LayoutNumi
|
|
1203
|
+
|
|
1204
|
+
Args:
|
|
1205
|
+
plate_id: 母板编号
|
|
1206
|
+
layout_id: 加劲肋布置信息编号
|
|
1207
|
+
rib_name: 加劲肋名称
|
|
1208
|
+
rib_start_position: 布置参考点,1=从起点开始,0=从终点开始
|
|
1209
|
+
rib_location: 以起点到终点的线段为基准,Left=左侧,Right=右侧,Both=双侧
|
|
1210
|
+
*layout: (布置间距, 布置次数) 序列。可直接展平传
|
|
1211
|
+
(d1, n1, d2, n2, ...),也可传 [(d1, n1), (d2, n2), ...]。
|
|
1212
|
+
|
|
1213
|
+
Raises:
|
|
1214
|
+
ValueError: 间距/次数不是成对出现
|
|
1215
|
+
RuntimeError: 添加失败时抛出
|
|
1216
|
+
"""
|
|
1217
|
+
flat: list[Any] = []
|
|
1218
|
+
stack = list(layout)
|
|
1219
|
+
while stack:
|
|
1220
|
+
item = stack.pop(0)
|
|
1221
|
+
if isinstance(item, (list, tuple)):
|
|
1222
|
+
stack[0:0] = list(item)
|
|
1223
|
+
else:
|
|
1224
|
+
flat.append(item)
|
|
1225
|
+
if len(flat) % 2:
|
|
1226
|
+
raise ValueError("加劲肋布置需要 (间距, 次数) 成对出现")
|
|
1227
|
+
ok, err = osis_rib_layout_c(
|
|
1228
|
+
self.no, plate_id, layout_id, rib_name,
|
|
1229
|
+
rib_start_position, rib_location, *flat,
|
|
1116
1230
|
)
|
|
1117
1231
|
if not ok:
|
|
1118
|
-
raise RuntimeError(
|
|
1232
|
+
raise RuntimeError(
|
|
1233
|
+
f"添加截面 {self.no} 母板 {plate_id} 加劲肋布置 {layout_id} 失败: {err}"
|
|
1234
|
+
)
|
|
1235
|
+
|
|
1236
|
+
def delete_rib_layout_c(self, plate_id: int, layout_id: int) -> None:
|
|
1237
|
+
"""删除自定义钢梁截面板件上的加劲肋布置。
|
|
1238
|
+
|
|
1239
|
+
Args:
|
|
1240
|
+
plate_id (int): 母板编号
|
|
1241
|
+
layout_id (int): 加劲肋布置信息编号
|
|
1242
|
+
|
|
1243
|
+
Raises:
|
|
1244
|
+
RuntimeError: 删除失败时抛出
|
|
1245
|
+
"""
|
|
1246
|
+
ok, err = osis_rib_layout_c_del(self.no, plate_id, layout_id)
|
|
1247
|
+
if not ok:
|
|
1248
|
+
raise RuntimeError(
|
|
1249
|
+
f"删除截面 {self.no} 母板 {plate_id} 加劲肋布置 {layout_id} 失败: {err}"
|
|
1250
|
+
)
|
|
1119
1251
|
|
|
1120
1252
|
def renumber(self, new_no: int) -> None:
|
|
1121
1253
|
'''修改截面编号
|