SGBAUHAUSnotesbox

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Completed CAD designs
Introduced first in SolidGeometry 5.1, Creation date: 2021-11-24, Last change: 2025-09-15

returns a simple box with cover lid for a note paper block

Description

Origin of the later function SGBAUHAUSbox

See Also: SGBAUHAUSbox

Example Illustration

 missing image of SGBAUHAUSnotesbox(isSTL,

Syntax

SGBAUHAUSnotesbox([isSTL,"STL"])

Input Parameter

isSTL: if used, an STL directory is written for a slicer
"STL": if used, an STL directory is written for a slicer

Examples


SGBAUHAUSnotesbox('STL')




Copyright 2021-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)

The function SGBAUHAUSnotesbox is designed to create a simple box with a cover lid for a note paper block. It is part of the SolidGeometry library and was introduced in version 5.1. The function can optionally generate an STL directory for use with a slicer if the "STL" parameter is provided.

Input Parameters

Algorithm Steps

  1. The function begins by checking if the "STL" parameter is included in the input arguments using the commented-out lines that call getfuncparams and getfuncparamStr. These lines are intended to determine if the STL output is requested.
  2. The core functionality of the function is to call another function, SGBAUHAUSbox, with specific parameters to create the box. The parameters passed to SGBAUHAUSbox are:
    • An array [106 106 50 1.5 2 48] which likely represents the dimensions and features of the box. The exact meaning of each number is not specified in the code, but they could represent length, width, height, wall thickness, and other geometric properties.
    • 30: This could be a parameter related to the box's design, such as a corner radius or another dimension.
    • 0: This might be a flag or another design parameter.
    • varargin{:}: This passes any additional arguments, including "STL" if provided, to the SGBAUHAUSbox function.

Output

The function does not return any values directly. Its primary purpose is to create a box, potentially outputting an STL file if requested.

Algorithm explaination created using ChatGPT on 2025-08-18 22:29. (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