TofFS

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Kinematics and Frames
Introduced first in SolidGeometry 4.1, Creation date: 2017-08-09, Last change: 2025-09-14

returns a HT matrix for a speficied feature surface

Description

This very powerful function is similar to SGTui but creates Frames based on Feature surfaces. The use is to specify the number of the feature edg plus an optional specific feature selector such as
Feature Surface 3 based on an feature edge angle of 1 rad (60 degree).
Feature Surface 3 based on an feature edge angle of 1 rad (60 degree) and here the third radius
It is also possible to eplace the feature angle directly by the FIL list of surfacesof SG

See Also: SGTget , SGTset , SGTplot , SGTremove , SGTui , FSplot , TofFSui

Example Illustration

 missing image of TofFS(TR,Nr,fe,FS,Rz,dz)

Syntax

[T,fsi,FN,Ti,RCVL]=TofFS([TR,Nr,fe,FS,Rz,dz])

Input Parameter

TR: Solid Geometry
Nr: Number list or ez vector list of the selected surfaces
fe: feature edge angle; default 1; use 0.08 for planar surfaces ~ 6 degree
FS: Optional string selector for center points such as 'R1'
Rz: Optional Rz rotation angle
dz: Optional dz translation in

Output Parameter

T: Frame Matrix
fsi: feature surface index; scalar if unique or selected
FN: full feature name list
Ti: full frame list for feature names
RCVL: CVL for found radial contours; sorted

Examples


TofFS(SGsample(27),2)
TofFS(SGsample(27),2,'','R1')
TofFS(SGsample(27),4,'','R2')
TofFS(SGsample(27),76,0.05)
FIL=surfacesofSG(SGsample(27),0.05); TofFS(SGsample(27),76,FIL)
TofFS(SGsample(26),[0 0 1;0 -1 0])
TofFS(SGsample(27),[0 0 1],'','R3')




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

Last html export of this page out of FM database by TL: 2025-09-21