PLaSK User Manual

Generator3D Class

class plask.mesh.Generator3D

Base class for all 3D mesh generators.

Methods

__call__(…) Generate mesh for given geometry object or load it from the cache.
clear_cache() Clear cache of generated meshes
generate(…) Generate mesh for given geometry object omitting the cache.

Descriptions

Method Details

Generator3D.__call__(object)
Generator3D.__call__(geometry)

Generate mesh for given geometry object or load it from the cache.

Parameters:
  • geometry – Geometry to generate mesh at.
  • object – Geometry object to generate mesh at.
Generator3D.clear_cache()

Clear cache of generated meshes

Generator3D.generate(object)
Generator3D.generate(geometry)

Generate mesh for given geometry object omitting the cache.

Parameters:
  • geometry – Geometry to generate mesh at.
  • object – Geometry object to generate mesh at.