Skip to content

sat_export_options

sat_export_options

Bases: file_export_options

SAT export options.

Inherits the element level-of-detail options from file_export_options.

get_binary() -> bool

Gets whether to write the SAT file in binary or a human-readable format.

Returns:

Type Description
bool

Whether to write the SAT file in binary or a human-readable format.

get_scale_factor() -> float

Gets the file scale factor.

Returns:

Type Description
float

The file scale factor.

get_version() -> int

Gets the ACIS version to use.

Returns:

Type Description
int

The ACIS version (see the ACIS_V* constants, e.g. ACIS_V33_0 = 3300).

set_binary(value: bool) -> None

Sets whether to write the SAT file in binary or a human-readable format.

Parameters:

Name Type Description Default
value bool

Whether to write the SAT file in binary or a human-readable format.

required

set_scale_factor(value: float) -> None

Sets the file scale factor.

Parameters:

Name Type Description Default
value float

The file scale factor.

required

set_version(value: int) -> None

Sets the ACIS version to use.

Any int is accepted, so a version not named by the ACIS_V* constants can be passed directly.

Parameters:

Name Type Description Default
value int

The ACIS version (e.g. sat_export_options.ACIS_V33_0).

required