Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 2.51 KB

File metadata and controls

24 lines (14 loc) · 2.51 KB

DIN 915 dog-point set screws

Search parts for DIN915, open Set screw / grub screw, then search black 12.9 in Browse presets. Eleven reference presets cover M2, M2.5, M3, M4, M5, M6, M8, M10, M12, M14 and M16. They use a modeled helical thread, a blind hex socket and a cylindrical dog point with an editable shoulder chamfer. Display finish can be changed between plain metal and black steel; the FreeCAD macro carries the same color.

The supplied dimension table (original reference, not bundled) provides pitch, point diameter limits, cylindrical point length limits, nominal socket size, printed socket limits and minimum socket depth. Presets start at the maximum point diameter/length and nominal socket size. The printed socket limits remain separate reference specifications: some do not contain the printed nominal value. The model does not infer a socket fit from those inconsistent columns.

The image does not provide overall stock lengths. Each preset therefore starts at an explicitly labeled, editable prototype length; L includes the cylindrical point and shoulder transition. L and the shoulder chamfer are excluded from verified catalog dimensions. Existing supplier DIN 915 stock presets remain available with their original length-dependent point dimensions. The stated black steel and grade 12.9 are source attributes; color does not model material strength.

Package ownership

The change is contained in src/parts/set-screw: part.ts owns appearance and parameter definitions, lib/core/fasteners.ts owns the local preview and FreeCAD recipe, lib/catalog/din915.ts retains the transcribed table, and presets.json contains the complete reference configurations. Other fastener packages keep their own geometry helpers.

Focused checks

node --import tsx --test tests/din915.test.ts checks all eleven supplied rows, source scope, closed outward mesh edges, overall length, full cylindrical point, socket floor and six socket flats, and invalid overlapping point/socket configurations.

Native checks are optional and remain outside the GitHub Pages build:

node --import tsx scripts/verify-din915.ts
/Applications/FreeCAD.app/Contents/Resources/bin/python scripts/verify-din915.py

Use a FreeCAD-capable Python on other platforms. The native checks cover M2, M2.5, M6 and M16: valid closed solids, preview/native dimensions and volume, cylindrical point and shoulder probes, socket dimensions, source metadata and STEP round trips. The recorded local results are in data/din915-native-validation.json.