SGraamboTCPtoolstand

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

returns a tool stand for a designers desktop



See Also: SGraamboTCPmagnetpull , SGgearwheelsocketspanner , SGraamboTCPbagcutter , SGraamboTCPMagnetM22 , SGraamboTCPknurledgearcover , SGraamboTCPgearwheeldisk

Example Illustration

 missing image of SGraamboTCPtoolstand

Syntax

SGall=SGraamboTCPtoolstand

Output Parameter

SGall: Final solid for the desktop

Examples


SGraamboTCPtoolstand




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 MATLAB function, SGraamboTCPtoolstand, is designed to create a tool stand for a designer's desktop. It is part of the SolidGeometry library and was introduced in version 5.4. The function returns a solid geometry object, SGall, which represents the final tool stand.

Input Parameters

Algorithm Steps

  1. The function begins by checking for the presence of the 'STL' parameter using the getfuncparamStr function. This determines if the output should be saved as an STL file.
  2. Two gear models are created using the SGgearDINrot function:
    • SGG: A gear with positive rotation, module 1, 19 teeth, and a height of 15 mm.
    • SGI: A gear with negative rotation, module 1, 19 teeth, a circular profile with a diameter of 24.8 mm, and a height of 15 mm.
  3. A motor model, SGM, is created using the SGtransP and SGtrans0 functions. It is based on a chamfered square profile with dimensions 46.5 mm by 28.5 mm and a chamfer of 24 mm. The model is then rotated by -90 degrees around the z-axis using SGrotate.
  4. The function arranges the components into two rows using SGarrangeSG:
    • SGR1: Contains the motor model and three gears, arranged with a maximum size of 240 mm by 240 mm.
    • SGR2: Contains the inverted gear model.
  5. The two rows are aligned using SGtransrelSG to place SGR1 in front of SGR2.
  6. A base plate, SGN, is created under SGR1 using SGplateunder with a thickness of 4 mm and a height of 15 mm.
  7. The final tool stand, SGall, is created by concatenating SGR1 and SGN using SGconcat.
  8. If no output arguments are specified, the function displays the tool stand using SGfigure and SGplotalpha. If the 'STL' parameter is present, the tool stand is saved as an STL file using SGwriteMultipleSTL.
Algorithm explaination created using ChatGPT on 2025-08-19 08:24. (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