InputsTriMeshSkin#

class ansys.dpf.core.operators.mesh.tri_mesh_skin.InputsTriMeshSkin(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.inputs._Inputs

Intermediate class used to connect user inputs to tri_mesh_skin operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mesh.tri_mesh_skin()
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
>>> my_include_surfaces = bool()
>>> op.inputs.include_surfaces.connect(my_include_surfaces)
>>> my_mesh_scoping = dpf.Scoping()
>>> op.inputs.mesh_scoping.connect(my_mesh_scoping)

Overview#

connect

Connect any input (an entity or an operator output) to any input pin of this operator.

mesh

Allows to connect mesh input to the operator.

include_surfaces

Allows to connect include_surfaces input to the operator.

mesh_scoping

Allows to connect mesh_scoping input to the operator.

Import detail#

from ansys.dpf.core.operators.mesh.tri_mesh_skin import InputsTriMeshSkin

Property detail#

property InputsTriMeshSkin.mesh: ansys.dpf.core.inputs.Input[ansys.dpf.core.meshed_region.MeshedRegion]#

Allows to connect mesh input to the operator.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mesh.tri_mesh_skin()
>>> op.inputs.mesh.connect(my_mesh)
>>> # or
>>> op.inputs.mesh(my_mesh)
property InputsTriMeshSkin.include_surfaces: ansys.dpf.core.inputs.Input[bool]#

Allows to connect include_surfaces input to the operator.

True: meshing will also take into account shell and skin elements. False: meshing will ignore shell and skin elements. The default is false.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mesh.tri_mesh_skin()
>>> op.inputs.include_surfaces.connect(my_include_surfaces)
>>> # or
>>> op.inputs.include_surfaces(my_include_surfaces)
property InputsTriMeshSkin.mesh_scoping: ansys.dpf.core.inputs.Input[ansys.dpf.core.scoping.Scoping]#

Allows to connect mesh_scoping input to the operator.

Nodal scoping to restrict the skin extraction to a set of nodes. If provided, a skin element is added to the skin mesh if all its nodes are in the scoping.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mesh.tri_mesh_skin()
>>> op.inputs.mesh_scoping.connect(my_mesh_scoping)
>>> # or
>>> op.inputs.mesh_scoping(my_mesh_scoping)

Method detail#

InputsTriMeshSkin.__str__()#
InputsTriMeshSkin.connect(inpt)#

Connect any input (an entity or an operator output) to any input pin of this operator.

Searches for the input type corresponding to the output.

Deprecated since version Deprecated: in favor of explicit output-to-input connections.

InputsTriMeshSkin.__call__(inpt)#
InputsTriMeshSkin.__getitem__(item) → Input#