VLhelix

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Analyzing function
Introduced first in SolidGeometry 1.0, Creation date: 2011-12-09, Last change: 2025-09-14

generates a vertex list for a specified helix

Description

returns a PL spiral or a VL helix depending on d=[] or d=z
Name changed from PLhelix to VLhelix in Aug, 2015
PLhelix will be changed to PLspiral for [nx2]
SG-Lib 4.6: supports now also cww/cw turns

See Also: , PLspiral

Example Illustration

 missing image of VLhelix(R,d,w2,w1,n,ccw)

Syntax

[VL,n]=VLhelix(R,[d,w2,w1,n,ccw])

Input Parameter

R: Radius (centered) of the helix
d: Height (centered) of the helix
w2: Optional turn angle, default is 2pi
w1: Optional starting angle, default is 0
n: Optional maximum geometry error, default is 0.05
ccw: true=> ccw:math pos; default is true

Output Parameter

VL: Vertex list [nx3] of the helix in z-direction
n: size(VL,1)

Examples


VLhelix (10,40,8*pi)
VLhelix (10,40,8*pi,'','',false)




Copyright 2011-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