Example Model
I.Creation Position
Custom Furniture —Create Asset—Parametric Model Library— New—
II.Enter Editor - Parameter Configuration
2.1. Width (W) represents the size along the X-axis. Set the value type as an interval (e.g., interval 50-2400, current value 600).
2.2. Depth (D) represents the size along the Y-axis. Set the value type as a range interval (e.g., range interval 50-1200, current value 500).
2.3. Height (H) represents the size along the Z-axis. The value type can be set as a range interval (e.g., range interval 30-2400, current value 500) (use parameter H to control the inclination of the panel).
2.4. Choose default material - the material reflected by the current model, which can be left unchanged.
2.5. Add advanced parameters. Name: Panel Thickness. Reference name: HD. Set the value type as optional, and it can be set as single or multiple values (e.g., optional values 18, 25, ..., current value 18). Click create.
2.6. Set intermediate variables
Intermediate variables are not displayed in the tool. They are mainly used for convenient modeling and modification of the model later on.
Here, intermediate variable parameters are set for panel rotation.
Horizontal distance A: #W - #sin(#toRadians(#toDegrees(#atan(#H/#W)))) * #HD
Vertical distance B: #H - #sin(#toRadians(90-#toDegrees(#atan(#H/#W)))) * #HD
Function application:
^: Power/exponentiation. Variable 1 or number 1 ^ Variable 2 or number 2. If Variable 2 or number 2 > 1, it is power/exponentiation. If < 1, it is square root. Example: {#W ^ 2 (square of W); #W ^ 0.5 (square root of W).}
atan: Arctangent value. atan(tangent value). Calculates the radian value for a given tangent value. Example:{ atan(1) = 0.785; toDegrees(atan(1)) = 45}
toDegrees: Convert to degrees. toDegrees(radian value). Degrees = Radians × 180 / Pi (3.1415926). Example: {toDegrees(0.523) = 30}
toRadians: Convert to radians. toRadians(degrees value). Radians = Degrees × Pi (3.1415926) / 180. Example: {toRadians(30) = 0.523}
sin: Sine value. sin(radian value). Calculates the sine value for a given radian. Convert degrees to radians before calculation. Example: {sin(toRadians(30)) = 0.5; sin(0.523) = 0.5}
III.Sloping Panel Modeling
3.1. Create a flat panel: Select the component library - Set the panel thickness (height: HD).
3.2. Define points
Point 1: (0, 0)
Point 2: (0, #D)
Point 3: ((#A^2 + #B^2)^0.5, #D)
Point 4: ((#A^2 + #B^2)^0.5, 0)
3.3. Set physical properties
Position X: #W-#A
Rotation Y: -#toDegrees(#atan(#B/#A))
(Note: By rotating around the X-axis and Z-axis, you can obtain panels in other directions. Feel free to try!)
3.4. Setting Output Attributes (Click on the blank space - the Output Attributes panel will appear on the right side of the page)
The width displayed in the export list corresponds to the dimension of the panel texture in the horizontal direction, the depth corresponds to the dimension of the panel texture in the vertical direction, and the height corresponds to the thickness of the panel.
In the editor, the dimensions of the texture are displayed between the XZ axes, so the width is (#W^2+#H^2)^0.5.
In the editor, the dimensions of the texture in the vertical direction are displayed along the Y-axis, so the depth is #D.
In the editor, the thickness of the panel is displayed as its own thickness, so the height is 18.
IV.Save to the Library
4.1. Click on the file in the top right corner, select save, choose the subdirectory to save (under the component library), enter a name, and click save.
4.2. On the enterprise's backend page, find the model, select the model for initializing, and wait for the rendering to complete before testing it on the frontend.