SGcutTextrudeT

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Kinematics and Frames
Introduced first in SolidGeometry 5.1, Creation date: 2021-03-14, Last change: 2025-09-15

returns a cutted an elongated solid by extrusion of the crosssection plane

Description

Cutting, extending, shortening, bending of existing robotic joints using Yannich's untearm as an example.

See Also: SGcutT , CVLofopenfaces , TofPez

Example Illustration

 missing image of SGcutTextrudeT(SG,T,Td,olap,type,unite)

Syntax

[SGN,T,TN]=SGcutTextrudeT([SG,T,Td,olap,type,unite])

Input Parameter

SG: Solid Geometry
T: Cutting Frame
Td: Straight distance in z or Relative link
olap: overlap of new and old parts
type: straight, rad, rmax,tan; default is straight
unite: if true and possible; function tries to combine the three elements again to one

Output Parameter

SGN: Result if there is only one solid; unite=true
T: Transformation matrix of click, Global Start Frame
TN: Global End Frame

Examples

load Yannick_robot.mat % Or Use loadweb

SGcutTextrudeT(YKLower,T, TofPez([50 +90 100],[0 0 -1],pi/3),'','rad'); SGN=ans; view(10,30);
SGcutTextrudeT(YKLower,T, TofPez([50 +90 100],[0 0 -1],pi/3),'','tan'); SGN=ans; view(10,30);
SGcutTextrudeT(YKLower,T, TofPez([50 +90 100],[0 0 +1],pi/3),'','rad'); SGN=ans; view(10,30);
SGcutTextrudeT(YKLower,T, TofPez([50 +90 100],[0 0 +1],pi/3),'','tan'); SGN=ans; view(10,30);




Copyright 2021-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

Last html export of this page out of FM database by TL: 2025-09-21