by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Modeling function
Introduced first in SolidGeometry 5.1, Creation date: 2021-07-28, Last change: 2025-08-18
See Also: SGofCPLcommand
SGbanditjethelmclip
The function SGbanditjethelmclip is designed to create a clip for a Bandit Jet Helmet. It is part of the SolidGeometry library and was introduced in version 5.1. The function does not take any input parameters and operates using a series of commands to generate a 3D model.
SGofCPLcommand with a specific command string. This command string is a sequence of operations that define the geometry of the clip.'b 16 17': This likely creates a base or block with dimensions 16 by 17.'h 3': This sets the height of the previous block to 3.'enter': This might be a command to finalize or apply the previous operations.'text TIM': This adds the text "TIM" to the model.'cat center ontop -.1': This centers the text on top of the previous geometry with a slight offset.'b 1.5 15': Creates another block with dimensions 1.5 by 15.'dupc 2 1 3.5': Duplicates the previous block with specific parameters.'trans center': Translates the duplicated block to the center.'h 4': Sets the height of the current geometry to 4.'b 2.5 15': Creates another block with dimensions 2.5 by 15.'dupc 2 1 4.5': Duplicates this block with different parameters.'trans center': Centers the duplicated block.'h 2': Sets the height of the current geometry to 2.SG, which represents the 3D model of the clip.SGfigure(-30,30): This function call likely sets up a figure or plot with a specific range, possibly for visualization purposes.SGplotalpha(SG,'r',0.9): This plots the model SG with a red color ('r') and an alpha transparency of 0.9.SGwriteSTL(SG,'JetHelmClip'): This writes the 3D model to an STL file named "JetHelmClip".