SGremedgepoints
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Surfaces
Introduced first in SolidGeometry 5.3, Creation date: 2023-06-10, Last change: 2025-09-15
returns a surface model without edge points on straigt lines, but with surface points that are inside
Description
This function is useful, if STEP files are converted into STL files, and some boundary edges cannot be fused since, there are unnecessary auxilariy points along straigth lines
See Also: VLFLremsurfpoints
, SGremsurfpoints
, SGofpdemodel
, SGremsurfedgepoints
Example Illustration
Syntax
[SGN,FLN,FSi]=SGremedgepoints(SG,[alpha,minf,"repair"])
Input Parameter
SG: | | Solid Geometry surface model |
alpha: | | alpha angle for feature surface; default is 0.01 |
minf: | | minimum facets per face; default is 5; smalles value |
"repair": | | if used, the function SGrepairFLsimple is called in the end |
Output Parameter
SGN: | | New surface model with reduced vertices and faces |
FLN: | | Reduced Facet list based on the original vertex list |
FSi: | | Feature surface index list |
Examples
Remove surfpoints on the line:
A=SGlinkage(5,30,5)
model=pdemodelofSG(A,1)
SGofpdemodel(model); B=ans
SGremedgepoints(B)
SGmakedoublevertex(SGbox('noframe'),1,.76,0.01,'auxc',1,'auxg',2.3); SG=ans
SGremedgepoints(SG);
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