by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Kinematics and Frames
Introduced first in SolidGeometry 5.4, Creation date: 2024-07-06, Last change: 2025-09-15
[T,CPLA,fi]=TofFSoutlinecenter(SG,[fi,"debug"])
SG: | SOlid Geometry | |
fi: | list of indices ot list of features identical to FSselect | |
"debug": | if used the ctreation is shown |
T: | Center frame of the surface | |
CPLA: | Outer conotur in the eye(4) CS | |
fi: | faces index list |
SGmotorFeeTech; SGM=ans;SGM=SGrotate(SGM,'y',-pi/2); SGfigure(SGM)
TofFSoutlinecenter(SGM,[+1 0 0],'front',-100,'areadescend',1)
TofFSoutlinecenter(SGM,{[1 2]})
TofFSoutlinecenter(SGM,[-1 0 0],'front',-100,'areadescend',1,'debug')
[T,CPLA]=TofFSoutlinecenter(SGM,[0 0 1],'front',-100,'areadescend'); SGfigure(SGM); CVLplot(VLtransT(CPLA,T),'b-',3); tplot(T,40);
[T,CPLA]=TofFSoutlinecenter(SGM,[0 0 -1],'front',-100,'areadescend'); SGfigure(SGM); CVLplot(VLtransT(CPLA,T),'b-',3); tplot(T,40);
[T,CPLA]=TofFSoutlinecenter(SGM,[0 0 -1],'front',-100,'areadescend'); SGfigure(SGM); CVLplot(VLtransT(CPLA,T),'b-',3); tplot(T,40);