step_export_options
step_export_options
Bases: file_export_options
STEP export options.
Inherits the element level-of-detail options from file_export_options.
get_imperial_units() -> bool
Gets whether imperial units are used.
Returns:
| Type | Description |
|---|---|
bool
|
Whether imperial units are used. |
get_scale_factor() -> float
Gets the file scale factor.
Returns:
| Type | Description |
|---|---|
float
|
The file scale factor. |
get_version() -> int
Gets the STEP AP version to use.
Returns:
| Type | Description |
|---|---|
int
|
The STEP AP version (see the |
set_imperial_units(value: bool) -> None
Sets whether imperial units are used.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
value
|
bool
|
Whether imperial units are used. |
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 STEP AP version to use.
Any int is accepted, so a version not named by the constants can be passed directly.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
value
|
int
|
The STEP AP version (e.g. |
required |