surface_builder
SurfaceBuilder
Bases: SurfaceObject
input_data = PolydataBuilder.build(points, triangles)
instance-attribute
__init__(points=None, triangles=None)
set_cell_scalars(scalars, cmap='hsv')
set_color(color)
set_edges(visible, color='white', line_width=0.3)
set_opacity(opacity)
set_polydata(polydata)
set_properties(dct)
Call setter methods of properties through a dictionary.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
dct |
dict
|
Dictionary of properties with their values |
required |
Returns:
| Type | Description |
|---|---|
Self
|
self |