VLcheckvertexaccuracy
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Problems Find/Check/Fix
Introduced first in SolidGeometry 4.3, Creation date: 2018-08-30, Last change: 2025-09-14
returns the sufficient number of digits for rounding the vertex coordinates of a solid
Description
This function takes time since it works iterative manner.
Before using SGchecknonmanifoldedges, SGchecknonmanifoldvertices, SGcheckmeshlab it makes sense to find out what the accuracy of the STL generating process was.
See Also: VLcheckboundaryaccuracy
, SGchecknonmanifoldedges
, SGchecknonmanifoldvertices
, SGcheckmeshlab
Example Illustration
Syntax
atab=VLcheckvertexaccuracy(VLorg)
Input Parameter
VLorg: | | Original Vertex List |
Output Parameter
atab: | | full table of significant vertex distances after rounding |
Examples
loadweb JACO_robot.mat
VLcheckvertexaccuracy(JC2);
VLcheckvertexaccuracy(JC2.VL);
atab=VLcheckvertexaccuracy(JC2.VL), JC2.VL=round(JC2.VL,atab(1,1)); % First Correction
atab=VLcheckvertexaccuracy(JC2.VL), JC2.VL=round(JC2.VL,atab(1,1)); % No further correction
Copyright 2018-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