-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathplotlib.py
executable file
·585 lines (524 loc) · 26.6 KB
/
plotlib.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
# --------------------------------------------------------------------------
# Blendyn -- file plotlib.py
# Copyright (C) 2015 -- 2021 Andrea Zanoni -- [email protected]
# --------------------------------------------------------------------------
# ***** BEGIN GPL LICENSE BLOCK *****
#
# This file is part of Blendyn, add-on script for Blender.
#
# Blendyn is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Blendyn is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Blendyn. If not, see <http://www.gnu.org/licenses/>.
#
# ***** END GPL LICENCE BLOCK *****
# --------------------------------------------------------------------------
import bpy
from .elementlib import *
from .matplotliblib import *
from .pygalplotlib import *
from .bokehplotlib import *
import os
class BLENDYN_UL_plot_var_list(bpy.types.UIList):
def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index):
layout.label(text = item.name)
# -----------------------------------------------------------
# end of BLENDYN_UL_plot_var_list class
bpy.utils.register_class(BLENDYN_UL_plot_var_list)
class BLENDYN_UL_object_plot_var_list(bpy.types.UIList):
def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index):
layout.label(text = item.name)
def filter_items(self, context, data, propname):
items = getattr(data, propname)
obj = context.object
hf = bpy.types.UI_UL_list
try:
dictitem = get_dict_item(context, obj)
flt_flags = hf.filter_items_by_name(dictitem.mbclass + '.' + \
str(dictitem.int_label), self.bitflag_filter_item, items)
return flt_flags, []
except KeyError:
return [], []
except AttributeError:
return [], []
# -----------------------------------------------------------
# end of BLENDYN_UL_object_plot_var_list class
bpy.utils.register_class(BLENDYN_UL_object_plot_var_list)
class BLENDYN_UL_render_vars_list(bpy.types.UIList):
def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index):
layout.label(text = item.name)
layout.label(text = item.variable + comp_repr(item.components, item.variable, context))
# -----------------------------------------------------------
# end of BLENDYN_UL_render_vars_list class
bpy.utils.register_class(BLENDYN_UL_render_vars_list)
## Simple operator to set plot frequency for
class BLENDYN_OT_set_plot_freq(bpy.types.Operator):
""" Sets the plot frequency for the current object plot variable equal
to the import frequency of the MBDyn results """
bl_idname = "blendyn.set_plot_freq"
bl_label = "Sets the plot frequency for the scene equal to the load frequency"
is_object: bpy.props.BoolProperty()
def execute(self, context):
mbs = context.scene.mbdyn
if self.is_object:
pvar = mbs.plot_vars[context.object.mbdyn.plot_var_index]
else:
pvar = mbs.plot_vars[mbs.plot_var_index]
pvar.plot_frequency = int(context.scene.mbdyn.load_frequency)
return {'FINISHED'}
# --------------------------------------------------
# end of BLENDYN_OT_set_plot_freq class
class BLENDYN_OT_set_render_variable(bpy.types.Operator):
""" Sets the NetCDF variables to be\
displayed in the rendered frame """
bl_idname = "blendyn.set_render_variable"
bl_label = "Set Render Variable"
def execute(self, context):
mbs = context.scene.mbdyn
if not(mbs.render_var_name in mbs.render_vars.keys()):
rend = mbs.render_vars.add()
rend.name = mbs.plot_vars[mbs.plot_var_index].name
rend.varname = mbs.render_var_name
rend.variable = mbs.plot_vars[mbs.plot_var_index].name
rend.components = mbs.plot_vars[mbs.plot_var_index].plot_comps
return {'FINISHED'}
else:
message = "BLENDYN_OT_set_render_variable::execute() "\
+ "Variable already set for display"
self.report({'WARNING'}, message)
logging.warning(message)
return {'CANCELLED'}
def invoke(self, context, event):
return self.execute(context)
# -----------------------------------------------------------
# end of BLENDYN_OT_set_render_variable class
class BLENDYN_OT_delete_render_variable(bpy.types.Operator):
""" Delete a render variable """
bl_idname = "blendyn.delete_render_variable"
bl_label = "Delete Render Variable"
def execute(self, context):
mbs = context.scene.mbdyn
message = "BLENDYN_OT_delete_render_variable::execute() "\
+ "Deleting render variable "\
+ mbs.render_vars[mbs.render_index].varname
self.report({'INFO'}, message)
logging.info(message)
mbs.render_vars.remove(mbs.render_index)
return {'FINISHED'}
def invoke(self, context, event):
return self.execute(context)
# -----------------------------------------------------------
# end of BLENDYN_OT_delete_render_variable class
class BLENDYN_OT_delete_all_render_variables(bpy.types.Operator):
""" Deleted all variables set for display in render frames """
bl_idname = "blendyn.delete_all_render_variables"
bl_label = "Delete all Render variables"
def execute(self, context):
mbs = context.scene.mbdyn
mbs.render_vars.clear()
message = "BLENDYN_OT_delete_all_render_variables::execute() "\
+ "Deleted all render variables"
self.report({'INFO'}, message)
logging.info(message)
return {'FINISHED'}
def invoke(self, context, event):
return self.execute(context)
# -----------------------------------------------------------
# end of BLENDYN_OT_delete_all_render_variables class
class BLENDYN_OT_show_display_group(bpy.types.Operator):
""" Shows the selected display group """
bl_idname = "blendyn.show_display_group"
bl_label = "Show display group"
def execute(self, context):
mbs = context.scene.mbdyn
if mbs.display_enum_group == '':
message = "BLENDYN_OT_show_display_group::execute() "\
+ "No Groups set"
self.report({'ERROR'}, message)
logging.error(message)
mbs.render_vars.clear()
for var in mbs.display_vars_group[mbs.display_enum_group].group:
rend = mbs.render_vars.add()
rend.idx = var.idx
rend.varname = var.varname
rend.variable = var.variable
rend.components = var.components
return {'FINISHED'}
def invoke(self, context, event):
return self.execute(context)
# -----------------------------------------------------------
# end of BLENDYN_OT_show_display_group class
class BLENDYN_OT_set_display_group(bpy.types.Operator):
""" Set group of variables to display in rendered frames """
bl_idname = "sel.set_display_group"
bl_label = "Set Display Group"
def execute(self, context):
mbs = context.scene.mbdyn
exist_display_groups = [mbs.display_vars_group[var].name for var in range(len(mbs.display_vars_group))]
try:
index = exist_display_groups.index(mbs.group_name)
mbs.display_vars_group[index].group.clear()
vargroup = mbs.display_vars_group[mbs.group_name]
for ii in list(range(len(mbs.render_vars))):
rend = vargroup.group.add()
rend.idx = mbs.render_vars[ii].idx
rend.varname = mbs.render_vars[ii].varname
rend.variable = mbs.render_vars[ii].variable
rend.components = mbs.render_vars[ii].components
except ValueError:
vargroup = mbs.display_vars_group.add()
vargroup.name = mbs.group_name
for ii in list(range(len(mbs.render_vars))):
rend = vargroup.group.add()
rend.idx = mbs.render_vars[ii].idx
rend.varname = mbs.render_vars[ii].varname
rend.variable = mbs.render_vars[ii].variable
rend.components = mbs.render_vars[ii].components
return {'FINISHED'}
def invoke(self, context, event):
return self.execute(context)
# -----------------------------------------------------------
# end of BLENDYN_OT_set_display_group class
## Panel in object properties toolbar
class BLENDYN_PT_object_plot(bpy.types.Panel):
""" Plotting of MBDyn NetCDF variables:
Object properties panel"""
bl_label = "MBDyn data plot"
bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW'
bl_context = 'object'
bl_options = {'DEFAULT_CLOSED'}
def draw(self, context):
mbs = context.scene.mbdyn
mbo = context.object.mbdyn
try:
pvar = mbs.plot_vars[mbo.plot_var_index]
except IndexError:
return
layout = self.layout
row = layout.row()
if mbs.use_netcdf:
ncfile = os.path.join(os.path.dirname(mbs.file_path), \
mbs.file_basename + '.nc')
nc = Dataset(ncfile, 'r')
row.template_list('BLENDYN_UL_object_plot_var_list', \
"MBDyn variable to plot", \
mbs, "plot_vars", \
mbo, "plot_var_index")
row = layout.row()
row.prop(pvar, "as_driver")
row = layout.row()
row.prop(mbs, "plot_engine", text = "Plot engine:")
try:
dim = len(nc.variables[pvar.name].shape)
if dim == 2 and mbs.plot_type != "TRAJECTORY": # vec3
box = layout.box()
split = box.split(factor = 1./3.)
column = split.column()
column.prop(pvar, "plot_comps", index = 0, text = "x")
column = split.column()
column.prop(pvar, "plot_comps", index = 1, text = "y")
column = split.column()
column.prop(pvar, "plot_comps", index = 2, text = "z")
elif dim == 3 and mbs.plot_type != "TRAJECTORY":
if pvar.name[-1] == 'R':
box = layout.box()
split = box.split(factor = 1./3.)
column = split.column()
column.row().prop(pvar, "plot_comps", index = 0, text = "(1,1)")
column = split.column()
column.row().prop(pvar, "plot_comps", index = 1, text = "(1,2)")
column.row().prop(pvar, "plot_comps", index = 3, text = "(2,2)")
column = split.column()
column.row().prop(pvar, "plot_comps", index = 2, text = "(1,3)")
column.row().prop(pvar, "plot_comps", index = 4, text = "(2,3)")
column.row().prop(pvar, "plot_comps", index = 5, text = "(3,3)")
else:
box = layout.box()
split = box.split(factor = 1./3.)
column = split.column()
column.row().prop(pvar, "plot_comps", index = 0, text = "(1,1)")
column.row().prop(pvar, "plot_comps", index = 3, text = "(2,1)")
column.row().prop(pvar, "plot_comps", index = 6, text = "(3,1)")
column = split.column()
column.row().prop(pvar, "plot_comps", index = 1, text = "(1,2)")
column.row().prop(pvar, "plot_comps", index = 4, text = "(2,2)")
column.row().prop(pvar, "plot_comps", index = 7, text = "(3,2)")
column = split.column()
column.row().prop(pvar, "plot_comps", index = 2, text = "(1,3)")
column.row().prop(pvar, "plot_comps", index = 5, text = "(2,3)")
column.row().prop(pvar, "plot_comps", index = 8, text = "(3,3)")
row = layout.row()
col = layout.column()
col.prop(pvar, "plot_frequency")
col.operator(BLENDYN_OT_set_plot_freq.bl_idname, \
text = "Use Import frequency").is_object = True
row = layout.row()
row.prop(mbs, "plot_type", text="Plot type:")
row = layout.row()
if mbs.plot_type == "TIME_HISTORY":
if mbs.plot_engine == "PYGAL":
row = layout.row()
row.operator(BLENDYN_OT_plot_var_object.bl_idname,\
text = "Plot variable")
elif mbs.plot_engine == "MATPLOTLIB":
row = layout.row()
row.operator(BLENDYN_OT_mplot_var_object.bl_idname,\
text = "Plot variable")
elif mbs.plot_engine == "BOKEH":
box = layout.box()
split = box.split(factor=1. / 2.)
column = split.column()
column.prop(mbs, "show_in_localhost", text="Show in localhost")
column = split.column()
column.prop(mbs, "save_as_png", index=1, text="Save as png")
row = layout.row()
row.operator(BLENDYN_OT_bplot_var_object.bl_idname, \
text="Plot variable")
elif mbs.plot_type == "AUTOSPECTRUM":
row = layout.row()
row.prop(pvar, "plot_xrange_min", text="Plot frequency min")
row = layout.row()
row.prop(pvar, "plot_xrange_max", text="Plot frequency max")
row = layout.row()
row.prop(pvar, "fft_remove_mean")
if mbs.plot_engine == "PYGAL":
row = layout.row()
row.operator(BLENDYN_OT_plot_var_sxx_object.bl_idname,\
text="Plot variable Autospectrum")
elif mbs.plot_engine == "MATPLOTLIB":
row = layout.row()
row.operator(BLENDYN_OT_mplot_var_sxx_object.bl_idname,\
text="Plot variable Autospectrum")
elif mbs.plot_engine == "BOKEH":
box = layout.box()
split = box.split(factor=1. / 2.)
column = split.column()
column.prop(mbs, "show_in_localhost", text="Show in localhost")
column = split.column()
column.prop(mbs, "save_as_png", index=1, text="Save as png")
row = layout.row()
row.operator(BLENDYN_OT_bplot_var_sxx_object.bl_idname, \
text="Plot variable Autospectrum")
elif mbs.plot_type == "TRAJECTORY":
if mbs.plot_engine == "PYGAL":
row = layout.row()
row.label(text="This engine is not support!")
elif mbs.plot_engine == "MATPLOTLIB":
row = layout.row()
row.operator(BLENDYN_OT_mplot_trajectory_object.bl_idname, \
text="Plot variable trajectory")
elif mbs.plot_engine == "BOKEH":
box = layout.box()
split = box.split(factor=1. / 2.)
column = split.column()
column.prop(mbs, "show_in_localhost", text="Show in localhost")
column = split.column()
column.prop(mbs, "save_as_png", index=1, text="Save as png")
row = layout.row()
row.operator(BLENDYN_OT_bplot_trajectory_object.bl_idname, \
text="Plot variable trajectory")
except KeyError:
pass
else:
row = layout.row()
row.label(text = "Plotting from text output")
row.label(text = "is not supported yet.")
# -----------------------------------------------------
# end of BLENDYN_PT_object_plot class
## Panel in Scene toolbar
class BLENDYN_PT_plot_scene(bpy.types.Panel):
""" Plotting of MBDyn NetCDF variables:
Scene properties panel"""
bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW'
bl_context = 'scene'
bl_options = {'DEFAULT_CLOSED'}
bl_label = "MBDyn Data Plot"
def draw(self, context):
mbs = context.scene.mbdyn
try:
pvar = mbs.plot_vars[mbs.plot_var_index]
except IndexError:
return
layout = self.layout
row = layout.row()
if mbs.use_netcdf:
ncfile = os.path.join(os.path.dirname(mbs.file_path), \
mbs.file_basename + '.nc')
nc = Dataset(ncfile, 'r')
row.template_list('BLENDYN_UL_plot_var_list', \
"MBDyn variable to plot", \
mbs, "plot_vars",
mbs, "plot_var_index")
row = layout.row()
row.prop(mbs, "plot_engine", text = "Plot engine:")
try:
dim = len(nc.variables[pvar.name].shape)
if dim == 2 and mbs.plot_type != "TRAJECTORY": # Vec3
box = layout.box()
split = box.split(factor = 1./3.)
column = split.column()
column.prop(pvar, "plot_comps", index = 0, text = "x")
column = split.column()
column.prop(pvar, "plot_comps", index = 1, text = "y")
column = split.column()
column.prop(pvar, "plot_comps", index = 2, text = "z")
elif dim == 3 and mbs.plot_type != "TRAJECTORY": # Mat3x3
if pvar.name[-1] == 'R':
box = layout.box()
split = box.split(factor = 1./3.)
column = split.column()
column.row().prop(pvar, "plot_comps", index = 0, text = "(1,1)")
column = split.column()
column.row().prop(pvar, "plot_comps", index = 1, text = "(1,2)")
column.row().prop(pvar, "plot_comps", index = 3, text = "(2,2)")
column = split.column()
column.row().prop(pvar, "plot_comps", index = 2, text = "(1,3)")
column.row().prop(pvar, "plot_comps", index = 4, text = "(2,3)")
column.row().prop(pvar, "plot_comps", index = 5, text = "(3,3)")
else:
box = layout.box()
split = box.split(factor = 1./3.)
column = split.column()
column.row().prop(pvar, "plot_comps", index = 0, text = "(1,1)")
column.row().prop(pvar, "plot_comps", index = 3, text = "(2,1)")
column.row().prop(pvar, "plot_comps", index = 6, text = "(3,1)")
column = split.column()
column.row().prop(pvar, "plot_comps", index = 1, text = "(1,2)")
column.row().prop(pvar, "plot_comps", index = 4, text = "(2,2)")
column.row().prop(pvar, "plot_comps", index = 7, text = "(3,2)")
column = split.column()
column.row().prop(pvar, "plot_comps", index = 2, text = "(1,3)")
column.row().prop(pvar, "plot_comps", index = 5, text = "(2,3)")
column.row().prop(pvar, "plot_comps", index = 8, text = "(3,3)")
# plot controls
row = layout.row()
col = layout.column()
col.prop(pvar, "plot_frequency")
col.operator(BLENDYN_OT_set_plot_freq.bl_idname, \
text = "Use Import freq").is_object = False
row = layout.row()
row.prop(mbs, "plot_type")
if mbs.plot_type == "TIME_HISTORY":
if mbs.plot_engine == "PYGAL":
row = layout.row()
row.operator(BLENDYN_OT_plot_var_scene.bl_idname,\
text="Plot variable")
elif mbs.plot_engine == "MATPLOTLIB":
row = layout.row()
row.operator(BLENDYN_OT_mplot_var_scene.bl_idname,\
text = "Plot variable")
elif mbs.plot_engine == "BOKEH":
box = layout.box()
split = box.split(factor=1. / 2.)
column = split.column()
column.prop(mbs, "show_in_localhost", text="Show in localhost")
column = split.column()
column.prop(mbs, "save_as_png", index=1, text="Save as png")
row = layout.row()
row.operator(BLENDYN_OT_bplot_var_scene.bl_idname, \
text="Plot variable")
elif mbs.plot_type == "AUTOSPECTRUM":
row = layout.row()
row.prop(pvar, "fft_remove_mean")
row = layout.row()
row.prop(pvar, "plot_xrange_min", text = "Plot frequency min")
row = layout.row()
row.prop(pvar, "plot_xrange_max", text = "Plot frequency max")
if mbs.plot_engine == "PYGAL":
row = layout.row()
row.operator(BLENDYN_OT_plot_var_sxx_scene.bl_idname,\
text = "Plot variable Autospectrum")
elif mbs.plot_engine == "MATPLOTLIB":
row = layout.row()
row.operator(BLENDYN_OT_mplot_var_sxx_scene.bl_idname,\
text = "Plot variable Autospectrum")
elif mbs.plot_engine == "BOKEH":
box = layout.box()
split = box.split(factor=1. / 2.)
column = split.column()
column.prop(mbs, "show_in_localhost", text="Show in localhost")
column = split.column()
column.prop(mbs, "save_as_png", index=1, text="Save as png")
row = layout.row()
row.operator(BLENDYN_OT_bplot_var_sxx_scene.bl_idname, \
text="Plot variable Autospectrum")
elif mbs.plot_type == "TRAJECTORY":
if mbs.plot_engine == "PYGAL":
row = layout.row()
row.label(text="This plot engine is not support!")
elif mbs.plot_engine == "MATPLOTLIB":
row = layout.row()
row.operator(BLENDYN_OT_mplot_trajectory_scene.bl_idname,\
text = "Plot variable trajectory")
elif mbs.plot_engine == "BOKEH":
box = layout.box()
split = box.split(factor=1. / 2.)
column = split.column()
column.prop(mbs, "show_in_localhost", text="Show in localhost")
column = split.column()
column.prop(mbs, "save_as_png", index=1, text="Save as png")
row = layout.row()
row.operator(BLENDYN_OT_bplot_trajectory_scene.bl_idname, \
text="Plot variable trajectory")
except IndexError:
pass
layout.separator()
layout.separator()
row = layout.row()
row.template_list('BLENDYN_UL_render_vars_list', \
"MBDyn Variables to Render", \
mbs, "render_vars",\
mbs, "render_index")
row = layout.row()
row.prop(mbs, "render_var_name")
row = layout.row()
row.operator(BLENDYN_OT_set_render_variable.bl_idname, text = 'Set Display Variable')
row = layout.row()
row.operator(BLENDYN_OT_delete_render_variable.bl_idname, \
text = 'Delete Display Variable')
row = layout.row()
row.operator(BLENDYN_OT_delete_all_render_variables.bl_idname, text = 'Clear')
# plot controls
if mbs.plot_engine == "PYGAL":
row = layout.row()
row.operator(BLENDYN_OT_plot_variables_list.bl_idname, \
text="Plot variables in List")
elif mbs.plot_engine == "MATPLOTLIB":
row = layout.row()
row.operator(BLENDYN_OT_mplot_variables_list.bl_idname,\
text="Plot variables in List")
elif mbs.plot_engine == "BOKEH":
box = layout.box()
split = box.split(factor=1. / 2.)
column = split.column()
column.prop(mbs, "show_in_localhost", text="Show in localhost")
column = split.column()
column.prop(mbs, "save_as_png", index=1, text="Save as png")
row = layout.row()
row.operator(BLENDYN_OT_bplot_variables_list.bl_idname, \
text="Plot variables in List")
row.prop(mbs, "plot_group", text = "Plot Group")
layout.separator()
layout.separator()
row = layout.row()
row.prop(mbs, "group_name")
row.operator(BLENDYN_OT_set_display_group.bl_idname, text="Set Display Group")
row = layout.row()
row.prop(mbs, "display_enum_group")
row.operator(BLENDYN_OT_show_display_group.bl_idname, text = "Show Display Group")
else:
row = layout.row()
row.label(text = "Plotting from text output")
row.label(text = "is not supported yet.")
# -----------------------------------------------------------
# end of BLENDYN_PT_plot_scene class