SGpartsfuncparams
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - 3D-Print/Production
Introduced first in SolidGeometry 5.2, Creation date: 2022-04-13, Last change: 2025-09-15
creates a documentation string to explain the fnct call including all parameters
Description
In parameterized design, it is very easy to create very different STL structures during an experimental design process. Unfortunately, it is almost impossible to remember a few days later the exact parameter set used to create these parameterized (automatically designed) structures. Therefore this function creates a string that can be used in combination with SGpartslist to add the parameter set to the part list and with SGwriteMultipleSTL to add the function parameter set to the directory containing the final STL set
See Also: SGpartslist
, sprintftext
, SGwriteMultipleSTL
Example Illustration
Syntax
txt=SGpartsfuncparams([params])
Input Parameter
params: | | exact same list of parameters as used in function definition |
Output Parameter
Examples
Just call this fnct with the same parameter list as the mother fncts to create the string
SGpartsfuncparams(12,13,'t',[1 1.5 2 12 23 34.0 pi])
txt=SGpartsfuncparams(MA,p,CPL,sl,BL) % Same order of parameters as used in the fncts definition
[AParts,partext]=SGpartslist({},SGpartsfuncparams(MA,p,CPL,sl,BL)); % Same order of parameters as used in the fncts definition
SGwriteMultipleSTL({A,B,C,E},'','',partext);
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