--- title: "OptimizationRequestPart" slug: "datenaustausch-connect-api-ct-intellidivide-request-optimizationrequestpart" updated: 2026-12-02T09:28:47Z published: 2026-12-02T09:28:47Z canonical: "docs.homag.cloud/datenaustausch-connect-api-ct-intellidivide-request-optimizationrequestpart" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.homag.cloud/llms.txt > Use this file to discover all available pages before exploring further. # OptimizationRequestPart Represents a part to be included in an intelliDivide optimization request. Extends OptimizationBasePart with quantity, grain matching template (cutting), and MPR program reference (nesting) properties. Inherits from: [`OptimizationBasePart`](/docs/en/datenaustausch-connect-api-ct-intellidivide-common-optimizationbasepart) ## Example ```json {  "description": "Part A",  "materialCode": "P2_White_19.0",  "grain": "None",  "length": 600,  "width": 300,  "quantity": 10 } ``` ## Properties Required: `Description`, `MaterialCode`, `Grain`, `Quantity` | Property | Type | Description | Details | | --- | --- | --- | --- | | `AllowedRotationAngle` | [`RotationAngle?`](/docs/en/datenaustausch-connect-api-ct-intellidivide-common-rotationangle) | Allowed rotation angle for nesting optimizations. Determines how the part may be rotated on the board. Supported values: Angle0, Angle90, Free, or Grain (rotation restricted by grain direction). When null, the optimizer applies the default rotation behavior. | Example: `Angle90` | | `ArticleNumber` | `string?` | Article number. | | | `CncProgramName1` | `string?` | Name of the first CNC program to execute. | Length 1 to 1000 Example: `Drilling_Main.mpr` | | `CncProgramName2` | `string?` | Program name of the CNC program to execute. | Length 1 to 1000 Example: `Milling_Contour.mpr` | | `CncProgramName3` | `string?` | Program name of the CNC program to execute. | Length 1 to 1000 Example: `Routing_Finish.mpr` | | `CustomerName` | `string?` | Name of the customer who has ordered the part. | | | `Description` | `string?` (required) | Description for the part. | Length 1 to 100 Example: `Side Panel Left` | | `DestackingDestination` | `string?` | Destination for the destacking of the part. | | | `DestackingGroup` | `string?` | Stacking group value for the part. | | | `EdgeBack` | `string?` | Edgeband code of the edgeband type which should get applied on the back. | Length 1 to 50 Example: `EB_White_1mm` | | `EdgeDiagram` | `string?` | How the edgebands should get applied. | Example: `FBLR` | | `EdgeFront` | `string?` | Edgeband code of the edgeband type which should get applied on the front. | Length 1 to 50 Example: `EB_White_1mm` | | `EdgeLeft` | `string?` | Edgeband code of the edgeband type which should get applied on the left. | Length 1 to 50 Example: `EB_White_1mm` | | `EdgeRight` | `string?` | Edgeband code of the edgeband type which should get applied on the right. | Length 1 to 50 Example: `EB_White_1mm` | | `FinishLength` | `number?` | Finish length. | | | `FinishWidth` | `number?` | Finish length. | | | `Grain` | [`Grain`](/docs/en/datenaustausch-connect-api-ct-base-enumerations-grain) (required) | Grain of the part. | Example: `Lengthwise` | | `Id` | `string?` | Id of the part. | | | `LabelLayout` | `string?` | Label layout. | | | `LaminateBottom` | `string?` | Material code of the laminate type which should get applied on the bottom. | Length 1 to 50 Example: `Laminate_White_Matt` | | `LaminateBottomGrain` | [`Grain?`](/docs/en/datenaustausch-connect-api-ct-base-enumerations-grain) | Grain of the laminate which was applied on the bottom. | Example: `Lengthwise` | | `LaminateTop` | `string?` | Material code of the laminate type which should get applied on the top. | Length 1 to 50 Example: `Laminate_Oak_Natural` | | `LaminateTopGrain` | [`Grain?`](/docs/en/datenaustausch-connect-api-ct-base-enumerations-grain) | Grain of the laminate which was applied on the top. | Example: `Crosswise` | | `Length` | `number?` | Length of the part or board; null represents an unspecified measurement. | Value 0.1 to 9999.9 Unit for Metric: mm. Unit for Imperial: inch. Example: `2800` | | `Lot` | `string?` | Lot in wich the part is contained. | | | `Material` | `string?` | Material code. | Length 1 to 50 Example: `P2_White_19.0` | | `MaterialCode` | `string?` (required) | Material code. | Length 1 to 50 | | `MprFileName` | `string` | File name of the MPR program that defines the nesting contour for this part. The corresponding file must be included as an import file in the optimization request. | Example: `PartA.mpr` | | `MprProgramVariables` | [`MprProgramVariable[]`](/docs/en/datenaustausch-connect-api-ct-intellidivide-request-mprprogramvariable) | Variable values passed to the MPR program referenced by MprFileName. Use these to parameterize the nesting contour (e.g. length and width). | Example: `[ { "name": "L", "value": "980" }, { "name": "B", "value": "450" } ]` | | `Notes` | `string?` | Notes of the production entity. | | | `OrderDate` | `DateTime?` | Order date. | | | `OrderItem` | `string?` | Item of the order. | | | `OrderName` | `string?` | Name of the order. | | | `ProductionRoute` | `string?` | Production route. | | | `Quantity` | `integer` (required) | Required number of copies of this part. Must be between 0 and 10,000. Defaults to 1. A value of 0 is allowed, but at least one part of the request must have a Quantity greater than 0. | Value 0 to 10000 Example: `5` | | `QuantityPlus` | `integer` | Number of additional copies that may be produced optionally. The optimizer may include up to this many extra parts when they fit the cutting or nesting layout. Must be between 0 and 10,000. Defaults to 0. | Value 0 to 10000 Example: `3` | | `SecondCutLength` | `number?` | Second cut length. | Value 0.1 to 9999.9 | | `SecondCutWidth` | `number?` | Second cut width. | Value 0.1 to 9999.9 | | `Template` | [`GrainMatchTemplateReference`](/docs/en/datenaustausch-connect-api-ct-intellidivide-grainmatchtemplatereference) | Grain matching template reference for cutting optimizations. Specifies the template name, position within the template, instance, and options such as trims, dividing, and grain direction. | Example: `2 Parts (2 x 1):1.1:1:1` | | `Thickness` | `number?` | Material thickness of the part or board; null represents an unspecified measurement. | Value 0.1 to 999.9 Unit for Metric: mm. Unit for Imperial: inch. Example: `19.0` | | `UnitSystem` | [`UnitSystem`](/docs/en/datenaustausch-connect-api-ct-base-enumerations-unitsystem) | Unit system used for properties marked with ValueDependsOnUnitSystemAttribute. Use Metric for metric units (for example mm) and Imperial for imperial units (for example inches). | Default: `Metric` Example: `Metric` | | `Width` | `number?` | Width of the part or board; null represents an unspecified measurement. | Value 0.1 to 9999.9 Unit for Metric: mm. Unit for Imperial: inch. Example: `2070` | | `AdditionalProperties` | `object?` | Additional properties configured in the application. | Example: `{ "customField1": "value1" }` | ## Referenced by | Contract | Category | Properties | | --- | --- | --- | | [`OptimizationRequest`](/docs/en/datenaustausch-connect-api-ct-intellidivide-request-optimizationrequest) | IntelliDivide/Request | `Parts` | Package: [HomagGroup.HomagConnect.IntelliDivide.Contracts 2.2.5-preview.98](https://www.nuget.org/packages/HomagGroup.HomagConnect.IntelliDivide.Contracts/2.2.5-preview.98) Source: [OptimizationRequestPart.cs](https://github.com/HomagGroup/HOMAG-Connect/blob/main/Applications/IntelliDivide/Contracts/Request/OptimizationRequestPart.cs) Samples: [IntelliDivide samples](https://github.com/HomagGroup/HOMAG-Connect/tree/main/Applications/IntelliDivide/Samples)