VLFLwriteSTLb

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Import/Export
Introduced first in SolidGeometry 1.0, Creation date: 2012-04-07, Last change: 2025-09-14

writes a STL object in binary mode given by a vertex list and facet list into a STL-file

Description

Fast and reliable procedure. Not tested with all Modelers. Works with MESHLAB.
2018-11-28 (SG-Lib 4.4), VLFLwriteSTLb support colored by attribute bytes

See Also: SGreadSTL , SGwriteSTL , VLFLreadSTL , VLFLwriteSTL , STLAsctoBin

Example Illustration

 missing image of VLFLwriteSTLb(VL,FL,FNAME,ONAME,vcol)

Syntax

fname=VLFLwriteSTLb(VL,FL,[FNAME,ONAME,vcol])

Input Parameter

VL: Vertex list
FL: Facet list
FNAME: Name of the desired file on Desktop
ONAME: Solid name or string
vcol: color

Output Parameter

fname:

Examples

Generate a simple binary file of a cuboid
[OVL,OFL]=VLFLcylinder(10,5,3,1);
VLFLwriteSTLb (OVL,OFL,'PRISMA-BIN','by Tim C. Lueth');




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