VLFLellipse2

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.5 - SG/Solids
Introduced first in SolidGeometry 1.0, Creation date: 2012-01-03, Last change: 2025-07-31

returns a vertex list and a facet list for a defined light weight tube geometry

Description

This function directly generates a light weight tube geometry. First the top plane is generated, afterwards, the bottom plane, the the outside facets and finally the inside facets. The number of lines of the enclosing polygon is optional to avoid to many facets. As light weight structure the tube consist of a solid top part and sollid bottom part with a number of linking bars between. Inside of this procedure the linking bar are given as a list. Therefor, if required the bars don't have to be symmetric.
2010-11-03: First Version of this very powerfull procedure
2012-01-03: Version extend to light weight structures by additional parameters

Example Illustration

 missing image of VLFLellipse2(H,Rx,Ry,dx,f,sn,h,sb)

Syntax

[VL,FL]=VLFLellipse2(H,Rx,Ry,dx,f,[sn,h,sb])

Input Parameter

H: Height; from -Z/2 to +Z/2; center is [0;0;0]
Rx: Radius in x direction
Ry: Radius in y direction
dx: Wall thickness
f: Number of facets of the polygon, f=4 would be mean a cube shape
sn: Number of segments of a light weight tube; default is 0
h: Height of the solids of a light weight tube if desired; default H/8;
sb: width of the segment bars; default is h

Output Parameter

VL: Vertex list of the tube
FL: Facet list of the tube

Examples

Generate an ellipsoid tube:
[VL,FL]=VLFLellipse (50,10,10,2,40,3);
VLFLwriteSTL ('TUBE','with 40 facets as light weight structure,VL,FL);




Copyright 2012-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

Last html export of this page out of FM database by TL: 2025-08-09