# Process

> Python API types

### BakeDiffuseOptions

Fields

| Type          | Name | Default | Description |
| ------------- | ---- | ------- | ----------- |
| mapResolution | Int  | 1024    |             |
| padding       | Int  | 1       |             |

***

### BakeOptionSelector

Select between:

* Yes: [process.BakeOptions](./process_types.md#bakeoptions)

* No: [process.NoBaking](./process_types.md#nobaking)
  Functions accepting this type or a list of this type as a parameter:

* [process.proxyFromMeshes](./process_functions.md#proxyfrommeshes)

***

### BakeOptions

Fields

| Type       | Name          | Default | Description |
| ---------- | ------------- | ------- | ----------- |
| resolution | Int           | 1024    |             |
| padding    | Int           | 1       |             |
| textures   | algo.BakeMaps |         |             |

Functions accepting this type or a list of this type as a parameter:

* [process.decimateTargetBake](./process_functions.md#decimatetargetbake)

***

### DecimateParameters

Fields

| Type              | Name          | Default | Description |
| ----------------- | ------------- | ------- | ----------- |
| surfacicTolerance | geom.Distance | 1       |             |
| linearTolerance   | geom.Distance | 0.1     |             |
| normalTolerance   | geom.Angle    | 5       |             |

***

### DecimateParametersList

List of [process.DecimateParameters](./process_types.md#decimateparameters)

Functions accepting this type or a list of this type as a parameter:

* [process.generateLODChainQuality](./process_functions.md#generatelodchainquality)

***

### DecimationRatio

Fields

| Type  | Name    | Default | Description |
| ----- | ------- | ------- | ----------- |
| ratio | Percent | 50      |             |

Functions accepting this type or a list of this type as a parameter:

* [process.generateLODChainTarget](./process_functions.md#generatelodchaintarget)

***

### DecimationRatioList

List of [process.DecimationRatio](./process_types.md#decimationratio)

Functions accepting this type or a list of this type as a parameter:

* [process.generateLODChainTarget](./process_functions.md#generatelodchaintarget)

***

### DecimationStrategy

Select between:

* DecimateToTarget: [process.TargetDecimateParameters](./process_types.md#targetdecimateparameters)

* DecimateToQuality: [process.DecimateParametersList](./process_types.md#decimateparameterslist)
  Functions accepting this type or a list of this type as a parameter:

* [process.generateLODChain](./process_functions.md#generatelodchain)

***

### GenerateDiffuseMap

Select between:

* Yes: [process.BakeDiffuseOptions](./process_types.md#bakediffuseoptions)

* No: [process.NoBaking](./process_types.md#nobaking)
  Functions accepting this type or a list of this type as a parameter:

* [process.generatePhantomMesh](./process_functions.md#generatephantommesh)

* [process.proxyFromPointCloud](./process_functions.md#proxyfrompointcloud)

***

### NoBaking

Base class: [core.None](./core_types.md#none)


**Frame:**
```mermaid
classDiagram
    class NoBaking
    None <|-- NoBaking
```

***

### TargetDecimateParameters

Fields

| Type            | Name                        | Default                                      | Description |
| --------------- | --------------------------- | -------------------------------------------- | ----------- |
| UVImportance    | algo.UVImportanceEnum       | PreserveSeamsAndReduceDeformation            |             |
| ProtectTopology | Boolean                     | False                                        |             |
| LODLevels       | process.DecimationRatioList | `[DecimationRatio(50), DecimationRatio(25)]` |             |
