Syntax
phi=phiofsr(s,R)
Input Parameter
s : | | slot size |
R : | | minimal radius |
Output Parameter
Copyright 2017-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
Algorithm (Workflow)
This function, phiofsr
, calculates the angle difference required to achieve a specified slot size at a given radius. It is part of the SolidGeometry library and was introduced in version 3.2.
Input Parameters
- s: The slot size. This is the linear dimension of the slot that needs to be achieved.
- R: The minimal radius. This is the radius at which the slot size is being considered.
Output Results
- phi: The angle to add. This is the calculated angle difference that corresponds to the given slot size at the specified radius.
Algorithm Explanation
The function calculates the angle phi
using the formula:
phi = s / R
This formula is derived from the relationship between the arc length (slot size) and the radius in a circle, where the angle in radians is the arc length divided by the radius.
Algorithm explaination created using ChatGPT on 2025-08-18 22:13. (Please note: No guarantee for the correctness of this explanation)
Last html export of this page out of FM database by TL: 2025-09-21