This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
RectangularProfile.py
69 lines (49 loc) · 1.64 KB
/
RectangularProfile.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
from .Profile import Profile
class RectangularProfile(Profile):
"""The RectangularProfile object defines the properties of a solid rectangular profile.
The RectangularProfile object is derived from the Profile object.
Notes
-----
This object can be accessed by:
.. code-block:: python
import section
mdb.models[name].profiles[name]
import odbSection
session.odbs[name].profiles[name]
The corresponding analysis keywords are:
- BEAM SECTION
"""
def __init__(self, name: str, a: float, b: float):
"""This method creates a RectangularProfile object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].RectangularProfile
session.odbs[name].RectangularProfile
Parameters
----------
name
A String specifying the repository key.
a
A positive Float specifying the *a* dimension of the rectangular profile. For more
information, see [Beam cross-section
library](https://help.3ds.com/2021/English/DSSIMULIA_Established/SIMACAEELMRefMap/simaelm-c-beamcrosssectlib.htm?ContextScope=all).
b
A positive Float specifying the *b* dimension of the rectangular profile.
Returns
-------
A RectangularProfile object.
Raises
------
RangeError
"""
super().__init__()
pass
def setValues(self):
"""This method modifies the RectangularProfile object.
Raises
------
RangeError
"""
pass