SGanalyzePenetration
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Geometric Queries
Introduced first in SolidGeometry 3.1, Creation date: 2016-12-13, Last change: 2025-09-14
returns the structure of additive designed SG
Description
Analyzes the solids with respect to penetration of solids using different methods
- 'vertex': A penetration is detected based only on point of one solid in another (slow) same as box
- 'solid' : A penetration is detected based on boolean intersection (very slow!)
- 'cross' : Based in Vertices in Solids
- 'box' : Cross using bounding boxes
See Also: connectofmat
, SGseparate
, SGanalyzeJointFaces
, SGanalyzeGroupParts
Example Illustration
Syntax
[SGk,PL,CL]=SGanalyzePenetration(SG,[m])
Input Parameter
SG: | | Solid Geoemtry |
m: | | method 'vertex','cross','solid', 'box'; default is cross |
Output Parameter
SGk: | | Cell list of Solid Geoemtries |
PL: | | List containing set of penetrating parts |
CL: | | Crossing List |
Examples
Analyze a joint consisting of two additive designed parts
SGanalyzePenetration(SGsample(17))
loadweb JACO_robot.mat; SGpacking(JACO,[600 500 500],10,'',true); A=ans
SGanalyzePenetration(A,'box');
SGanalyzePenetration(A,'vertex');
Copyright 2016-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