VLFLstar

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 structure of several independent objects that can combine an inner and a outer structure

Description

This function is under development. At a later stage, it should be used for realizing light weight strucutres

Example Illustration

 missing image of VLFLstar(Ro,Ri,bx,by,f)

Syntax

[VL,FL]=VLFLstar(Ro,Ri,bx,by,f)

Input Parameter

Ro: Outer Diameter
Ri: Innerer Diameter
bx: Thickness in x-direction
by: Thickness in y-direction
f: Number of facets

Output Parameter

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

Examples

Generate 6 bars between 30 mm and 100 mm
[VL,FL]=VLFLstar (100,30,10,10,6);
VLFLwriteSTL ('TEST','Tim',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

Algorithm (Workflow)

This algorithm generates a structure with a specified number of facets, creating a star-like shape with an inner and outer diameter. It is designed to produce lightweight structures.

Input Parameters

Output Results

Algorithm Steps

  1. Calculate the angular increment dw as 2*pi/f.
  2. Adjust the outer and inner diameters by subtracting bx from each.
  3. Initialize the angle w to -dw/2.
  4. Loop over each facet from 1 to f:

The function VLFLstar is part of the SG-Library and is used to create structures that can be combined to form complex shapes. The example provided demonstrates generating a structure with 6 bars between 30 mm and 100 mm.

Algorithm explaination created using ChatGPT on 2025-08-18 23:54. (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