VLFLbolt

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Modeling function
Introduced first in SolidGeometry 1.0, Creation date: 2013-04-29, Last change: 2025-09-14

returns a 2½ D solid geometry of a bolt

Description

Tim C. Lueth, Franz Irlinger: "Berechnete Erzeugung von dreidimensionalen Oberflächenmodellen im STL-Format aus der Beschreibung planarer Mechanismen für die Generative Fertigung durch Selektives-Lasersintern [Computational 3D Surface Generation of Planar Mechanismus using STL File Format for Generative Manufacturing by Selective Laser Sintering]", angenommener Beitrag im Konferenzband 10. Kolloquium Getriebetechnik, TU Ilmenau, Sep. 11-13, 2013, pp 1-18.

See Also: VLFLsnapfit , VLFLshaft , VLFLhollowsnapaxle , VLFLcat , TofDPhiH , VLtransT , VLFLspacer , VLFLlinkage , VLFLwriteSTL , VLFLofPLELz , VLFLplot

Example Illustration

 missing image of VLFLbolt(R,H)

Syntax

[VL,FL]=VLFLbolt(R,H)

Input Parameter

R: Outer Radius
H: Height

Output Parameter

VL: Vertex list
FL: Facet list




Copyright 2013-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 2.5D solid geometry of a bolt using a vertex list (VL) and a facet list (FL). The function is designed to create a cylindrical shape based on the given parameters.

Input Parameters

Output Results

Algorithm Steps

  1. Set n to 16, which is the number of segments used to approximate the circular base of the bolt.
  2. Calculate dw as 2*pi/n, which is the angular increment for each segment.
  3. Initialize w to -dw/2 to start the angle from the midpoint of the first segment.
  4. Create a zero matrix PL with dimensions n x 2 to store the 2D coordinates of the circle's vertices.
  5. Iterate over each segment from 1 to n:
  6. Call the function VLFLofPLz(PL,H) to generate the vertex and facet lists based on the 2D profile PL and height H.
  7. Return the vertex list VL and facet list FL.
Algorithm explaination created using ChatGPT on 2025-08-18 23:35. (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