VLFLsnapfit

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

returns VL and FL of a snapping hollow axle

Description

This function is described in chapter 2 of the article collection of Tim Lueth and Franz Irlinger on the automatic construction of 3D printable mechanisms

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

Example Illustration

 missing image of VLFLsnapfit(RI,RA,D,Hf,H,sh,Hh)

Syntax

[VL,FLW]=VLFLsnapfit(RI,RA,D,Hf,H,sh,Hh)

Input Parameter

RI: Radius of the bore
RA: Radius of the flange
D: Width of the axle
Hf: Height of the flange
H: Height of the bore
sh: size of the hook
Hh: height of the hook

Output Parameter

VL: Vertex list
FLW: Facet list

Examples

VLFLsnapfit(10,11,2,2,10,4,4);



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 function, VLFLsnapfit, is designed to generate a 3D model of a snapping hollow axle. It takes several input parameters and returns a vertex list and a facet list, which can be used to create a 3D printable model.

Input Parameters

Output Results

Algorithm Steps

  1. Define the snapping fit geometry using the input parameters. This is done by creating a list of points (RL) that outline the cross-section of the snapping fit.
  2. Call the function VLFLrotsymRLn with the defined geometry (RL) and a rotational symmetry parameter (20) to generate the 3D solid. This function returns the vertex list (VL) and the facet list (FLW).
  3. If no output arguments are specified, the function will automatically plot the 3D model using SGfigure and VLFLplot with a specified view angle.

The function is part of a library for modeling procedures and is used for the automatic construction of 3D printable mechanisms. It was introduced in SolidGeometry 1.1 and is referenced in various other functions within the library.

Algorithm explaination created using ChatGPT on 2025-08-19 07: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