VLFLellipse1

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - SG/Solids
Introduced first in SolidGeometry 1.0, Creation date: 2010-11-03, Last change: 2025-09-14

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

Description

This function directly generates a 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.

See Also: VLFLellipse3 , VLFLellipse2

Example Illustration

 missing image of VLFLellipse1(Z,Rx,Ry,dx,f)

Syntax

[VL,FL]=VLFLellipse1(Z,Rx,Ry,dx,f)

Input Parameter

Z: 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

Output Parameter

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

Examples

Generate an ellipsoid tube:
[VL,FL]=VLFLellipse (100,5,10,1,40,0); VLFLwriteSTL ('TUBE','with 40 facets',VL,FL);




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

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