ExportSTLParams#

class ansys.meshing.prime.ExportSTLParams(model=None, part_ids=None, json_data=None, **kwargs)#

Parameters to export STL file.

Parameters:
model: Model

Model to create a ExportSTLParams object with default parameters.

part_ids: Iterable[int], optional

Ids of parts to export.

json_data: dict, optional

JSON dictionary to create a ExportSTLParams object with provided parameters.

Examples

>>> export_stlparams = prime.ExportSTLParams(model = model)

Methods

ExportSTLParams.print_default()

Print the default values of ExportSTLParams object.

ExportSTLParams.set_default([part_ids])

Set the default values of the ExportSTLParams object.

Attributes

ExportSTLParams.part_ids

Ids of parts to export.