User Tools

Site Tools


ig:gfx:model-type-flatpanel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ig:gfx:model-type-flatpanel [2025/10/29 14:48] – [Parameters for "innerPanel"] ig_iiig: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 ======
 +{{:ig:gfx:modelprocessor:flatpanel_graphic_latex.png?nolink&600|}}
  
 === 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 **"board"** ID and a 2D coordinate **(x, y)** to specify its placement within the frame layout. Boards align with the overall structure, occupying specific **corners** or **edges** of the rectangle. This example shows how to define board positions using JSON. Each board is given a unique **"board"** ID and a 2D coordinate **(x, y)** to specify its placement within the frame layout. Boards align with the overall structure, occupying specific **corners** or **edges** of the rectangle.
  
-{{newpage}}+
  
 === Intersection Parameter ("intersection"): JSON Configuration for Joint Types === === Intersection Parameter ("intersection"): JSON Configuration for Joint Types ===
Line 267: Line 268:
  
 **Illustration:** **Illustration:**
-  [] + 
-  []+^ **Figure 14: Panel Centered to FRAME** ^ **Figure 15: Panel Centered to CAVITY** ^ 
 +| {{:ig:gfx:modelprocessor:panel_center.png?nolink&400 |}} | {{:ig:gfx:modelprocessor:panel_cavity.png?nolink&400 |}} | 
 +^ 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 **''offset''** will move or resize the panel relative to this centered position. **Note:** This parameter determines the **initial positioning** of the panel. Subsequent adjustments using **''offset''** will move or resize the panel relative to this centered position.
Line 290: Line 295:
 ==== Visual Examples for innerPanel Models ==== ==== Visual Examples for innerPanel Models ====
  
-[] +^ **Figure 16: EMPTY** ^ **Figure 17: SOLID1_1** ^ **Figure 18: SOLID1_3** ^ 
-[] +| {{:ig:gfx:modelprocessor:innerpanel_empty.jpg?nolink&300|}} | {{:ig:gfx:modelprocessor:innerpanel_solid1_1.jpg?nolink&300|}} | {{:ig:gfx:modelprocessor:flatpanel_with_solid1_3.png?nolink&300|}} | 
-[]+^ Caption: Visual representation of the ''EMPTY'', ''SOLID1_1'', and ''SOLID1_3'' models for the ''innerPanel'' parameter. |||
  
 *Figure: Visual representation of the ''EMPTY'', ''SOLID1_1'', and ''SOLID1_3'' models for the ''innerPanel'' parameter.* *Figure: Visual representation of the ''EMPTY'', ''SOLID1_1'', and ''SOLID1_3'' models for the ''innerPanel'' parameter.*
-{{newpage}}+ 
 +{{:ig:gfx:modelprocessor:flatpanel_solid1_3_blender.png?nolink&400|}} 
 + 
 +*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** ^ 
 +| {{:ig:gfx:modelprocessor:subframe_graphic.png?nolink&600|}} | 
 +^ Caption ^ 
 +| FlatPanel frame with generated subframe in red. | 
 + 
 +**Type:** ''array of objects'' \\ **Required:** No \\ 
 +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:** ''string'' // **Enum:** `FLATPANEL1_0` // **Default:** `FLATPANEL1_0` \\ 
 +    Specifies the model type used for the subframe. 
 +  * **intersection** 
 +    : **Type:** ''string'' // **Enum:** `TRIANGLE`, `SOLID` // **Default:** `TRIANGLE` \\ 
 +    Defines how the subframe boards are intersecting each with one another. 
 +  * **profile** 
 +    : **Type:** ''string'' \\ 
 +    References a path ID defined in the global `paths` array used to generate the subframe profile. 
 +  * **id** 
 +    : **Type:** ''string'' \\ 
 +    Unique identifier for the subframe. This value is used to reference and name generated subframe elements. 
 +  * **offset** 
 +    : **Type:** ''object'' // **Required:** No \\ 
 +    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:** ''array of 4 objects'' // **Required:** Yes \\ 
 +    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:** ''string'' \\ 
 +      Unique global identifier for the subframe piece (also used as the output mesh name). 
 +    * **uv** 
 +      : **Type:** ''object'' // **Required:** No \\ 
 +      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.1761745682.txt.gz · Last modified: by ig_ii