SGpinwrenchsize
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Modeling function
Introduced first in SolidGeometry 4.9, Creation date: 2020-07-20, Last change: 2025-09-14
creates a pin/heaxagon pin for a specified metric wrench size
Description
This fnctn can be used to create bore holes for nuts or screws if 'c' or 'n' is used , DIN 912 or DIN985 is used for the diameter of screw head and nut
See Also: SGDIN912head
, SGpintorquegauge
Example Illustration
Syntax
SG=SGpinwrenchsize([D,H,n,B,W])
Input Parameter
D: | | Metric Diameter |
H: | | Length of pin or 'c'(cylinder) for 'n'(ut) |
n: | | number of edges |
B: | | Width as subtraction sold |
W: | | Angle for rotation |
Output Parameter
Examples
SGpinwrenchsize(5,10); % 5mm x 10 mm
SGpinwrenchsize(5,10,6); % 5mm x 10 mm - Inbus
SGpinwrenchsize(5,10,6,20); % 5mm x 10 mm - Inbus subtraction solid
SGpinwrenchsize(5,5,6,20,pi/2); % 5mm x 10 mm - Inbus subtraction solid rotated
SGpinwrenchsize([ 5 2.5 4 ],[5 10 5 ],[6 0 6],20);
Copyright 2020-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
Last html export of this page out of FM database by TL: 2025-09-21