ig:gfx:model-type-flatpanel
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ig:gfx:model-type-flatpanel [2025/10/29 14:39] – [Example Board Placement Table] ig_ii | ig:gfx:model-type-flatpanel [2025/10/29 15:59] (current) – ig_ii | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Model Type: FlatPanel 1.4 ====== | ====== Model Type: FlatPanel 1.4 ====== | ||
| + | {{: | ||
| === General Knowledge of How a 5-Piece Furniture Door (Model Type: FlatPanel) Is Constructed === | === General Knowledge of How a 5-Piece Furniture Door (Model Type: FlatPanel) Is Constructed === | ||
| Line 127: | Line 128: | ||
| This example shows how to define board positions using JSON. Each board is given a unique **" | This example shows how to define board positions using JSON. Each board is given a unique **" | ||
| - | {{newpage}} | + | |
| === Intersection Parameter (" | === Intersection Parameter (" | ||
| Line 182: | Line 183: | ||
| === Butt Joints " | === Butt Joints " | ||
| - | [] | + | |
| - | [] | + | ^ **Figure 10: Horizontal Butt Joint** ^ **Figure 11: Vertical Butt Joint** ^ |
| + | | {{: | ||
| + | ^ Caption ^ Caption ^ | ||
| + | | Horizontal butt joint | Vertical butt joint (front view) | | ||
| === Solid and Miter Joints " | === Solid and Miter Joints " | ||
| - | [] | + | |
| - | [] | + | ^ **Figure 12: Solid Monolithic Frame** ^ **Figure 13: Miter Joint (Triangle)** ^ |
| - | {{newpage}} | + | | {{: |
| + | ^ Caption ^ Caption ^ | ||
| + | | Solid monolithic frame | Miter joint (45°) | | ||
| + | |||
| === Explanation of " | === Explanation of " | ||
| Line 231: | Line 239: | ||
| * **" | * **" | ||
| * **" | * **" | ||
| - | {{newpage}} | + | |
| ==== Parameters for " | ==== Parameters for " | ||
| - | * **depth** (//number[mm]//): | + | * **offset** (//object//): |
| - | Thickness of the panel. Required only for the **" | + | |
| - | * **profile** (// | + | |
| - | | + | |
| - | * **path** (// | + | |
| - | The " | + | |
| - | * **trimProfile** (// | + | |
| - | The path **id** name of the milled profile used for the trim. | + | |
| - | * **trimPath** (// | + | |
| - | | + | |
| - | * **centering** (// | + | |
| - | Specifies how the '' | + | |
| - | **Type:** '' | + | |
| - | **Default: | + | |
| - | **Required: | + | |
| - | Valid options: | + | |
| - | * **FRAME** — center the inner panel relative to the frame boundaries. | + | |
| - | * **CAVITY** — center the inner panel relative to the cavity or cutout inside the frame. | + | |
| - | **Illustration:** | + | * **panel:** transformations for the main panel |
| - | [] | + | * **translation: |
| - | [] | + | * **dimensions: |
| - | **Note:** This parameter determines | + | * **trim:** transformations for the trim geometry |
| + | | ||
| + | | ||
| + | (e.g., 0.01 → scale of 1.01, useful for small overlaps) | ||
| - | | + | |
| - | An object that defines positioning and dimension adjustments for the panel and its trim. It has a nested structure: | + | Specifies how the '' |
| + | |||
| + | * **Type:** '' | ||
| + | * **Default: | ||
| + | * **Required: | ||
| + | |||
| + | **Valid options: | ||
| + | * **FRAME** — center the inner panel relative to the frame boundaries. | ||
| + | * **CAVITY** — center the inner panel relative to the cavity or cutout inside the frame. | ||
| + | |||
| + | **Illustration: | ||
| + | |||
| + | ^ **Figure 14: Panel Centered to FRAME** ^ **Figure 15: Panel Centered to CAVITY** ^ | ||
| + | | {{: | ||
| + | ^ Caption ^ Caption ^ | ||
| + | | Panel centered to **FRAME** — aligned with the outer edges of the frame. The red cross shows the frame center. | Panel centered to **CAVITY** — aligned with the inner empty space of the frame. The green cross shows the cavity center. Particularly useful if the frame boards have different widths. | | ||
| + | |||
| + | |||
| + | **Note:** This parameter determines the **initial positioning** of the panel. Subsequent adjustments using **'' | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | | ||
| + | An object that defines positioning and dimension adjustments for the panel and its trim. | ||
| + | | ||
| * **panel:** Contains transformations for the main panel. | * **panel:** Contains transformations for the main panel. | ||
| * **translation: | * **translation: | ||
| Line 268: | Line 289: | ||
| * **translation: | * **translation: | ||
| * **scale:** An object with a '' | * **scale:** An object with a '' | ||
| - | | + | |
| + | **Note: | ||
| + | A legacy flat structure for **'' | ||
| ==== Visual Examples for innerPanel Models ==== | ==== Visual Examples for innerPanel Models ==== | ||
| - | [] | + | ^ **Figure 16: EMPTY** ^ **Figure 17: SOLID1_1** ^ **Figure 18: SOLID1_3** ^ |
| - | [] | + | | {{: |
| - | [] | + | ^ Caption: Visual representation of the '' |
| *Figure: Visual representation of the '' | *Figure: Visual representation of the '' | ||
| - | {{newpage}} | + | |
| + | {{: | ||
| + | |||
| + | *Figure 2: flatPanel with SOLID1_3 | ||
| + | |||
| + | ==== Explanation of Subframes ==== | ||
| + | |||
| + | The subframe structure is used to attach one or more secondary frames to a primary model. Each subframe is composed of individual pieces that are generated based on a specified model type, intersection logic, and profile path. | ||
| + | |||
| + | ^ **Figure 25: Subframe Illustration** ^ | ||
| + | | {{: | ||
| + | ^ Caption ^ | ||
| + | | FlatPanel frame with generated subframe in red. | | ||
| + | |||
| + | **Type:** '' | ||
| + | Defines one or more subframes attached to the main model. Each subframe entry references a specific model type, intersection mode, profile path, and an identifier. Typically, four subframe pieces are defined per subframe. | ||
| + | |||
| + | * **model** | ||
| + | : **Type:** '' | ||
| + | Specifies the model type used for the subframe. | ||
| + | * **intersection** | ||
| + | : **Type:** '' | ||
| + | Defines how the subframe boards are intersecting each with one another. | ||
| + | * **profile** | ||
| + | : **Type:** '' | ||
| + | References a path ID defined in the global `paths` array used to generate the subframe profile. | ||
| + | * **id** | ||
| + | : **Type:** '' | ||
| + | Unique identifier for the subframe. This value is used to reference and name generated subframe elements. | ||
| + | * **offset** | ||
| + | : **Type:** '' | ||
| + | Defines an optional translation offset of the subframe in millimeters. | ||
| + | ^ Offset Parameters ^ Description ^ | ||
| + | | **x** | horizontal offset (width) in mm. | | ||
| + | | **y** | vertical offset (height) in mm. | | ||
| + | | **z** | depth position offset in mm. | | ||
| + | * **pieces** | ||
| + | : **Type:** '' | ||
| + | Contains exactly four subframe pieces (see illustration above), each defined by a unique ID. Optional UV parameters overwrites may be provided for individual pieces. | ||
| + | * **id** | ||
| + | : **Type:** '' | ||
| + | Unique global identifier for the subframe piece (also used as the output mesh name). | ||
| + | * **uv** | ||
| + | : **Type:** '' | ||
| + | Optional UV mapping settings for the piece. | ||
| + | ^ UV Parameters ^ Description ^ | ||
| + | | **rotation** | Rotation of UV map in degrees. | | ||
| + | | **patchSize** | Size of UV patch in millimeters. | | ||
| + | | **uvorigin** | **Enum:** `ORIGIN`, `CENTER`. Defines UV anchor point. Default: `ORIGIN`. | | ||
| + | | **uOffset** | UV translation offsets for U-axis in millimeters. | | ||
| + | | **vOffset** | UV translation offsets for V-axis in millimeters. | | ||
| + | |||
| + | ---- | ||
ig/gfx/model-type-flatpanel.1761745182.txt.gz · Last modified: by ig_ii
