This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
AnalyticSurface.py
56 lines (44 loc) · 2.19 KB
/
AnalyticSurface.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
from abaqusConstants import *
from .OdbSequenceAnalyticSurfaceSegment import OdbSequenceAnalyticSurfaceSegment
class AnalyticSurface:
"""The AnalyticSurface object is a geometric surface that can be described with straight
and/or curved line segments.
Attributes
----------
name: str
A String specifying the name of the analytic surface.
type: SymbolicConstant
A SymbolicConstant specifying the type of :py:class:`~abaqus.Odb.AnalyticSurface.AnalyticSurface` object. Possible values are
SEGMENTS, CYLINDER, and REVOLUTION.
filletRadius: float
A Float specifying radius of curvature to smooth discontinuities between adjoining
segments. The default value is 0.0.
segments: OdbSequenceAnalyticSurfaceSegment
An :py:class:`~abaqus.Odb.OdbSequenceAnalyticSurfaceSegment.OdbSequenceAnalyticSurfaceSegment` object specifying the profile associated with the
surface.
localCoordData: float
A tuple of tuples of Floats specifying the global coordinates of points representing the
local coordinate system, if used.
Notes
-----
This object can be accessed by:
.. code-block:: python
import odbAccess
session.odbs[name].parts[name].analyticSurface
session.odbs[name].rootAssembly.instances[name].analyticSurface
session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.analyticSurface
"""
# A String specifying the name of the analytic surface.
name: str = ""
# A SymbolicConstant specifying the type of AnalyticSurface object. Possible values are
# SEGMENTS, CYLINDER, and REVOLUTION.
type: SymbolicConstant = None
# A Float specifying radius of curvature to smooth discontinuities between adjoining
# segments. The default value is 0.0.
filletRadius: float = 0
# An OdbSequenceAnalyticSurfaceSegment object specifying the profile associated with the
# surface.
segments: OdbSequenceAnalyticSurfaceSegment = OdbSequenceAnalyticSurfaceSegment()
# A tuple of tuples of Floats specifying the global coordinates of points representing the
# local coordinate system, if used.
localCoordData: float = None