VLFLgrid8P
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - SG/Solids
Introduced first in SolidGeometry 1.0, Creation date: 2010-11-07, Last change: 2025-09-14
returns a vertex/facet list of a grid structure connecting a list of 8 Points
Description
The function uses VLFLframe4P and VLFLbar2P for generating the grid
Example Illustration
Syntax
[VL,FL]=VLFLgrid8P(PL,b)
Input Parameter
PL: | | List of 8 Points of a cuboid. |
b: | | Thickness of the solid grid structure |
Output Parameter
VL: | | Vertex list of the grid |
FL: | | Facet list of the grid |
Copyright 2010-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth
Algorithm (Workflow)
The function VLFLgrid8P generates a grid structure connecting a list of 8 points, typically representing the vertices of a cuboid. It returns a vertex list (VL) and a facet list (FL) of the grid.
Input Parameters
- PL: A list of 8 points, each represented as a column in a matrix, defining the vertices of a cuboid.
- b: The thickness of the solid grid structure.
Output Results
- VL: Vertex list of the grid.
- FL: Facet list of the grid.
Algorithm Steps
- Call
VLFLexpandPL with the first four points (PL(:,1:4)) and thickness b to generate the initial vertex and facet lists (NVL, NFL). Assign these to VL and FL.
- Call
VLFLexpandPL with the last four points (PL(:,5:8)) and thickness b. Concatenate the resulting vertex and facet lists (NVL, NFL) with the existing VL and FL using VLFLcat.
- For each pair of corresponding points from the top and bottom faces of the cuboid (e.g., PL(:,1) and PL(:,5)), call
VLFLbar2P to generate connecting bars with thickness b. Concatenate the resulting vertex and facet lists with the existing VL and FL using VLFLcat.
- Repeat the previous step for the remaining pairs of points: (PL(:,2), PL(:,6)), (PL(:,3), PL(:,7)), and (PL(:,4), PL(:,8)).
Algorithm explaination created using ChatGPT on 2025-08-19 07:22. (Please note: No guarantee for the correctness of this explanation)
Last html export of this page out of FM database by TL: 2025-09-21