osis-python 0.9.2__py3-none-any.whl → 0.9.3__py3-none-any.whl
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.2.dist-info → osis_python-0.9.3.dist-info}/METADATA +1 -1
- {osis_python-0.9.2.dist-info → osis_python-0.9.3.dist-info}/RECORD +9 -9
- pyosis/__init__.py +1 -1
- pyosis/section/manager.py +137 -24
- pyosis/section/steel.py +97 -1
- pyosis/transfer/routes.py +3 -0
- {osis_python-0.9.2.dist-info → osis_python-0.9.3.dist-info}/WHEEL +0 -0
- {osis_python-0.9.2.dist-info → osis_python-0.9.3.dist-info}/licenses/LICENSE +0 -0
- {osis_python-0.9.2.dist-info → osis_python-0.9.3.dist-info}/top_level.txt +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
osis_python-0.9.
|
|
2
|
-
pyosis/__init__.py,sha256=
|
|
1
|
+
osis_python-0.9.3.dist-info/licenses/LICENSE,sha256=T4mkSYliXdU9mYe-NfHkqg6GPhzoYaIQO_a630UzpS4,1088
|
|
2
|
+
pyosis/__init__.py,sha256=APRBAwE9Z_yiLck0r7UODUQ9b4LKMhe9C8lrfSJl28s,440
|
|
3
3
|
pyosis/boundary/__init__.py,sha256=W5LfF-jugWa-YI8pnfELZaz0pXLa-D8TiGnBn12HGGQ,102
|
|
4
4
|
pyosis/boundary/interface.py,sha256=Y1PkDocwlMlKE2Po5hV6B57ocG_8FY5w0Cjp8bpWDig,14643
|
|
5
5
|
pyosis/boundary/manager.py,sha256=6UKUztKBTnn5db8Cx2O9GKX85oqvavJRvrurWF34LdA,50070
|
|
@@ -81,13 +81,13 @@ pyosis/result/routes.py,sha256=aVqFAFy-DdPXqjalFmPyHz4MVFCSH_bDpwz4zDfPiFI,20847
|
|
|
81
81
|
pyosis/section/__init__.py,sha256=ArWzCN6GUQbyIsWQabPvR9gj36NUeycjzuWw9PVHmx4,207
|
|
82
82
|
pyosis/section/common.py,sha256=yI61YQH8btfkoBGnXF7wp3kFhZVW06XABIJZnvkDk3E,26616
|
|
83
83
|
pyosis/section/composite.py,sha256=1jVdsxHXRAizeBUTfsjCOx3--WCnfTGF-fZiJy5P_Ys,9458
|
|
84
|
-
pyosis/section/manager.py,sha256=
|
|
84
|
+
pyosis/section/manager.py,sha256=k7jYoM5tRlgHgiJuMfLpQBS2TRUWlrYU1g8knxtNpo8,131469
|
|
85
85
|
pyosis/section/numeric.py,sha256=lDO1KvSTmzBE56wkfDw5xxDhWi-kM0szXPx6CIymIyQ,1479
|
|
86
86
|
pyosis/section/param.py,sha256=CRtfBoynaGbiTb0uF2SoUBJtbrR05ok5VkxBRyRy8Us,7445
|
|
87
87
|
pyosis/section/rebar.py,sha256=9ibcOoMd7HYfzSaO6dMpZFwp1ugmwayOmDqIoWUijNc,8337
|
|
88
88
|
pyosis/section/rib.py,sha256=XOpldolZMK827u_nXxPDwLGvaT8LQ3zCgSqomh6YCD4,8356
|
|
89
89
|
pyosis/section/shaped_steel.py,sha256=7eZDL2V5ggnQYHJ0MHn_2cW6n615TGS9V1ZVlL88Sgo,29023
|
|
90
|
-
pyosis/section/steel.py,sha256=
|
|
90
|
+
pyosis/section/steel.py,sha256=65cwrf8CilmanjwpH093_QcCnMPxzMWZb1cWauukpW0,15399
|
|
91
91
|
pyosis/settlement/__init__.py,sha256=ymo2j5VPhWP9ydyXBp8yl72E0BgJwzftSUzkXeMYXR4,162
|
|
92
92
|
pyosis/settlement/interface.py,sha256=kuS96J9kHexUlsagFW2_1MkFbDLluVERYuoFLmO4i8s,3811
|
|
93
93
|
pyosis/settlement/manager.py,sha256=yWQtQtnSGbf7yl7WApMPhgGFM9hAF7Sv3Om9tpHx2zg,16462
|
|
@@ -106,9 +106,9 @@ pyosis/transfer/generator.py,sha256=oNp3FGPQa4zkKprGpyT5y705n32yonC57x50DdcTALs,
|
|
|
106
106
|
pyosis/transfer/matrix.py,sha256=sHw9X34-PUeY1EdoNklgK0LUHwbBPnhkhk0R9ME0XG0,3378
|
|
107
107
|
pyosis/transfer/out_to_python.py,sha256=q1toQNGVpJGlul58qjFtJOwoL3RHj0hjLksIPaJpT_w,16219
|
|
108
108
|
pyosis/transfer/parser.py,sha256=enww-1e28ZGcIgXDulmayxa9Pa7A0cWQaaz7iUDmNWA,5260
|
|
109
|
-
pyosis/transfer/routes.py,sha256=
|
|
109
|
+
pyosis/transfer/routes.py,sha256=eQaAU84jv_BXRPK_Z5KvHDAE0JB4ltsOPbBESGsKWks,12180
|
|
110
110
|
pyosis/transfer/split.py,sha256=hpBe9D9WbjbKsovx4hM3X5RjTrruWNkuFmZt2ed0fME,1284
|
|
111
|
-
osis_python-0.9.
|
|
112
|
-
osis_python-0.9.
|
|
113
|
-
osis_python-0.9.
|
|
114
|
-
osis_python-0.9.
|
|
111
|
+
osis_python-0.9.3.dist-info/METADATA,sha256=YE6QGC85ABmonFC2CDWhQo94xiC75O6pjrgoGVnYNRg,21255
|
|
112
|
+
osis_python-0.9.3.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
113
|
+
osis_python-0.9.3.dist-info/top_level.txt,sha256=6VDNySkQKwipRXcN8ayKVci4vAXi4oPyWLqFhNVcIfM,7
|
|
114
|
+
osis_python-0.9.3.dist-info/RECORD,,
|
pyosis/__init__.py
CHANGED
|
@@ -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
|
pyosis/section/manager.py
CHANGED
|
@@ -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,
|
|
@@ -1101,40 +1105,149 @@ class Section:
|
|
|
1101
1105
|
|
|
1102
1106
|
def add_steel_plate(
|
|
1103
1107
|
self,
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
start_x: float,
|
|
1107
|
-
start_y: float,
|
|
1108
|
-
end_x: float,
|
|
1109
|
-
end_y: float,
|
|
1110
|
-
thickness: float,
|
|
1108
|
+
plate_id_or_position: int | str,
|
|
1109
|
+
*args: Any,
|
|
1111
1110
|
) -> None:
|
|
1112
|
-
"""
|
|
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
|
|
1113
1124
|
|
|
1114
1125
|
Args:
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
end_x (float): 板件终点x坐标。
|
|
1123
|
-
end_y (float): 板件终点y坐标。
|
|
1124
|
-
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)
|
|
1125
1133
|
|
|
1126
1134
|
Raises:
|
|
1135
|
+
ValueError: 字段个数与形式不匹配
|
|
1127
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
|
|
1128
1147
|
|
|
1129
|
-
|
|
1130
|
-
|
|
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: 删除失败时抛出
|
|
1185
|
+
"""
|
|
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: 添加失败时抛出
|
|
1131
1216
|
"""
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
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,
|
|
1135
1230
|
)
|
|
1136
1231
|
if not ok:
|
|
1137
|
-
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
|
+
)
|
|
1138
1251
|
|
|
1139
1252
|
def renumber(self, new_no: int) -> None:
|
|
1140
1253
|
'''修改截面编号
|
pyosis/section/steel.py
CHANGED
|
@@ -245,7 +245,7 @@ def osis_section_steel_custom_plate(Index: int, Name: str, Type: Literal["STEELC
|
|
|
245
245
|
@REGISTRY.register("SteelPlate")
|
|
246
246
|
def osis_steel_plate(Index: int, PlateID: int, PlateType: Literal["Top", "Bottom", "Web"],
|
|
247
247
|
StartX: float, StartY: float, EndX: float, EndY: float, Thickness: float):
|
|
248
|
-
"""
|
|
248
|
+
"""定义或修改自定义钢梁截面的母板。
|
|
249
249
|
|
|
250
250
|
Args:
|
|
251
251
|
Index (int): 截面编号。
|
|
@@ -260,6 +260,102 @@ def osis_steel_plate(Index: int, PlateID: int, PlateType: Literal["Top", "Bottom
|
|
|
260
260
|
EndY (float): 板件终点y坐标。
|
|
261
261
|
Thickness (float): 板件厚度,大于 0。
|
|
262
262
|
|
|
263
|
+
Returns:
|
|
264
|
+
tuple (bool, str): 返回一个元组,包含:
|
|
265
|
+
- bool: 操作是否成功
|
|
266
|
+
- str: 失败原因(如果操作失败)
|
|
267
|
+
"""
|
|
268
|
+
pass
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
@REGISTRY.register("SteelPlate")
|
|
272
|
+
def osis_steel_plate_detail(Index: int, PlatePosition: str,
|
|
273
|
+
StartX: float, StartY: float, EndX: float, EndY: float,
|
|
274
|
+
Thickness: float, IsSymmetric: Literal[0, 1],
|
|
275
|
+
RibStartPosition: Literal[0, 1], RibStartDistance: float,
|
|
276
|
+
RibLocation: Literal["Left", "Right", "Both"]):
|
|
277
|
+
"""定义或修改自定义钢梁截面的板件(母板定义完成后的逐板参数)。
|
|
278
|
+
|
|
279
|
+
Args:
|
|
280
|
+
Index (int): 截面编号。
|
|
281
|
+
PlatePosition (str): 板件所在位置。
|
|
282
|
+
* 顶板:TopFlange、TopFlange1~TopFlange10
|
|
283
|
+
* 斜顶板:TopFlangeInclined、TopFlangeInclined1~TopFlangeInclined10
|
|
284
|
+
* 底板:BottomFlange、BottomFlange1~BottomFlange10
|
|
285
|
+
* 斜底板:BottomFlangeInclined、BottomFlangeInclined1~BottomFlangeInclined10
|
|
286
|
+
* 边腹板:SideWeb、SideWebL、SideWebR
|
|
287
|
+
* 中腹板:MiddleWeb、MiddleWeb1~MiddleWeb10
|
|
288
|
+
* 无加劲肋的板件:PlateWithoutRib
|
|
289
|
+
StartX (float): 板件起始点x坐标。
|
|
290
|
+
StartY (float): 板件起始点y坐标。
|
|
291
|
+
EndX (float): 板件终点x坐标。
|
|
292
|
+
EndY (float): 板件终点y坐标。
|
|
293
|
+
Thickness (float): 板件厚度。
|
|
294
|
+
IsSymmetric (int): 板件是否关于 y 轴对称,1=对称,0=不对称。
|
|
295
|
+
RibStartPosition (int): 加劲肋起始位置,1=从起点开始布置,0=从终点开始布置。
|
|
296
|
+
RibStartDistance (float): 加劲肋起始位置与板件端点的距离。
|
|
297
|
+
RibLocation (str): 加劲肋布置位置。
|
|
298
|
+
* 非中腹板的一般板件:以起点到终点的线段为基准,Left=左侧,Right=右侧,不可选 Both
|
|
299
|
+
* 中腹板:加劲肋在腹板两侧布置的绝对位置,与起止点无关
|
|
300
|
+
|
|
301
|
+
Returns:
|
|
302
|
+
tuple (bool, str): 返回一个元组,包含:
|
|
303
|
+
- bool: 操作是否成功
|
|
304
|
+
- str: 失败原因(如果操作失败)
|
|
305
|
+
"""
|
|
306
|
+
pass
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
@REGISTRY.register("SteelPlateDel")
|
|
310
|
+
def osis_steel_plate_del(Index: int, PlateID: int):
|
|
311
|
+
"""删除自定义钢梁截面的母板。
|
|
312
|
+
|
|
313
|
+
Args:
|
|
314
|
+
Index (int): 截面编号。
|
|
315
|
+
PlateID (int): 母板编号。
|
|
316
|
+
|
|
317
|
+
Returns:
|
|
318
|
+
tuple (bool, str): 返回一个元组,包含:
|
|
319
|
+
- bool: 操作是否成功
|
|
320
|
+
- str: 失败原因(如果操作失败)
|
|
321
|
+
"""
|
|
322
|
+
pass
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
@REGISTRY.register("RibLayoutC")
|
|
326
|
+
def osis_rib_layout_c(Index: int, PlateID: int, LayoutID: int, RibName: str,
|
|
327
|
+
RibStartPosition: Literal[0, 1],
|
|
328
|
+
RibLocation: Literal["Left", "Right", "Both"],
|
|
329
|
+
*layout: Any):
|
|
330
|
+
"""定义或修改自定义钢梁截面的加劲肋布置。
|
|
331
|
+
|
|
332
|
+
Args:
|
|
333
|
+
Index (int): 截面编号。
|
|
334
|
+
PlateID (int): 母板编号。
|
|
335
|
+
LayoutID (int): 加劲肋布置信息编号。
|
|
336
|
+
RibName (str): 加劲肋名称。
|
|
337
|
+
RibStartPosition (int): 加劲肋布置参考点,1=从起点开始布置,0=从终点开始布置。
|
|
338
|
+
RibLocation (str): 以起点到终点的线段为基准,Left=左侧,Right=右侧,Both=双侧。
|
|
339
|
+
*layout: 展平的 (布置间距, 布置次数) 序列:
|
|
340
|
+
LayoutDis1, LayoutNum1, ..., LayoutDisi, LayoutNumi。
|
|
341
|
+
|
|
342
|
+
Returns:
|
|
343
|
+
tuple (bool, str): 返回一个元组,包含:
|
|
344
|
+
- bool: 操作是否成功
|
|
345
|
+
- str: 失败原因(如果操作失败)
|
|
346
|
+
"""
|
|
347
|
+
pass
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
@REGISTRY.register("RibLayoutCDel")
|
|
351
|
+
def osis_rib_layout_c_del(Index: int, PlateID: int, LayoutID: int):
|
|
352
|
+
"""删除自定义钢梁截面板件上的加劲肋布置。
|
|
353
|
+
|
|
354
|
+
Args:
|
|
355
|
+
Index (int): 截面编号。
|
|
356
|
+
PlateID (int): 母板编号。
|
|
357
|
+
LayoutID (int): 加劲肋布置信息编号。
|
|
358
|
+
|
|
263
359
|
Returns:
|
|
264
360
|
tuple (bool, str): 返回一个元组,包含:
|
|
265
361
|
- bool: 操作是否成功
|
pyosis/transfer/routes.py
CHANGED
|
@@ -95,6 +95,9 @@ ROUTES = {
|
|
|
95
95
|
"RibLayout": ("chain", "engine.section.get", "add_rib_layout", 0),
|
|
96
96
|
"RibLayoutDel": ("chain", "engine.section.get", "delete_rib_layout", 0),
|
|
97
97
|
"SteelPlate": ("chain", "engine.section.get", "add_steel_plate", 0),
|
|
98
|
+
"SteelPlateDel": ("chain", "engine.section.get", "delete_steel_plate", 0),
|
|
99
|
+
"RibLayoutC": ("chain", "engine.section.get", "add_rib_layout_c", 0),
|
|
100
|
+
"RibLayoutCDel": ("chain", "engine.section.get", "delete_rib_layout_c", 0),
|
|
98
101
|
|
|
99
102
|
# ─── NODE ───
|
|
100
103
|
"Node": "engine.node.create",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|