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.
Files changed (118) hide show
  1. {osis_python-0.7.3/src/osis_python.egg-info → osis_python-0.7.4}/PKG-INFO +1 -1
  2. {osis_python-0.7.3 → osis_python-0.7.4/src/osis_python.egg-info}/PKG-INFO +1 -1
  3. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/__init__.py +1 -1
  4. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/section/manager.py +3 -2
  5. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/section/param.py +6 -4
  6. {osis_python-0.7.3 → osis_python-0.7.4}/LICENSE +0 -0
  7. {osis_python-0.7.3 → osis_python-0.7.4}/README.md +0 -0
  8. {osis_python-0.7.3 → osis_python-0.7.4}/pyproject.toml +0 -0
  9. {osis_python-0.7.3 → osis_python-0.7.4}/setup.cfg +0 -0
  10. {osis_python-0.7.3 → osis_python-0.7.4}/src/osis_python.egg-info/SOURCES.txt +0 -0
  11. {osis_python-0.7.3 → osis_python-0.7.4}/src/osis_python.egg-info/dependency_links.txt +0 -0
  12. {osis_python-0.7.3 → osis_python-0.7.4}/src/osis_python.egg-info/requires.txt +0 -0
  13. {osis_python-0.7.3 → osis_python-0.7.4}/src/osis_python.egg-info/top_level.txt +0 -0
  14. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/boundary/__init__.py +0 -0
  15. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/boundary/interface.py +0 -0
  16. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/boundary/manager.py +0 -0
  17. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/control/__init__.py +0 -0
  18. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/control/control.py +0 -0
  19. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/control/io.py +0 -0
  20. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/control/manager.py +0 -0
  21. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/control/nonlinear.py +0 -0
  22. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/core/__init__.py +0 -0
  23. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/core/all_func.py +0 -0
  24. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/core/apdl_sync.py +0 -0
  25. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/core/basic_manager.py +0 -0
  26. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/core/batch.py +0 -0
  27. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/core/client.py +0 -0
  28. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/core/command.py +0 -0
  29. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/core/engine.py +0 -0
  30. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/core/exceptions.py +0 -0
  31. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/core/references.py +0 -0
  32. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/core/solver.py +0 -0
  33. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/core/sync_apdl_cli.py +0 -0
  34. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/display/__init__.py +0 -0
  35. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/display/interface.py +0 -0
  36. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/display/manager.py +0 -0
  37. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/dynamic/__init__.py +0 -0
  38. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/dynamic/load_to_mass.py +0 -0
  39. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/dynamic/manager.py +0 -0
  40. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/dynamic/modal.py +0 -0
  41. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/dynamic/seismic.py +0 -0
  42. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/element/__init__.py +0 -0
  43. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/element/interface.py +0 -0
  44. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/element/manager.py +0 -0
  45. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/general/__init__.py +0 -0
  46. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/general/interface.py +0 -0
  47. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/geometry/__init__.py +0 -0
  48. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/geometry/interface.py +0 -0
  49. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/geometry/manager.py +0 -0
  50. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/live/__init__.py +0 -0
  51. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/live/analysis.py +0 -0
  52. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/live/grade.py +0 -0
  53. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/live/lane.py +0 -0
  54. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/live/manager.py +0 -0
  55. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/load/__init__.py +0 -0
  56. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/load/loadcase.py +0 -0
  57. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/load/manager.py +0 -0
  58. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/load/static.py +0 -0
  59. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/load/tendon.py +0 -0
  60. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/material/__init__.py +0 -0
  61. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/material/interface.py +0 -0
  62. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/material/manager.py +0 -0
  63. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/node/__init__.py +0 -0
  64. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/node/interface.py +0 -0
  65. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/node/manager.py +0 -0
  66. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/post/__init__.py +0 -0
  67. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/post/combine.py +0 -0
  68. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/post/design_check.py +0 -0
  69. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/post/display.py +0 -0
  70. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/post/manager.py +0 -0
  71. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/project/__init__.py +0 -0
  72. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/project/interface.py +0 -0
  73. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/project/manager.py +0 -0
  74. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/property/__init__.py +0 -0
  75. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/property/component_thickness.py +0 -0
  76. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/property/coordinate.py +0 -0
  77. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/property/creep_shrink.py +0 -0
  78. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/property/damping.py +0 -0
  79. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/property/manager.py +0 -0
  80. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/property/pu_curve.py +0 -0
  81. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/quick_building/__init__.py +0 -0
  82. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/quick_building/interface.py +0 -0
  83. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/result/__init__.py +0 -0
  84. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/result/check.py +0 -0
  85. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/result/env.py +0 -0
  86. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/result/loadcase.py +0 -0
  87. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/result/manager.py +0 -0
  88. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/result/result.py +0 -0
  89. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/section/__init__.py +0 -0
  90. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/section/common.py +0 -0
  91. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/section/composite.py +0 -0
  92. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/section/numeric.py +0 -0
  93. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/section/rebar.py +0 -0
  94. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/section/rib.py +0 -0
  95. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/section/steel.py +0 -0
  96. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/settlement/__init__.py +0 -0
  97. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/settlement/interface.py +0 -0
  98. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/settlement/manager.py +0 -0
  99. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/stability/__init__.py +0 -0
  100. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/stability/buckling.py +0 -0
  101. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/stability/manager.py +0 -0
  102. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/stage/__init__.py +0 -0
  103. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/stage/define.py +0 -0
  104. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/stage/manager.py +0 -0
  105. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/stage/overall.py +0 -0
  106. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/thickness/__init__.py +0 -0
  107. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/thickness/interface.py +0 -0
  108. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/thickness/manager.py +0 -0
  109. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/transfer/__init__.py +0 -0
  110. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/transfer/generator.py +0 -0
  111. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/transfer/matrix.py +0 -0
  112. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/transfer/out_to_python.py +0 -0
  113. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/transfer/parser.py +0 -0
  114. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/transfer/routes.py +0 -0
  115. {osis_python-0.7.3 → osis_python-0.7.4}/src/pyosis/transfer/split.py +0 -0
  116. {osis_python-0.7.3 → osis_python-0.7.4}/tests/test_batch.py +0 -0
  117. {osis_python-0.7.3 → osis_python-0.7.4}/tests/test_delete_occupied.py +0 -0
  118. {osis_python-0.7.3 → osis_python-0.7.4}/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.7.3
3
+ Version: 0.7.4
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: osis-python
3
- Version: 0.7.3
3
+ Version: 0.7.4
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
@@ -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.3"
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