SGarrangeSGC

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - SG/Solids
Introduced first in SolidGeometry 1.1, Creation date: 2013-08-04, Last change: 2025-09-14

arranges all parts of a SG container

Description

To arrange a collection of solid geometries (VL/FL) within a 3D printing volume, the function SGCaddSG is first used to collect all SG into a SG container. This function SGofSGC is used to arrange the parts of the solid geometry container part by part, row by row, layer by layer within the printing volume.
See also: SGCaddSG, SGCaddSGn

See Also: SGboxing , SGpatternXYZ , SGcopyrotZ , SGarrangeSG , SGCaddSGn , SGCaddSG

Example Illustration

 missing image of SGarrangeSGC(C,Vol3D,Dist3D)

Syntax

SG=SGarrangeSGC(C,[Vol3D,Dist3D])

Input Parameter

C: Solid Geometry container (see SGCaddSG)
Vol3D: 3D printing volume (default: [200 200 250])
Dist3D: Distance between parts (default: [1 1 1])

Output Parameter

SG: Solid geometry

Examples

Arrange 50 boxes within a 3D volume
A=SGbox ([10,10,10])
C=SGCaddSGn ([],A,50);
B=SGofSGC(C,[100 100 100]);
SGplot(B)




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