This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
RebarOrientation.py
48 lines (37 loc) · 1.77 KB
/
RebarOrientation.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
from abaqusConstants import *
from .OdbDatumCsys import OdbDatumCsys
from .OdbMeshNode import OdbMeshNode
from .OdbSet import OdbSet
class RebarOrientation:
"""The RebarOrientation object represents the orientation of the rebar reference.
Attributes
----------
axis: SymbolicConstant
A SymbolicConstant specifying the axis of a cylindrical or spherical datum coordinate
system about which an additional rotation is applied. Possible values are AXIS_1,
AXIS_2, and AXIS_3.
angle: float
A Float specifying the angle of the additional rotation.
region: OdbSet
An :py:class:`~abaqus.Odb.OdbSet.OdbSet` object specifying a region for which the rebar orientation is defined.
csys: OdbDatumCsys
An :py:class:`~abaqus.Odb.OdbDatumCsys.OdbDatumCsys` object specifying a datum coordinates system.
Notes
-----
This object can be accessed by:
.. code-block:: python
import odbAccess
session.odbs[name].parts[name].rebarOrientations[i]
session.odbs[name].rootAssembly.instances[name].rebarOrientations[i]
session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.rebarOrientations[i]
"""
# A SymbolicConstant specifying the axis of a cylindrical or spherical datum coordinate
# system about which an additional rotation is applied. Possible values are AXIS_1,
# AXIS_2, and AXIS_3.
axis: SymbolicConstant = None
# A Float specifying the angle of the additional rotation.
angle: float = None
# An OdbSet object specifying a region for which the rebar orientation is defined.
region: OdbSet = OdbSet("set", tuple[OdbMeshNode]())
# An OdbDatumCsys object specifying a datum coordinates system.
csys: OdbDatumCsys = OdbDatumCsys()