> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# skin class

**Namespace:** [Ans.DataProcessing.operators.mesh](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/mesh)

## Summary

Extracts a skin of the mesh in a new meshed region. The material ID of initial elements are propagated to their facets.

available inputs: `mesh` (MeshedRegion), `mesh_scoping` (Scoping) (optional), `duplicate_shell` (bool) (optional), `add_beam_point` (bool) (optional)

available outputs: `mesh` (MeshedRegion), `nodes_mesh_scoping` (Scoping), `map_new_elements_to_old` (), `property_field_new_elements_to_old` (PropertyField), `facet_indices` (PropertyField)

## Example

```python theme={null}
op = skin()

op = skin(mesh=my_mesh,mesh_scoping=my_mesh_scoping,duplicate_shell=my_duplicate_shell,add_beam_point=my_add_beam_point)
```

## Class Information

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

## Inputs

### mesh

**Type:** *LinkableInput*

### mesh\_scoping

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.

**Type:** *LinkableInput*

### duplicate\_shell

If input mesh contains shell elements, output mesh shell elements (boolean = 1) are duplicated, one per each orientation, or (boolean = 0) remain unchanged.

**Type:** *LinkableInput*

### add\_beam\_point

If input mesh contains beam or point elements, output mesh beam point elements (boolean = 1) are added or (boolean = 0) are ignored. Default: False

**Type:** *LinkableInput*

### add\_beam

Deprecated alias of: add\_beam\_point

**Type:** *LinkableInput*

## Outputs

### mesh

Skin meshed region with facets and facets\_to\_ele property fields.

**Type:** *LinkableOutput*

### nodes\_mesh\_scoping

**Type:** *LinkableOutput*

### property\_field\_new\_elements\_to\_old

This property field provides, for each new face element ID (in the scoping), the corresponding 3D volume element index (in the data) it has been extracted from. The 3D volume element ID can be found with the element scoping of the input mesh.

**Type:** *LinkableOutput*

### facet\_indices

This property field gives, for each new face element ID (in the scoping), the corresponding face index on the source 3D volume element. The 3D volume element can be extracted from the previous output.

**Type:** *LinkableOutput*

## Constructors

#### Constructor

```python theme={null}
skin()
```

#### Constructor

```python theme={null}
skin(mesh, mesh_scoping, duplicate_shell, add_beam_point, config)
```

**Parameters:**

* `mesh` (*object*)
* `mesh_scoping` (*object*)
* `duplicate_shell` (*object*)
* `add_beam_point` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

```python theme={null}
skin(config)
```

**Parameters:**

* `config` (*OperatorConfig*)

## Methods

## Properties

#### inputs

**Type:** *InputSpec*

```python theme={null}
# Get or set the property
value = obj.inputs
obj.inputs = new_value
```

#### outputs

**Type:** *OutputSpec*

```python theme={null}
# Get or set the property
value = obj.outputs
obj.outputs = new_value
```

#### defaultConfig

**Type:** *Config*

```python theme={null}
# Get the property (read-only)
value = obj.defaultConfig
```
