-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathhotwater-isosurface-recorded.py
More file actions
32 lines (27 loc) · 1.16 KB
/
hotwater-isosurface-recorded.py
File metadata and controls
32 lines (27 loc) · 1.16 KB
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
import tecplot as tp
from tecplot.exception import *
from tecplot.constant import *
# Uncomment the following line to connect to a running instance of Tecplot 360:
# tp.session.connect()
tp.active_frame().plot(PlotType.Cartesian3D).show_isosurfaces=True
tp.active_frame().plot().isosurface(0).definition_contour_group_index=1
tp.active_frame().plot().isosurface(0).isosurface_values[0]=-6000
tp.active_frame().plot().isosurface(0).contour.flood_contour_group_index=0
tp.active_frame().plot().slice(0).effects.use_translucency=True
tp.active_frame().plot().slice(0).effects.surface_translucency=40
tp.active_frame().plot().view.psi=68.2286
tp.active_frame().plot().view.theta=-124.114
tp.active_frame().plot().view.position=(
2.95931,
tp.active_frame().plot().view.position[1],
tp.active_frame().plot().view.position[2])
tp.active_frame().plot().view.position=(
tp.active_frame().plot().view.position[0],
2.15999,
tp.active_frame().plot().view.position[2])
tp.active_frame().plot().view.position=(
tp.active_frame().plot().view.position[0],
tp.active_frame().plot().view.position[1],
1.45886)
tp.active_frame().plot().view.width=0.339885
# End Macro.