SGwriteSeparatedSTL

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Import/Export
Introduced first in SolidGeometry 3.2, Creation date: 2016-12-27, Last change: 2025-09-14

writes solid geometry in different STL files

Description

This function separates penetrating parts and writes the parts into different STL files.
Use SGsurfaces first if only independent surfaces should be printed in different files.
SGsurfaces is much faster than SGanalyzeGroupParts

See Also: SGwriteSTL , SGwriteMultipleSTL , SGreadSTL , SGanalyzeGroupParts , SGarrangeSG , SGpuzzlecut3D

Example Illustration

 missing image of SGwriteSeparatedSTL (SG,FNAME,ONAME)

Syntax

SGwriteSeparatedSTL(SG,[FNAME,ONAME])

Input Parameter

SG: Solid Geometry
FNAME: File and Directory Name
ONAME: Solid Name

Examples


SGwriteSeparatedSTL(SGsurfaces(SGsample(17)))
SGwriteSeparatedSTL(SGsample(17))




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