Skip to main content

Prime Mesh Python client library 2026 R1 SP01

ExportSTLParams

Last update: 29.04.2026

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

Name Description
ExportSTLParams.print_default() Print the default values of ExportSTLParams object.
ExportSTLParams.set_default([part_ids]) Set the default values of the ExportSTLParams object.

Attributes

Name Description
ExportSTLParams.part_ids Ids of parts to export.

Connect with Ansys