CPLcirclesofShaft

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 5.3, Creation date: 2023-03-25, Last change: 2025-09-15

2D fnct returning a circular contour that encloses a rotating contour

Description

Many motors use shaft geometries (CPLmotorshaft) to drive a gear. In the case of a double-bearing gear, there is a desire to have at least one hole in the rack that allows the use of a long motor shaft, and for this the rack need a hole into which the motor shaft is inserted.

See Also: CPLsweep , CPLmotorshaft , CVLdimclassifier

Example Illustration

 missing image of CPLcirclesofShaft(CPL,slt)

Syntax

[CPLC,r,cp]=CPLcirclesofShaft([CPL,slt])

Input Parameter

CPL: Contour of a rotating shaft
slt: optional slot size; default is 0;

Output Parameter

CPLC: CPL of enclsoing circl
r: radius
cp: centerpoint

Examples


CPLcirclesofShaft(CPLmotorshaft(4,3),'t')
CPLcirclesofShaft(PLsquare(6,2),'c');




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