VLFLofPLELz
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 contour
Description
Basic modeling function to generate a 2½ D solid geometry from a point list and edge list EL. This implementation requires that the edges in the edge list are oriented. Outer contour edges are oriented mathematical positive (right hand). Inner contour edges are oriented mathematical negative (left hand)
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.
New in SG-Lib Rel 4.7: height z can be scalar or [zmin zmax]
See Also: VLFLsnapfit
, VLFLshaft
, VLFLhollowsnapaxle
, VLFLcat
, TofDPhiH
, VLtransT
, VLFLspacer
, VLFLbolt
, VLFLlinkage
, VLFLwriteSTL
, VLFLplot
Example Illustration
Syntax
[VL,FL,FLW,FLU,FLO]=VLFLofPLELz(PL,EL,z)
Input Parameter
PL: | | Point list in 2D |
EL: | | Edge list |
z: | | Height z can be scalar or [zmin zmax] |
Output Parameter
VL: | | Vertex list |
FL: | | Facet list |
FLW: | | Facet list of the wall |
FLU: | | Facet list of the floor |
FLO: | | Facet list of the ceiling |
Examples
Generate a simple linkage:
PL=[0 0;80 0;80 30;0 30;10 10;20 10; 20 20; 10 20;60 10;70 10;70 20; 60 20];
EL=[1 2;2 3;3 4;4 1;6 5;7 6;8 7;5 8;10 9;11 10;12 11;9 12];
[VL,FL]=VLFLofPLELz (PL,EL,5); SGfigure; VLFLplot (VL,FL); view(-30,30); VLFLwriteSTL (VL,FL)
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
Last html export of this page out of FM database by TL: 2025-09-21