Syntax
SG=SGDIN433([M])
Input Parameter
Output Parameter
SG : | | Solid Geometry including Frames |
Examples
SGDIN433(1.9)
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
Algorithm (Workflow)
This MATLAB function, SGDIN433
, is designed to create a washer according to the DIN 433 standard. It is part of the SolidGeometry library and was introduced in version 4.9. The function takes a metric diameter as input and outputs a solid geometry representation of the washer.
Input Parameters
- M: The metric diameter of the washer. If not provided, a default value of 2.5 is used.
Output Results
- SG: The solid geometry of the washer, including frames.
- TL: A table of dimensions retrieved from the DIN 433 standard.
Algorithm Steps
- The function begins by retrieving the metric diameter
M
using getfuncparams
. If M
is not specified, it defaults to 2.5.
- The function
DIN433
is called with an argument of 0 to retrieve the DIN 433 standard dimensions.
DINfindinTab
is used to find the relevant dimensions for the specified metric diameter M
from the DIN 433 table.
- Two circles are created using
PLcircle
with radii based on the dimensions from the table TL
. These circles represent the inner and outer boundaries of the washer.
- The circles are combined into a composite profile line
CPL
, with nan nan
used to separate the two circles.
SGofCPLz
is called to generate the solid geometry SG
from the composite profile line CPL
and the thickness from TL
.
- The function
SGTset
is used to set transformations for the solid geometry. The 'B' transformation is set with a rotation of 180 degrees around the y-axis, and the 'F' transformation is set with a translation along the z-axis by the thickness.
- The
stampname
property of SG
is set to a string indicating the DIN 433 standard and the metric diameter.
- If no output arguments are specified, a figure is created using
SGfigure
, and the washer is plotted with SGplotalpha
. The frame is plotted with SGTframeplot
.
- A web page with more information about DIN 433 washers is opened.
Algorithm explaination created using ChatGPT on 2025-08-18 23:46. (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