This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
SurfaceSection.py
67 lines (50 loc) · 1.7 KB
/
SurfaceSection.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
from abaqusConstants import *
from .RebarLayers import RebarLayers
from .Section import Section
class SurfaceSection(Section):
"""The SurfaceSection object defines the properties of a surface section.
The SurfaceSection object is derived from the Section object.
Attributes
----------
rebarLayers: RebarLayers
A :py:class:`~abaqus.Section.RebarLayers.RebarLayers` object specifying reinforcement properties.
Notes
-----
This object can be accessed by:
.. code-block:: python
import section
mdb.models[name].sections[name]
import odbSection
session.odbs[name].sections[name]
The corresponding analysis keywords are:
- SURFACE SECTION
"""
# A RebarLayers object specifying reinforcement properties.
rebarLayers: RebarLayers = None
def __init__(self, name: str, useDensity: Boolean = OFF, density: float = 0):
"""This method creates a SurfaceSection object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].SurfaceSection
session.odbs[name].SurfaceSection
Parameters
----------
name
A String specifying the repository key.
useDensity
A Boolean specifying whether or not to use the value of *density*. The default value is
OFF.
density
A Float specifying the value of density to apply to this section. The default value is
0.0.
Returns
-------
A SurfaceSection object.
Raises
------
RangeError and InvalidNameError.
"""
super().__init__()
pass