SGmakedoublefaces

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Problems Find/Check/Fix
Introduced first in SolidGeometry 5.3, Creation date: 2023-06-09, Last change: 2025-09-15

move a number faces with slightly different position (creating errors)

Description

Family of error creating functions for testing
SGmakemissingvertex
SGmakemissingfacet
SGmakedoublevertex
SGmakedoublefacets



See Also: SGshortopti , SGmakemissingvertex , SGmakemissingfacet , SGmakedoublevertex

Example Illustration

 missing image of SGmakedoublefaces(SG,fi,alpha,d,

Syntax

[SG,SGB,SGA]=SGmakedoublefaces([SG,fi,alpha,d,"flip","auxc","auxg"])

Input Parameter

SG: Solid geometry; default is sphere (25);
fi: indices of faces to remove; default is 1
alpha: alpha for separating the feature surfaces; default is .76
d: displacement in direction of normal vector;
"flip": if used; the orientation of the faces is turned to backwards
"auxc": create auxiliary points along the boundary edge
"auxg": create auxiliary grid points within the feature surface

Output Parameter

SG: SG with removed vertices and removed facets
SGB: Surfaces with displacement
SGA: Surfaces without displacement

Examples


SGmakedoublefaces(SGsphere(5),[1:30],.76,0,'auxg',.2)




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