Surface

class steno3d.core.Surface

Low-level Steno3D Surface resource

Surfaces are 2D resources. Their geometry is defined by either a triangulated Mesh2D or a regularly gridded Mesh2DGrid. Mesh2D has Vertices connected by Triangles; Mesh2DGrid has regular spacing defined on two axes. Surfaces may have Data defined either on the vertices (nodes) or the faces (cell-centers). There are several surface options and mesh options available for customizing the appearance.

Surface resources can also be created through a high-level functional interface with steno3d.trisurf() (triangulated surface) or steno3d.surface() (grid surface).

Surface implements props.HasProps for dynamic, type-checked properties

Required Properties:

Mesh (props.Union) - Structure of the surface resource, Types: props.Instance (Class: Mesh2D), props.Instance (Class: Mesh2DGrid)

Optional Properties:

Data (props.Repeated) - Data defined on the surface resource, Type: props.Instance (Class: SurfaceBinder)

Textures (props.Repeated) - Images mapped to the surface resource, Type: props.Instance (Class: Texture2DImage)

Opts (props.Instance) - Options for the surface resource, Class: SurfaceOptions

Title (props.String) - Content title

Description (props.String) - Content description

See the EXAMPLES

See also steno3d.trisurf, steno3d.surface, steno3d.core.Mesh2D, steno3d.core.Mesh2DGrid, steno3d.core.binders, steno3d.core.opts.SurfaceOptions, steno3d.core.CompositeResource, steno3d.core.Project