SGselect3Dsurface

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - User interface
Introduced first in SolidGeometry 5.0, Creation date: 2020-09-19, Last change: 2025-09-14

EXPERIMENT how to select interactively FS, surface, and complete solids

Description

1 = left mouse button = feature surface
3 = right mouse button = complete surface
2 = middle mouse button/wheel = solid geometry that belongs to object

See Also: SGselect3d , SGselect3dPL , select3d , fiofselect3d

Example Illustration

 missing image of SGselect3Dsurface(SG,pfi,alp,mbf,Text)

Syntax

[fil,VL,FL,hp,fi,pp]=SGselect3Dsurface([SG,pfi,alp,mbf,Text])

Input Parameter

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 - only in interactive mode
Text:

Output Parameter

fil: Vertex list that belongs to touched graphics object
VL: Facet list that belongs to touched graphics object
FL: logical facet index list of selection
hp: touched graphics object from select3d
fi: touched facet index
pp:

Examples


SGselect3Dsurface(SGbox,1)
SGselect3Dsurface(SGbox,'','','','Free Selection by using different mouse buttons')
SGselect3Dsurface(SGbox,'','',2,'Forced selection of a complete surface')
SGselect3Dsurface(SGbox,'','',3,'Forced selection of a complete solid')




Copyright 2020-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