SGbitISO1173

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - ENG-Components
Introduced first in SolidGeometry 4.7, Creation date: 2019-07-15, Last change: 2025-08-18

Bite Geometry related to Bit DIN 3126 ISO 1173

Description

NEVER 3D-PRINT BITS => THEY WILL BRAKE AND STICK IN THE METAL PART

See Also: SGsnaprivet , SGtorquefuse

Example Illustration

 missing image of SGbitISO1173(n,l,d)

Syntax

SG=SGbitISO1173([n,l,d])

Input Parameter

n:
l:
d:

Output Parameter

SG: Solid Geometry

Examples


SGbitISO1173
SGbitISO1173(4)




Copyright 2019-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, SGbitISO1173, is designed to create a solid geometry model of a bit according to the DIN 3126 ISO 1173 standard. The function takes several input parameters and returns a solid geometry object.

Input Parameters

Algorithm Steps

  1. The function begins by retrieving the input parameters using the getfuncparams function. It sets default values if parameters are not provided:
    • d is set to 6.3 mm, which is equivalent to 1/4 inch.
    • l is set to 15 mm.
    • n is set to 6.
  2. The radius r1 is calculated using the formula r1 = dofn(n) * d / 2. The function dofn is assumed to determine a factor based on n.
  3. A solid geometry SG is created using the function SGofCPLzchamfer with the following parameters:
    • PLcircle(r1, n): Creates a circular profile with radius r1 and n segments.
    • l: The length of the bit.
    • 1: Chamfer parameter.
    • false: A boolean parameter, possibly for chamfer direction or type.
  4. The function SGTset is used to set transformation properties of the solid geometry:
    • 'B' with vector [0 0 -1]: Sets a base transformation.
    • 'F' with vector [0 0 +1]: Sets a forward transformation.
  5. If no output is requested (nargout == 0), the function visualizes the solid geometry:
    • SGfigure: Initializes a figure for plotting.
    • view(-30, 30): Sets the view angle for the plot.
    • SGplotalpha(SG, 'g', 0.9): Plots the solid geometry with green color and 90% transparency.
    • SGTframeplot(SG): Plots the transformation frame of the solid geometry.
Algorithm explaination created using ChatGPT on 2025-08-18 23:28. (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