Skip to main content

DPF Mechanical 2026 R1

stl_export class

Last update: 18.06.2026

Namespace: Ans.DataProcessing.operators.mesh

Summary

export a mesh into a stl file.

available inputs: mesh (MeshedRegion), file_path (string)

available outputs: data_sources (DataSources)

Example

op = stl_export()

op = stl_export(mesh=my_mesh,file_path=my_file_path)

Class Information

Property Value
Namespace Ans.DataProcessing.operators.mesh
Assembly meshOperatorsCore_dll_cs
Base Class Ans.DataProcessing.internal_objects.BaseOperator

Inputs

mesh

Type: LinkableInput

file_path

Type: LinkableInput

Outputs

data_sources

Type: LinkableOutput

Constructors

Constructor

stl_export()

Constructor

stl_export(mesh, file_path, config)

Parameters:

  • mesh (object)
  • file_path (object)
  • config (OperatorConfig)

Constructor

stl_export(config)

Parameters:

  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

# Get or set the property
value = obj.inputs
obj.inputs = new_value

outputs

Type: OutputSpec

# Get or set the property
value = obj.outputs
obj.outputs = new_value

defaultConfig

Type: Config

# Get the property (read-only)
value = obj.defaultConfig

Connect with Ansys