This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
OdbSequenceAnalyticSurfaceSegment.py
81 lines (64 loc) · 2.37 KB
/
OdbSequenceAnalyticSurfaceSegment.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
70
71
72
73
74
75
76
77
78
79
80
81
class OdbSequenceAnalyticSurfaceSegment:
"""A sequence of AnalyticSurfaceSegment describing an analytic surface profile.
Notes
-----
This object can be accessed by:
.. code-block:: python
import odbAccess
session.odbs[name].parts[name].analyticSurface.segments
session.odbs[name].rootAssembly.instances[name].analyticSurface.segments
session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.analyticSurface.segments
"""
def __init__(self):
"""This method creates a OdbSequenceAnalyticSurfaceSegment object.
Notes
-----
This function can be accessed by:
.. code-block:: python
odbAccess.AnalyticSurfaceProfile
Returns
-------
An OdbSequenceAnalyticSurfaceSegment object.
"""
pass
def Start(self, origin: tuple):
"""This method adds a AnalyticSurfaceSegment describing the first segment of the surface
profile.
Parameters
----------
origin
A sequence of Floats specifying the coordinates of start point.
"""
pass
def Line(self, endPoint: tuple):
"""This method adds a AnalyticSurfaceSegment describing the line segment of the surface
profile.
Parameters
----------
endPoint
A sequence of Floats specifying the coordinates of end point.
"""
pass
def Circle(self, center: tuple, endPoint: tuple):
"""This method adds a AnalyticSurfaceSegment describing a circular segment of the surface
profile.
Parameters
----------
center
A sequence of Floats specifying the coordinates of center of the circular segment.
endPoint
A sequence of Floats specifying the coordinates of end point of the circular segment.
"""
pass
def Parabola(self, middlePoint: tuple, endPoint: tuple):
"""This method adds a AnalyticSurfaceSegment describing a parabolic segment of the surface
profile.
Parameters
----------
middlePoint
A sequence of Floats specifying the coordinates of middle point of the parabolic
segment.
endPoint
A sequence of Floats specifying the coordinates of end point of the parabolic segment.
"""
pass