by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - ENG-Designs
Introduced first in SolidGeometry 5.2, Creation date: 2022-06-04, Last change: 2025-09-15
See Also: SGdesignDIN7991BushingE
[Nsub,Nadd,S,AParts]=SGdesignIgusdragchain([M])
M: | [2 5 2 7],true); % M2 DIN 7991, Distance 5, Pin 2 length 7) |
Nsub: | Subtraction solid (green) | |
Nadd: | Supplement solid (yellow) | |
S: | Screw (magenta) | |
AParts: | Parts list |
This function, SGdesignIgusdragchain, is designed to create the subtraction and supplement solids for fixing an Igus drag chain. It is part of the SolidGeometry library and was introduced in version 5.2.
[2 5 2 7]. These represent:
M(1): Screw type, specifically M2 DIN 7991.M(2): Distance, set to 5.M(3): Pin diameter, set to 2.M(4): Pin length, set to 7.getfuncparams, with default values [2 5 2 7].ol as 0.1.slt and slc using slfit for 't' and 'c'.SG using SGbox and retain it with 'F'.IG with dimensions [10 7 2] and adjust its vertices.Psub with radius M(3)/2 + slt and height [-ol M(4)+slc], then translate it.SGdesignDIN7991BushingE to generate initial solids and parts list.Nsub with Psub to form the final subtraction solid.SGTplotalpha with specified colors and alignments.