by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Kinematics and Frames
Introduced first in SolidGeometry 5.1, Creation date: 2022-02-03, Last change: 2025-09-15
LLLN=CPLsubtractTLasSG(LLLL,subc,[,"h","WCR","debug"])
LLLL: | cell list {CPL1, TL1, Level1; CPL2, TL2, Level; ...} | |
subc: | contour index row of the contour that is reduced | |
"h": | optional for for graphical output => height | |
"WCR": | optional for for graphical output => list of angles | |
"debug": | if used; the individual steps are plotted |
LLLN: | List in which the cntour of subc ist modified by subtracting the colliding contour in the same layer |
Posesample(10); PS=ans;
fourBarposesyntheses(Posesample(10),[2 3 4],[10 1 1]); PS=ans;
fourBarposeCPLmotion(PS,1); [PL0,TL0,wcr,TA1,TB1,TA0,TB0]=fourBarposeCPLmotion(PS,1);
CPLunionTL(PLcircle(5),TA1,PLsquare(5),TL0,2); CPLN=ans;
CPLsubtractTL(PLcircle(5),TA1,PLsquare(2),TL0,0.1); CPLN=ans;