SGiso4026

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - ENG-Components
Introduced first in SolidGeometry 2.4, Creation date: 2015-06-15, Last change: 2025-09-14

SG of Hexagon socket set screw with flat point

Description

returns a solid geometry of a "Hexagon socket set screw with flat point" related to DIN913 or ISO4026

See Also: DINhelp , DIN913 , DIN912 , DIN336 , SGiso4762

Example Illustration

 missing image of SGiso4026(M,L,imb)

Syntax

SG=SGiso4026(M,L,[imb])

Input Parameter

M: Diameter (millimeter)
L: Length (millimeter)
imb: true=imbus; false=simple screw

Output Parameter

SG: Solid geoemetry of Hexagon socket set screw with flat point




Copyright 2015-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, SGiso4026, generates the solid geometry of a "Hexagon socket set screw with flat point" according to DIN913 or ISO4026 standards.

Input Parameters

Output

Algorithm Steps

  1. Initialize imb to true. If a third argument is provided and is not empty, set imb to that value.
  2. Call DIN913(M) to get the thread length TL. Set M to TL(1).
  3. Call DIN13(M) to get the screw length SL.
  4. Create the main screw geometry using SGscrewDIN(M,L).
  5. Create a hexagon socket using SGofCPLz and PLcircle with parameters derived from TL and dofn(6). Align it to the top of the screw geometry.
  6. Create a cylindrical feature using SGof2CPLz and PLcircle with parameters derived from SL.
  7. If imb is true, perform a boolean operation to combine the main screw geometry with the hexagon socket.
  8. Align the cylindrical feature under the main screw geometry and perform a boolean operation to combine them.
  9. If no output is requested, plot the resulting geometry with specific view settings and lighting.
Algorithm explaination created using ChatGPT on 2025-08-19 07:39. (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