Rectangular3D.SimpleGenerator Class

class Rectangular3D.SimpleGenerator(split=False)

Generator of Rectangular3D mesh with lines at edges of all objects.

create generator

Parameters:

split (bool) – If True, the mesh lines are split into two at each object boundary.

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

Rectangular3D.SimpleGenerator.__call__(geometry)
Rectangular3D.SimpleGenerator.__call__(object)

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.

Rectangular3D.SimpleGenerator.clear_cache()

Clear cache of generated meshes

Rectangular3D.SimpleGenerator.generate(geometry)
Rectangular3D.SimpleGenerator.generate(object)

Generate mesh for given geometry object omitting the cache.

Parameters:
  • geometry – Geometry to generate mesh at.

  • object – Geometry object to generate mesh at.