SGbladeofCVL

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - SG/Solids
Introduced first in SolidGeometry 4.1, Creation date: 2017-08-20, Last change: 2025-09-14

returns a solid for an almost planar CVL the closing facets



See Also: VLFLofCVLdelaunay2D , SGofSurface , SGbladeofPL

Example Illustration

 missing image of SGbladeofCVL(CVL,sl,ad)

Syntax

SG=SGbladeofCVL(CVL,[sl,ad])

Input Parameter

CVL: Closed vertex list; open polygons
sl: Blade thickness; default=0.3
ad: size growing; default=0;

Output Parameter

SG: Solid Geometry of a blade

Examples


SGbladeofCVL(VLsample(19),3)
SGbladeofCVL([VLaddz(PLcircle(10));nan nan nan; VLtransR(VLaddz(PLcircle(5)),rot(0,pi/8,0))],3)




Copyright 2017-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, SGbladeofCVL, generates a solid geometry (SG) from a closed vertex list (CVL) representing an almost planar contour. The function is part of the SolidGeometry library and was introduced in version 4.1.

Input Parameters

Output

Algorithm Steps

  1. Initialize sl to 0.3 mm and ad to 0. If additional arguments are provided, update these values accordingly.
  2. Check if the CVL is empty. If it is, return an empty solid and issue a warning.
  3. Use the function VLFLofCVLdelaunay2D to compute vertex list (VL) and face list (FL) from the CVL using Delaunay triangulation in 2D.
  4. Generate the solid geometry using SGofSurface with the computed VL, FL, blade thickness sl, and size growing ad.
  5. If no output is requested, visualize the solid geometry using SGfigure, SGplot, and VLFLplotlight functions. Plot the CVL using CVLplot.

Example Usage

Two examples are provided to demonstrate the function:

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