PLshaftrad
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - PL/Point Lists
Introduced first in SolidGeometry 5.1, Creation date: 2022-01-16, Last change: 2025-09-15
creates a PL for a contour for SGofCPLrot
Description
easier to understand function to create axles
for second parameter b see 3rd parameter of PLradialEdges
See Also: CPLmotorshaft
, PLradialEdges
Example Illustration
Syntax
PL=PLshaftrad([r,d,b])
Input Parameter
r: | | [r1 r2 r3 ....] radius |
d: | | distances between steps |
b: | | [radius breakrule] breaking the edges; default is [0.5 -1] |
Output Parameter
PL: | | Point list of a shaft |
Examples
PLshaftrad([1 2 1],[0 2 2],'',true); PL=ans; % RAMP
PLshaftrad([6 3 6],[10 2 10],[.5 -1]); PL=ans; % only concave
PLshaftrad([6 3 6],[10 2 10],[.5 +1]); PL=ans; % only convex
PLshaftrad([6 3 6],[10 2 10],[.5 0 ]); PL=ans; % both edges
PLshaftrad([6 3 6],[10 2 10],[0 0 ]); PL=ans; % no radial edges
PLshaftrad([6 3 6],[10 2 10],[.5 0]); PL=ans; pause(1); SGofCPLrot(PL) % create the solid
Copyright 2022-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