[fi,fil,T,pp]=fiofselect3d([SG,pfi,alp,mbf,Text])
SG : | Solid Geometry; if empty SGofgca is used | |
pfi : | optional already preselected facet index | |
alp : | angle to select faces | |
mbf : | force button mode 1, 2, 3 | |
Text : | Optional text for the header of the windows |
fi : | touched facet index | |
fil : | Facet index list that belongs to touched graphics object | |
T : | Frame of FS | |
pp : |
loadweb JACO_robot.mat
fiofselect3d(JC0,'','','','PLEASE BE ASTONISHD')
This algorithm is a MATLAB function named fiofselect3d
that allows interactive selection of features, surfaces, and complete solids in a 3D solid geometry environment. It is part of the SG-Library and was developed by Tim Lueth.
SGofgca
.SGselect3Dsurface
function.getfuncparams
function.SGselect3Dsurface
with the parameters to get the facet indices and other outputs.SG
is empty, assign it the value of SGofgca
.T
using the function TofVLFL
with the vertex list and facet list.nargout==0
), perform the following:
s
using sofBB
.T
with tplot
.pp
with VLplot
.SGplot
and SGtransP
.To use the function, load a 3D model and call fiofselect3d
with the model as an argument:
loadweb JACO_robot.mat
fiofselect3d(JC0)
Algorithm explaination created using ChatGPT on 2025-08-19 08:22. (Please note: No guarantee for the correctness of this explanation)