Syntax
[ML,MA,SG]=MLofSG(SG,[fi,fe,amin])
Input Parameter
SG : | | Solid Geometry |
fi : | | facet index or empty |
fe : | | feature edge angle (0.3) is default |
amin : | | minimal facet are to consider as start point;default is 0 |
Output Parameter
ML : | | Mounting face index list of FL (nx1), n=length(FL) |
MA : | | Array [nx5]= [mounting area index(1) area (1) normal vector(3)] |
SG : | | SG.ML und SG.MA added using ML and MA if fi=[]; |
Examples
load AIM_SGrobot;
SG=SG1, fe=0.5, MLofSG(SG,[],fe);
[ML,MA]=MLofSG(SG,[],fe), MA(:,[1 3 4 5]), [a,b]=VLnorm(MA(:,3:5))
SG.FL(ML==4,:), % return the facets that belong to union 4
SG.FL(ML~=4,:), % return the facets that do not belong to union 4
Copyright 2015-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