SGrackofSGshaftaxis

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Automatic Design
Introduced first in SolidGeometry 5.4, Creation date: 2024-05-25, Last change: 2025-09-15

design automatically racks for rotating shafts and axis



See Also: , CPLofSGprojection , CPLoutercontour , SGrackbars , CPLrack4PL , CPLrackPLdelaunay

Example Illustration

 missing image of SGrackofSGshaftaxis(SGC,h,zz)

Syntax

[SGS,CPLR]=SGrackofSGshaftaxis(SGC,[h,zz])

Input Parameter

SGC: cell list of shafts/axis in z direction
h: desired height and width of rack
zz: list of z values for the racks; default is [-inf inf]

Output Parameter

SGS: cell array of racks
CPLR: cell array of rack contours

Examples


SGofCPLz(PLcircle(5)+[20 20],40); A=ans;
SGofCPLz(PLcircle(6.4,6)+[0 0],[-3 42]); B=ans;
SGrackofSGshaftaxis({A,B})
SGrackofSGshaftaxis({A,B},[5 30])




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