SGpartslist

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - 3D-Print/Production
Introduced first in SolidGeometry 5.2, Creation date: 2022-03-10, Last change: 2025-09-15

appends parts to a parts list or parts lsit to parts list

Description

new parts are added by a string such as
* if there are several parts required or
if there is only one part

See Also: SGpartslist , sprintftext , SGpartsfuncparams , SGwriteMultipleSTL , SGpartslistfindproductcodes , productcode

Example Illustration

 missing image of SGpartslist(parts,newpartorpartslist)

Syntax

[parts,txt]=SGpartslist(parts,[newpartorpartslist])

Input Parameter

parts: parts list or empty for a new list
newpartorpartslist: either new parts or a parts list or a text output

Output Parameter

parts: parts list
txt: text output to write into a file

Examples


SGpartslist([],'DIN912','DIN985','DINX'); pp=ans
SGpartslist(pp,'2 DIN912','3 DIN985','4 * DINX'); pp2=ans
SGpartslist(pp,pp2); pp3=ans
[~,b]=SGpartslist(pp,pp2)
[~,b]=SGpartslist([],b,b,b,b)




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