SGprinterstand

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Parametric Design
Introduced first in SolidGeometry 5.4, Creation date: 2024-08-09, Last change: 2025-08-19

creates posts or stands for furniture or in this case hp laser printer

Description

90 x 90 x 90 takes 3.5h per box on the bambu-lab

See Also: SGbarcelonaspacer , SGfurniturespacer

Example Illustration

 missing image of SGprinterstand

Syntax

SGprinterstand

Examples


SGprinterstand




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 function, SGprinterstand, is designed to create a stand for a printer, specifically a HP laser printer, using parametric design principles. The function is part of the SolidGeometry library and was introduced in version 5.4.

Input Parameters

Algorithm Steps

  1. Check for the 'STL' parameter using the getfuncparamStr function. This function returns a boolean isSTL indicating whether 'STL' is present in the input arguments.
  2. Initialize the width w to 10 mm.
  3. Set the dimensions H to [90, 90, 90] mm and adjust them by subtracting the width w.
  4. Create a cross pattern CPLA using the CPLrack4PL function, which takes a square base of size H(1:2) and a spoke width of w/2.
  5. Create a square pattern CPLB using the CPLrackPLdelaunay function, which also takes a square base of size H(1:2) and a spoke width of w/2, with the true parameter indicating some additional configuration.
  6. Combine the cross and square patterns into CPLC using the CPLunion function.
  7. Extrude the combined pattern CPLC into a 3D shape SG using the SGofCPLz function, with a height of H(3) + w.
  8. If no output arguments are specified (nargout == 0), plot the 3D shape using SGfigure and SGplotalpha functions.
  9. If the 'STL' parameter was present, write the 3D shape to an STL file using the SGwriteMultipleSTL function.
Algorithm explaination created using ChatGPT on 2025-08-19 00:30. (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