Other Plot Objects In 3D#

squap.add_grid_3D(diagonal, spacing=1)[source]#

Adds a grid that lies on or parallel to one of the planes.

Parameters:
  • diagonal (tuple of float) – A tuple of two coordinates that span the diagonal of a rectangle that lies on or parallel to the xy, yz, or zx plane.

  • spacing (float) – Spacing between the grid lines. Defaults to 1.

Returns:

The created grid.

Return type:

GLGridItem

squap.add_grids_3D(size, spacing=1)[source]#

Adds square grids on the xy, yz and zx planes, spanning from size[0] to size[1].

Parameters:
  • size (tuple of float) – the size of each grid.

  • spacing (float) – Spacing between the grid lines. Defaults to 1.

Returns:

The created grids.

Return type:

list of GLGridItem