by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - ENG-Designs
Introduced first in SolidGeometry 5.4, Creation date: 2024-06-17, Last change: 2025-09-15
[Hsub,Nsub,S,Hadd,Nadd,T]=SGdesignTongueGrooveRadial([CPLu,T,h,wi])
CPLu: | Contour of an opening in a solid (CPLofFS) | OR a SG solid | |
T: | Transformation of CPLu (CPLofFS); default is eye(4) | Or an ez vector | |
h: | [h-inside h-outside]; default os [3 5]; | |
wi: | [wall-inside wall-outside] default is [0.8 0] |
Hsub: | Subtraction solid | |
Nsub: | not used yet | |
S: | not used yet | |
Hadd: | not used yet | |
Nadd: | Lower Contour | |
T: | Coordinate frame that has been used if ez was input parameter |
SGofCPLz(PLcircle([20 24],4),5); SG=ans;
CPLofFS(SG,FSselect(SG,[0 0 -1],'front',-0.2));
[CPL,T]=CPLofFS(SG,FSselect(SG,[0 0 -1],'front',-0.2)); % Take the floor lower surface
CPL=CPLselectinout(CPL,1); % Select the bore hole
SGdesignTongueGrooveRadial(CPL,T,[5 10],[0 5])