gcs.verify package

Module contents

gcs.verify

Functions present in gcs.verify are listed below.

Verifying GCS

verify

verify_base_perimeter

verify_radius

gcs.verify.verify(shape: gcs.GCS, verbose: bool = False) bool[source]

Performs all checks on a GCS.

The checks reduces the risk of print defects.

Parameters:
shapeGCS.gcs

The GCS.

verbosebool, (default=`False`)

Set to True to receive verify messages.

Returns:
validbool

True if shape passes all checks.

Examples

>>> shape = gcs.GCS(...)
>>> check = gcs.verify.verify(shape=shape)
>>> shape = gcs.GCS(...)
>>> check = shape.valid
gcs.verify.verify_base_perimeter(shape: gcs.GCS, verbose: bool = False) bool[source]

Checks if the GCS base perimeter is valid.

This check reduces the risk of print defects by ensuring a sufficiently large base for adhesion.

Parameters:
shapeGCS.gcs

The GCS.

verbosebool, (default=`False`)

Set to True to receive verify messages.

Returns:
validbool

True if shape passes the base perimeter check.

Examples

>>> shape = gcs.GCS(...)
>>> check = gcs.verify.verify_base_perimeter(shape=shape)
>>> shape = gcs.GCS(...)
>>> check = shape.valid_base_perimeter
gcs.verify.verify_radius(shape: gcs.GCS, verbose: bool = False) bool[source]

Checks if the GCS minimum radius is valid.

This check reduces the risk of print defects by ensuring print paths are well spaced.

Parameters:
shapeGCS.gcs

The GCS.

verbosebool, (default=`False`)

Set to True to receive verify messages.

Returns:
validbool

True if shape passes the radius check.

Examples

>>> shape = gcs.GCS(...)
>>> check = gcs.verify.verify_radius(shape=shape)
>>> shape = gcs.GCS(...)
>>> check = shape.valid_radius