SGprint

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - File handling
Introduced first in SolidGeometry 5.4, Creation date: 2024-07-25, Last change: 2025-09-15

writes an STL file an opens the slicer afterwards



See Also: , SGprintPreForm

Example Illustration

 missing image of SGprint(SG)

Syntax

SGprint(SG)

Input Parameter

SG: File or cell list to slice

Examples


SGprint(SGbox)




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

Algorithm (Workflow)

This algorithm is a MATLAB function named SGprint designed to handle file operations related to 3D printing. It is part of the SolidGeometry library and is used to write STL files and open a slicer application afterwards.

Input Parameters

Function Workflow

  1. The function begins by opening the BambuStudio application using the openbydoubleclick function. This is specified with the path '/Applications/BambuStudio.app'.
  2. The input parameter SG is converted into a cell array using the elem2cell function. This allows for flexible handling of the input, whether it is a single file or a list of files.
  3. The function SGwriteMultipleSTL is called with the cell array SG as its argument. This function is responsible for writing the STL files for each element in the cell array.
  4. Finally, the function cura is called. This likely refers to a function that interacts with the Cura slicer software, although the specific actions are not detailed in the provided code.

Additional Information

The function is part of a developer procedure and is not intended for release. It was introduced in version 5.4 of the SolidGeometry library. The function is associated with other functions like SGprintAPredator and SGprintPreForm, which may offer similar or complementary functionality.

Algorithm explaination created using ChatGPT on 2025-08-18 22:54. (Please note: No guarantee for the correctness of this explanation)

Last html export of this page out of FM database by TL: 2025-09-21