SGcutT

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Surfaces
Introduced first in SolidGeometry 4.0, Creation date: 2017-08-02, Last change: 2025-09-14

cuts an object below a arbitrary plane using SGcut relative to the center of floor of bb

Description

Beside Franz Irlinger who introduce me into the beauty of mechanism instead of robots, I'd like to thank Marcus Rompf and Henning Schober, both involved into the design of accordion mechanics.

See Also: BBofSGcutT , SGcut , SGcut2 , SGcutBB , SGcutTcrossblade , SGcutTcylindricblade , SGseparatebyT , SGselectGroupofT

Example Illustration

 missing image of SGcutT(SG,Ts,centxy,expl,ct)

Syntax

[SGU,SGO,Ts,Ufi,Ofi]=SGcutT([SG,Ts,centxy,expl,ct])

Input Parameter

SG: Solid Geoemtry or empty for SGofgca
Ts: cutting plane to cut under; or empty for interactive select
centxy: if true, center the SG on xy-plane; default=false | new in 4.1
expl: explosion distance of the solids;
ct: 'a'xial, 'c'oronal, 's'agital, default is '-a'

Output Parameter

SGU: New lower geometry (Magenta)
SGO: New upper geometry (Grey)
Ts: T Surface - HT Matrix of the cut if T was selected interactively
Ufi: Facet index for the crossing facet of the lower part
Ofi: Facet index for the crossing facet of the upper part

Examples


load JACO_robot.mat
SGcutT(JC0,TofR(rot(pi/6,pi/6,pi/6),[0 0 100]),true)
SGcutT(JC0,TofR(rot(pi/6,pi/6,pi/6),[0 0 100]))
SGcutT(JC0)
SGcutT(JC0,'','',5)




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