osis-python 0.7.3__tar.gz → 0.7.4__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.7.3/src/osis_python.egg-info → osis_python-0.7.4}/PKG-INFO +1 -1
- {osis_python-0.7.3 → osis_python-0.7.4/src/osis_python.egg-info}/PKG-INFO +1 -1
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/__init__.py +1 -1
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/section/manager.py +3 -2
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/section/param.py +6 -4
- {osis_python-0.7.3 → osis_python-0.7.4}/LICENSE +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/README.md +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/pyproject.toml +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/setup.cfg +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/osis_python.egg-info/SOURCES.txt +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/osis_python.egg-info/dependency_links.txt +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/osis_python.egg-info/requires.txt +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/osis_python.egg-info/top_level.txt +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/boundary/__init__.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/boundary/interface.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/boundary/manager.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/control/__init__.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/control/control.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/control/io.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/control/manager.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/control/nonlinear.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/core/__init__.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/core/all_func.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/core/apdl_sync.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/core/basic_manager.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/core/batch.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/core/client.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/core/command.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/core/engine.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/core/exceptions.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/core/references.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/core/solver.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/core/sync_apdl_cli.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/display/__init__.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/display/interface.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/display/manager.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/dynamic/__init__.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/dynamic/load_to_mass.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/dynamic/manager.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/dynamic/modal.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/dynamic/seismic.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/element/__init__.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/element/interface.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/element/manager.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/general/__init__.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/general/interface.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/geometry/__init__.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/geometry/interface.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/geometry/manager.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/live/__init__.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/live/analysis.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/live/grade.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/live/lane.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/live/manager.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/load/__init__.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/load/loadcase.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/load/manager.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/load/static.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/load/tendon.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/material/__init__.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/material/interface.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/material/manager.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/node/__init__.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/node/interface.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/node/manager.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/post/__init__.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/post/combine.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/post/design_check.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/post/display.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/post/manager.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/project/__init__.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/project/interface.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/project/manager.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/property/__init__.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/property/component_thickness.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/property/coordinate.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/property/creep_shrink.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/property/damping.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/property/manager.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/property/pu_curve.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/quick_building/__init__.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/quick_building/interface.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/result/__init__.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/result/check.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/result/env.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/result/loadcase.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/result/manager.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/result/result.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/section/__init__.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/section/common.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/section/composite.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/section/numeric.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/section/rebar.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/section/rib.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/section/steel.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/settlement/__init__.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/settlement/interface.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/settlement/manager.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/stability/__init__.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/stability/buckling.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/stability/manager.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/stage/__init__.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/stage/define.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/stage/manager.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/stage/overall.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/thickness/__init__.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/thickness/interface.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/thickness/manager.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/transfer/__init__.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/transfer/generator.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/transfer/matrix.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/transfer/out_to_python.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/transfer/parser.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/transfer/routes.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/transfer/split.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/tests/test_batch.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/tests/test_delete_occupied.py +0 -0
- {osis_python-0.7.3 → osis_python-0.7.4}/tests/test_project_manager.py +0 -0
|
@@ -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.7.
|
|
10
|
+
__version__ = "0.7.4"
|
|
11
11
|
|
|
12
12
|
from .core.engine import OSISEngine
|
|
13
13
|
from .core.batch import batch, flush, batch_state, BatchError
|
|
@@ -429,15 +429,16 @@ class Section:
|
|
|
429
429
|
|
|
430
430
|
# ── 应力点 ────────────────────────────────
|
|
431
431
|
|
|
432
|
-
def set_stress_point(self, n_point: int, d_coord_x: float, d_coord_y: float) -> None:
|
|
432
|
+
def set_stress_point(self, n_part_id: int, n_point: int, d_coord_x: float, d_coord_y: float) -> None:
|
|
433
433
|
"""修改截面应力点
|
|
434
434
|
|
|
435
435
|
Args:
|
|
436
|
+
n_part_id: 分部编号,混凝土截面需输入1
|
|
436
437
|
n_point: 应力点编号
|
|
437
438
|
d_coord_x: 应力点 x 坐标
|
|
438
439
|
d_coord_y: 应力点 y 坐标
|
|
439
440
|
"""
|
|
440
|
-
ok, err = osis_stress_point(self.no, n_point, d_coord_x, d_coord_y)
|
|
441
|
+
ok, err = osis_stress_point(self.no, n_part_id, n_point, d_coord_x, d_coord_y)
|
|
441
442
|
if not ok:
|
|
442
443
|
raise RuntimeError(f"设置截面 {self.no} 应力点 {n_point} 失败: {err}")
|
|
443
444
|
|
|
@@ -121,24 +121,26 @@ def osis_section_mod(nOld: int, nNew: int):
|
|
|
121
121
|
"""
|
|
122
122
|
pass
|
|
123
123
|
|
|
124
|
-
# StressPoint, SecIndex, PointIndex, CoordX, CoordY
|
|
124
|
+
# StressPoint, SecIndex, PartID, PointIndex, CoordX, CoordY
|
|
125
125
|
# 简介:修改截面应力点
|
|
126
126
|
# SecIndex:截面编号
|
|
127
|
+
# PartID:分部编号,混凝土截面需输入1
|
|
127
128
|
# PointIndex:应力点编号
|
|
128
129
|
# CoordX:应力点x坐标
|
|
129
130
|
# CoordY:应力点y坐标
|
|
130
131
|
# 注:
|
|
131
132
|
|
|
132
133
|
@REGISTRY.register('StressPoint')
|
|
133
|
-
def osis_stress_point(nSec, nPoint, dCoordX, dCoordY):
|
|
134
|
+
def osis_stress_point(nSec, nPartID, nPoint, dCoordX, dCoordY):
|
|
134
135
|
'''
|
|
135
136
|
修改截面应力点
|
|
136
|
-
|
|
137
|
+
|
|
137
138
|
nSec (int): 截面编号
|
|
139
|
+
nPartID (int): 分部编号,混凝土截面需输入1
|
|
138
140
|
nPoint (int): 应力点编号
|
|
139
141
|
dCoordX (int): 应力点 x 坐标
|
|
140
142
|
dCoordY (int): 应力点 y 坐标
|
|
141
|
-
|
|
143
|
+
|
|
142
144
|
Returns:
|
|
143
145
|
tuple (bool, str):
|
|
144
146
|
- bool: 操作是否成功
|
|
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
|
|
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
|
|
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
|