VLFLreadOBJ

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - File handling
Introduced first in SolidGeometry 4.4, Creation date: 2018-11-18, Last change: 2025-09-14

reads in an OBJ file

Description

Since there are different formats in OBJ files
currently only the format
f v1 v2 v3
and f v1/vn v2/vn v3/vn
and f v1//vn v2//vn v3//vn
are supported

See Also: SGreadSTL , SGwriteSTL , VLFLwriteSTL , VLFLreadSTL

Example Illustration

 missing image of VLFLreadOBJ(FName,mag,check)

Syntax

[VL,FL,H,AbC,FName]=VLFLreadOBJ([FName,mag,check])

Input Parameter

FName: File Name
mag: magnification; default is 1
check: checker; default is false

Output Parameter

VL: Vertex list
FL: Facet list
H: Header, not used in SG-Lib 4.7
AbC: Colors, not used in SG-Lib 4.7
FName: Filename




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