SG=SGbladeofCVL(CVL,[sl,ad])
CVL : | Closed vertex list; open polygons | |
sl : | Blade thickness; default=0.3 | |
ad : | size growing; default=0; |
SG : | Solid Geometry of a blade |
SGbladeofCVL(VLsample(19),3)
SGbladeofCVL([VLaddz(PLcircle(10));nan nan nan; VLtransR(VLaddz(PLcircle(5)),rot(0,pi/8,0))],3)
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.
sl
to 0.3 mm and ad
to 0. If additional arguments are provided, update these values accordingly.CVL
is empty. If it is, return an empty solid and issue a warning.VLFLofCVLdelaunay2D
to compute vertex list (VL) and face list (FL) from the CVL using Delaunay triangulation in 2D.SGofSurface
with the computed VL, FL, blade thickness sl
, and size growing ad
.SGfigure
, SGplot
, and VLFLplotlight
functions. Plot the CVL using CVLplot
.Two examples are provided to demonstrate the function:
SGbladeofCVL(VLsample(19),3)
: Generates a solid from a sample vertex list with a blade thickness of 3 mm.SGbladeofCVL([VLaddz(PLcircle(10));nan nan nan; VLtransR(VLaddz(PLcircle(5)),rot(0,pi/8,0))],3)
: Creates a solid from a combination of circles with a specified rotation and a blade thickness of 3 mm.