FSfeature
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - FS/Feature Surfaces
Introduced first in SolidGeometry 5.1, Creation date: 2021-07-15, Last change: 2025-09-15
Selects features surfaces based on
Description
There are several functions for the selection of surfaces, features, and frames
FSofSGnormal - uses a normal vector for the selection
FSselect - should simply select surfaces out of a larger set of surfaces
FSfeature - should return properties of different data types
see also all SGTset functions
=======================================================================
The 3rd of a set of functions aimed directly at the analysis and formal specification of surfaces. This is necessary to give a clear structure to the formal addressing of surfaces. Concept similar to TofSG
1) FSofSGnormal - FIL wrt to a normal vector
2) FSselect - FIL as selection based on features
3) FSfeature - Different data types wrt to feature request
Feature request:
"cp" Center point
"ez" Normla vector
"area" Area size
"numholes" Number of holes
"T" Center Frame
See Also: FSofSGnormal
, FSselect
, FSofSG
, FSofSGfacet
, TofCVLdimclassifier
Example Illustration
Syntax
F=FSfeature(SG,FIL,[feat])
Input Parameter
SG: | | Solid Geometry |
FIL: | | Cell list of facet indices |
feat: | | feature request string |
Output Parameter
F: | | Result as cell list; scalars, vectors, frames, etc. |
Examples
load JACO_robot.mat
FSselect(JC0,[1 0 0],0.4,'areamin',100); FIL=ans;
FSfeature(JC0,FIL,'numholes'); cell2mat(ans)
Copyright 2021-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