Solid Geometry Toolbox - Documentation

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Offline documentation download at TUM (200 MB)

Solid Geometry Toolbox - General Information

Tutorial - Common Datatypes for Geometry:       A short introduction into datatypes of the SGLib (mlx)
Tutorial - Contours for Geometry in 2D/3D :       Important basics for editing line contours in CPLs, Polybool, and Polyshape (mlx)
Tutorial - Extrusion from a 2D contour to a 3D solid body geometry:       Collection of different functions to create surface models from CPLs (mlx)
Tutorial - Spatial arrangement of solid geometries:       How to arrange bodies relative to each other (mlx)
Tutorial - Concatenation (Merging) and Boolean Operations (Fusion) for Solids:       Combination of existing solids (mlx)
Tutorial - Assembly Design of mounted joints:       Automatic design of ball-bearing link/joint connections and DC motor mounts (mlx)
Tutorial - Robot Arm Design:       Design of a robot arm using the Denavit-Hartenberg notation (mlx)
Tutorial - Connecting solids by points, solids, frames:       Automatic design of connecting solids between 2 solid geometries (mlx)

Solid Geometry Toolbox - Chapter List

 3D-Print/Production    Support for SLS/FDM additive manufacturing, e.g. boxing, turning, G-code processing  
 4Bar/Linkages    Calculation and automatic design, drawing and animation of mechanisms and links  
 Analytical Geometry    Analytical Geometry (currently unsorted)  
 Analyzing function    Analysis function (currently unsorted) must be distinguished from geometric queries  
 APPLICATION    Preparing standalone applicartions  
 Artificial Intelligence    Functions for AI concepts such as STRIPS and connection to ChatGPT from openAI  
 Automatic Design    analyze the existing surface models to create new ones (currently unsorted)  
 Auxiliary function    Auxiliary functions (currently unsorted)  
 Boolean    Merging (concatenation) and merging (Boolean functions) of contours and solid geometries  
 CODING/DEVELOP    Development of the SG-Lib and other toolboxes, which should be used with caution  
 Completed CAD designs    Completed, mostly parameterizable CAD special designs for 3D printing or further processing  
 CPL/Closed Polygon Lists    2D - Closed contours and embedded contours based on PL separated by NaN  
 CVL/Closed Vertex Lists    3D - Closed contours and embedded contours based on VL separated by NaN  
 CVLz/Slices    3D - Planar closed vertex contours and embedded contours based on CVL separated by NaN generated by slicer functions  
 Debug    Classic debugging with interruptions, value outputs and variable transition to the workspace of the CommandLine Editor  
 EL/Edge Lists    Processing of edge list EL/PL as an alternative to CPLs  
 ENG-Components    Standard Parts related to DIN/ISO  
 ENG-Designs    Automatic Design of combining parts as joints or fixed  
 ENG-Dimensioning    Dimensioning of contours and views of solid geometry as it is typical for engineers  
 ENG-Fits    Adaptation of bores for fits (interference fit, transition fit, clearance fit)  
 ENG-Standards    DIN/ISO Standards used for design  
 Experiments    Testing and developing new methods that are converted into functions or function sets  
 FEM/PDE    Simple application of the FEM methods in the PDE toolbox of Matlab  
 File handling    access to folders and files mainly for developers  
 Filemaker    Simpler interface to filemaker databases (useful now for openAI processing of FIlemaker content) See Tutorial VLFL_EXP32  
 FL/Facet Lists    2D/3D Facet lists triangulation and manipulation   
 FS/Feature Surfaces    3D Feature surfaces calculation and selection for union, mounting, relations   
 Geometric Queries    Calculation of geoemetric properties of contours or bodies  
 Images    image processing for contour or solid geometry generation  
 Import/Export    Import and export of surface models (STL, OBJ, etc.). Voxel models (dicom), and contours (SVG, DXF, etc.)  
 Kinematics and Frames    Coordinate systems, body-bound coordinate systems (frames) and kinematic chains  
 Mechanical function    [SHOULD BE DIVIDED INTO OTHER CLASSES]  
 Modeling function    [SHOULD BE DIVIDED INTO OTHER CLASSES]  
 NDI Camera    Interface for the NDI stereo camera VICRA  
 Parametric Design    [SHOULD BE DIVIDED INTO OTHER CLASSES]  
 PL/Point Lists    2D - Editing paths as ordered point lists  
 PLEL/Point List/Edge List    2D - Embedded contours based in PL and EL for 2D triangulation   
 Problems Find/Check/Fix    Recognize problems in EL, FL, solids, surfaces and try to fix them  
 RealSense Camera    support of the Intel RealSense cameras  
 Realtime Roundrobin    Simple real-time round robin kernel  
 REMOVED-OUTDATED      
 Samples    Collection of all geometric examples: Point clouds, paths, contours, surfaces, solids, voxels, etc.  
 Serial-Robotics    support for JACO, Raambo, and FeeTech robots  
 SG/Solids    3D - Solid body geometries  
 SimMechanics    the rapid creation of SIMSCAPE/SIMMECHANICS diagrams for a multi-body simulation  
 Spatial Relations    2D/3D spatial relations relative to the coordinate system, contours, surfaces or solid geometries  
 Surfaces    [SHOULD BE DIVIDED INTO OTHER CLASSES]  
 Symbolics tools    Analytical equation solving or symbolic arithmetic  
 Text/Strs/Chars/Links    Support for char chains and strings and hyperlinks  
 TR/Tetrahedrons    3D - Tethrahedron bodies filled with tetrahedrons as opposed to surfacemodels (SG)  
 Tutorial    Collection of publishable m-files to learn the use of the SG-Lib, also used for testing the SG-lib before relasing it  
 USB Interface    Auxiliary methods for USB connections  
 User interface    [SHOULD BE DIVIDED INTO OTHER CLASSES]  
 Video/Audio/PDF    Creation and modification of video and audio files for tutorials and lectures  
 Visualization    [SHOULD BE DIVIDED INTO OTHER CLASSES]  
 VL/Vertices/PC/Clouds    3D - vertex list, connection by EL, or treated as point clouds  
 VLFL/Surfaces    3D - Surface models from a vertex list with a facet list for meshing with surfaces  
 VM/Voxels    3D - Voxel models representation of solid body geometries  

Solid Geometry Toolbox - Reference List

3D-Print/Production - List of functions

amazoncode2linkreturns a valid link from the 10-digit alphanumeric codes or opens the amazon product page (german amazon) in the browser
amazonlink2codereturns the 10-digit alphanumeric codes code from an amazon product page link
binpacking3Dreturns a straight forward bin packing
filenameadddate4gcodeCHANGES THE NAME FOR GCODE FILES
gcodecleanup2dircreates folder for gcode files if they are anycubic gcode
gcodecopytempjust makes copies of an ANYCUBIC/CURA gcode file with changed hot end and base temperature
productcodeDatabase fnct to store components to order
SGarrangeSGarranges a cell list of solids in a single row
SGboxingreturns a case for boxing a SG model
SGboxpackingcombines SGpacking and SGboxing
SGgcodefilechangetempchanges the temperature of hotend and base plate in a marlin gcode file
SGgcodegetinfoAuxiliary fnct to get some parameter by interpreting gcode files or strings
SGgcodereadreads in a ascii gcode file and creates a line table
SGgcodesimulateplots a simulation of the gcode-processing using Marlin dialect
SGpackingreturns a package of all solids of a cell list
SGpartsfuncparamscreates a documentation string to explain the fnct call including all parameters
SGpartslistappends parts to a parts list or parts lsit to parts list
SGpartslistastextappends parts as text lines to a parts list and returns text lines
SGpartslistfindproductcodescreates a text line or cell list of hyperlinks to order parts of a parts list
VLFLboxingreturns for a given surface, two contours edge list, a solid box structure

4Bar/Linkages - List of functions

A1ofA1B1GPLPosereturns the list of the crank attachment points for poses
calc4BarAnglereturns 4-Bar-Linkage points for link B
center3Posereturn center points for 3 poses (position and orientation)
center3Poseeffektorgridreturns the rotations centers for grid points of the effector contour
center4Posereturn center points for 3 poses (position and orientation)
checkfourbar123solutionsjust checks an limits solutions of 1-2-3 Pose syntheses
checkfourbar1PoseattachpermutationPerforms a fourbar-linkage syntheses based on ONE defined Pose
checkfourbar2PoseattachpermutationReturns solutions for the 2 Pose Sythesis
checkfourbar3Posechecks whether a fourbar joint solution exists for results of center3Pose
checkfourbar3Poseattachpermutationreturns only subset of permutations of grid points to achieve a real fourbar linkage solution
checkfourbar3Posepermutationcalculates from a center3pose solution all possible permutations and the fourbar parameters
checkfourbarcouplerlengthchecks the solutions of invkinplan2 for a fourbar linkage calculation
checkfourbarNPosechecks whether a fourbar joint solution exists for results of center3Pose
checkfourbarsegmentcalculates the angle intervals for a fourbar linkage and appoint point to the intervall
colofPosereturs colors from Pose and 4Bar standard colors
CPLfourbarblockswingcreates the contour that limit the swing movement
CPLfourbarcontourContour that fullfills a fourbar condition
CPLfourbarlinkagecreates for a specified fourbar linkage the cpls for crank, coupler, swing
CPLfourbarlinkage2creates for a specified fourbar linkage the cpls for crank, coupler, swing
CPLfourbarlinkagehullreturns the hull shapes of crank, and swing
CPLofPosefourbarshapereturns the basic shapes of a pose fourbar linkage solution
CPLofPosefourbarshapingreturns collision free path shaped contour for a specific fourbar linkage
CPRofPosefourbarreturns center point list and radius list for a fourbar linkage for a given GPL and GAL
fourBarCLLL2SGdesignConverts a contour layered link list into a real solid geometry construction to 3D print
fourbarcollABGPLreturns the crank angle interval for an object liked to a Pose
fourbardesignbysirigenerates 4bar-linkages from a dictation fnct of Siri on MAC
fourBarLinkagemulti purpose fnct for a 4-Bar-Linkage
fourBarLinkageanimateanimates a fourbarlinkage based on 4 Points, a Frame, and a Contour
fourBarLinkageCPLmulti purpose fnct for a 4-Bar-Linkage
fourBarLinkageplotplots and animates the movement of a fourbar linkage
fourBarLinkageplotanimplots and animates the movement of a fourbar linkage
fourBarLinkageplotanimuiplots and animates the movement interactively of a fourbar linkage
fourbarplotABGPLsimply plots a fourbar linkage based on points - recommended in SG-Lib 5.1
fourBarplotPointsjust plot a specific fourbar configuration based on points
fourBarposeCPLmotionreturns the motion of all parts of a fourbar linkage
fourbarposeCPLshapingreturns collision free path shaped contour for a specific fourbar linkage
fourBarposelayeringCreates the layering and the shaping of all 8 elements of a Fourbar linkage
fourBarposeplotsolutionStandard procedure to animate fourBarposesyntheses results
fourbarposesearchcouplercurvesorts 4bar solutions wrt minimal distance of coupler path to a given set of points
fourBarposesortsolutionsorts the solutions of the fourbar struct by some criteria and even selects
fourBarposesynthesesfourbar pose synthesis
getPoseconstraintvaluereturns wether a condition string is used within a Pose field
isPoseconstraintreturns wether a condition string is used within a Pose field
KDWofPoseattachmentsreturns the values for K, D, and W for given attachment points
KDWPoseinsideCPLcreates a grid point list and the values for KDW
KDWPosevariationreturns three variant lists for center3Pose as a first recommendation
PLofFourbarcouplercurveCreates the coupler courve for an Fourbar given by four points
PLofPosecentrodesreturns fixed centrode (Rastpolbahn) and moving centrode (Gangpolbahn) of a fourbar linkage solution
PLofPosecouplercurvereturns the path and the matrix list of the pose movement
plot4Barplots a 4-Bar-linkage
poletriangle3Posecalculates the edges of the pole triangle of three poses
PoseaddGPLcreates a Grid inside/on a contour
Poseflipflips the direction of pose vectors in a Pose struct
Posefourbaranglelimitlimits the angle are of a specific fourbar solution
PosefourbaranglesReturns the angular position of the crank for the positions used in the four-bar linkage.
Posefourbaranimateanimates the fourbar linkage given Pose parameter
Posefourbarcheckshows the shape of effector, crank and swing
PosefourbarCPLEcreates a CPL for an Effektor containt 3 Points
Posefourbarplotcouplercurvesimply plots a coupler curve for fourbar linkage
Posefourbarposelimitfinds the angle limits for a fourbar movement
Posefourbarsearchcouplercurveselects coupler courves based on the coupler curve
PosefourbarselectAPsimply select a solution from the Pose attachment point list
Posefourbarselectcouplercurveselects coupler courves based on the coupler curve
Posefourbarselectuiinteractive tool to plot poses and to select two attachment/base points for a fourbar linkage
Posefourbartorquetransreturns the torque transmission factor for crank to swing and crank to pose
Posemagnifyscales the size of Pose struct dimensions
Posenormchanges the length of pose vectors to a common length and shifts the start point
PoseofCPLcutuiallows the interactive shaping and move of poses of contours
PoseofCPLuiallows the interactive move of poses of contours
Poseoffourbarlinkagecreates a Pose struct with 3 or more poses for given fourbar linkgae parameters L1, L2, R, D/[A0;B0]
Poseofimageuiinteractive fnct to defines three poses in a drawing image
poseofPSanalyzereturns a Pose and a CPL from an analyzeed 3 Pose Polygon
PoseofTreturns pose struct from a list of HT matrices either 3x3 or 4x4
Poseorderchangereturs a pose struct with poses in changed order
Poseplotplots a pose struct
PoseplotA0B0plots the existing solutions for A0 and B0
Poseplotsolutionplots A0, B0, and geometry and animation of fourbar linkage design
Poseplotspaceplot the different contours of a pose in different colors
PosereadAPDreads in a pose struct for syntheses tasks
PosesampleCovercreates a pose struct sample for a box hinge lid
PosesampleCTFieldgeneratorcreates a sample to design a turnable field generator fixture
PosesampleHookPose sample for Hook Movement Task
Posesampleupdateinserts a pose struct and a name into the posesamles.mat file
PosesampleWalkpose sample will be integrated into Posesample
Posestripfieldsremoves alls fields that seem results not conditions from pose synthesis fncts
PosetransrelCPLEshifts pose definition and CPLE using an HT transformation
PosetransrelGPLshifts the poses into an effector grid point
PosetransTtransform the pose vectors in a Pose struct
Posetransuiturns and moves interactively poses and recalculate fourbar linkage solutions
Poseuireturns a pose struct
PosewriteAPDwrites a pose struct as ascii text file
realfourbarsolutionscreates an index list to map fourbarlinkage solution points to movement types
SGfourbarhullplatereturns the hull shapes of crank, and swing
SGfourbarlinkagecreates solid geometry parts for a given linkage
SGfourbarlinkage2021EXPERIMENT TO CREATE 4BAR LINKAGES FOR FRANZ IRLINGER
SGfourbarlinkageA0B0DIN912985Designs a 4bar-Linkage as solid geometry
SGfourbarplatereturns a base plate for a fourbar linkage experiment
SGofPosefourbarreturns a fourbar linkage geometry for a given attachment point solution
synth4Bar2Posereturns 4 points for a 4 Bar linkage
synth4Bar3Posereturns 4 points for a 4 Bar linkage
TofPosereturns 3x3 HT matrices for planar transformation in 2D from pose list
TofPoseattachmentpointsreturns the HT matrices from A1 to Pose and B1 to Pose
TofPoseGPLreturns the frames for A1 and B1 from a Pose and 2 GPL attachment points

Analytical Geometry - List of functions

acos22D fnct: returns the angle between two vectors including sign
angleintersectintersect two angle areas
angleintervshifts an angle intervall table vainto a fixed interval such as [-pi..+pi] or [0 2*pi]
angleshiftshifts an agle value into a fixed interval such as [-pi..+pi] or [0 2*pi]
aplotdraws an angle relative to a center and two vectors
barycartNTreturns the vertex list (3D) of a point list (2D) relative to one facet
barytocartUVLconverts a 2d Barycentric [u,v] vertex list into a 3D Cartesian coordinate list [x, y, z]
barytocartUVLdelaunayconverts a 2d Barycentric [u,v] vertex list into a 3D Cartesian coordinate list [x, y, z]
cartbaryNTreturns the 2D barycentric coordiantes of a VL relative to one facet
carttobaryVLconverts a 3D planar vertex list into a 2D barycentric coordinate list [u,v]
center3PCenter line of a cylinder given by 3 points
center4PCenter and diameter of a sphere given by 4 points
centerPLreturns the mean of the convex hull of the point list
centerVLreturns the center and distance indices of a vertex list
circ2polyratio of polygon radius between if turned pi/n radiands
circlesegmentofPLreturns the angle intervall of a contour PL from a view point A0.
corner2radreturns the radius based on the distance to the two tangets
CPLisccwreturns index list for CPL direction
CPLrecontourreturns a contour list for a sliced/cutted object
cross2circreturns the crossing points of two circles
cross2edgescalculates in 2D the crossing point of two straight lines
cross2edges2calculates in 2D the crossing point of two straight lines
cross2Lreturns the crossing point of two straight lines
cross2Treturns 3 crossing points of plane T1 with the plane T2
cross4Preturn whether two lines cross each other (2D fnct)
crosscirclinereturns the cross points of a circle and a straight line
crossLreturns the crossing points of a stright line with the main planes where z=0, x=0 or y=0
crossTreturns 3 crossing points of a plane TE with the x/y-plane (z=0)
crosstestreturn whether a straight line right from point a crosses a line between pa and pb
crosstest2return whether a straight line right from point a crosses a line between pa and pb
crosszcalculates in 2D only the z-part of the cross product and handles values near zero
CVLremstraightreturns straight points on a line depending on distance and agle
diffTinczreturns for Frames the relative incliniation of the ez vector of B wrt to A
diffTrotzreturns for Frames the relative rotation of the ez vector of B wrt to A
dist2linemirrors a point at a straight line in 2D
distEreturns shortest distance to x/y plane and normal vector to p
distTreturns orthogonal vector and normal vector to T-plane
dofnreturns the radius relation between a radius and a n-polygon
dofRintrusionprovides the minimum intrusion distance to fully insert a cylinder into a sphere
ELdirectVLELreturns a edge list, in which all contours have the same direction than the first contour in the edge list
ezof3Preturns ez and R for 3 Point Rotation Matrix
getprojectionimagereturns a single projection image of gca
hesseplaneofTHessennormalform of T's xy plane
imageofVLprojectionreturns an image of a VL projection using the matlab camera view concept
insidePLELdelaunayreturns whether a point is inside/outside a contour
intersectstrianglefundamental fnct for the intersection between a ray and a triangle
intersectstriangle46fundamental fnct for the intersection between a ray and a triangle
isincirclesegmentreturns whether an angle or a angle list is inside an angle interval
isintriangle2returns whether a point is in a triangle
isrealrreturns whether all elements on a row are real
issamesidereturn whether 2 points p1,p2 are on the same side of a line through A to B
KDWofXYreturns two line distances of points and an angle and a displacement of a straigt line line from two points
lengthCreturns length and maximum of changing angle plus
mirroringatlinemirrors a point at a straight line in 2D
mirroringatline3Dmirrors a point at a straight line in 3D
nearestclusterreturns a reduced list of points and a cluster list
nearestpairreturns the nearest point pairs of two vector list
NLconformancechanges the orientation of a list of normal vectors
NLcontourVLreturn the list of normal vector for the edges between the vertices and the vertices between the edges
nofrdreturns the minimum number of edges to guarante a slot distance between a peg and a hole
phiofsrreturns a angle difference to achieve a slot size
planedistanceofTreturns the distance of a vertex list to a plane in HT coordinate form
planeparamofTreturns the plane parameters from a HT matrix (x/y plane) - ax+by+cz+d=0
PLcirclereturns a 2D point list of a circle or circle segment
PLevolventereturns the point list of an evolvente curve
PLFLfaceNormalreturns the rounded (1e-5) length of the area size/length of normal vector
PLFLofCPLdelaunayReturns 2D point list and facet list of a triangulated contour
PLFLofCPLpolyUtilizes the poly2fv fnct for VLFL-LIb
PLnormreturns a normalize vector list nx2
plotTplots a coordinate system given as HT matrix
projectionimagereturns a central projection image by using Matlabs view commands
RL2exlreturns X vectors for a list of euler angles
RLcurvaturereturns a circular bended closed contour
RLofEulerInterpolationReturns euler rotations as linear interpolation
RLplotplots along the z axis the systems of a Euler Rotation List
rofcircbendreturns bending radius and angle for a compressed line
Rofezreturns a rotation matrix based on a list of ez vector
Rofrdintrusionprovides the minimum intrusion distance to fully insert a cylinder into a sphere
rofRintrusionprovides the minimum intrusion distance to fully insert a cylinder into a sphere
RofxyRotation matrix by the ez vektor and and optional rotation angle
rotreturns rotation matrix in 3x3 as Rx*Ry*Rz or 2x2 Rz
rotdegreturns 3x3 rotation matrix for Deg angles in x, y, z
RPofTrelTreturns the frame T2 in relation to frame T1
screw2Rdefinition of a screw coordinate system
setgcapixelsizesets the current gca to a default pixelsize
SGClayoutreturns a modified arranged solid table
SGcutTbladeanglereturns the mean center angle of the cutting blades
SGgetCenterPointreturns a point in the center of all vertices
SGmagnifyVLmagnifies/shrinks the dimensions of the vertex list
SGmirrorDMirrors a solid in a distance to the maximal dimension in the specified direction
SGrotate4printrotates an object to achieve as long as possible lines on the floot
SGsurfacedistancecalculates the shift distance from a solid to the surface of another solid
SGvolumereturns the estimated volume of a solid
sizePLFLreturns the index of facets with area > 0
sofrdreturns the minimal auxiliary point distance on a circular curved contour
tangent2circreturns outer and inner tangents of 2 circles
tangentereturns the point for a tangente
tangentRPreturns the two tangential points of a circle
Tcross2Treturns the crossing line HT of two defined planes T1 and T2
textPdraws a texlabel text at the position
textTdrawn a text at the position of a HT matrix
TflipRturns the current right hand system into an inverted left hand system
tfplotplots an HT matrix including the x/y plane
THLof2Freturns Tetrahedron list of two facets
TLofCVLreturns a list of frames that connect a start frame and an end frame along a spatial contour
Tof2vecreturns transformation matrix based on the 2 point movements
TofcamVLPLreturns the coordinate system and calibration matrix of a camera
TofDPhiHreturns a 4x4 transformation matrix
Tofgcareturns the HT matrix of the current camera position
Tofhesseplanereturns an HT amtrix from a hesse normal form of a plane
TofPreturns a T matrix from a point in 2D or 3D
TofPcamreturns a transformation matrix using a vertex and a the current camera view
TofPEulreturn from euler angle and position an HT matrix
TofPezcreates a T matrix from point and ez-Vector
TofSGsets a HT matrix relativ to nested solid
TofSGMLreturns HT for a mounting face with known number
TofSGMLezreturns HT for a mounting face with known ez
TofTreturns a T matrix defined relative to another T matrix
TofTrelcreates a HT matrix relative to a frame
TofVLreturns the main axis of a vertex list or SG
TPLreturn for vertices of a patch the HT Matrix of the patch center
TplanesofPCnormalsreturns the HT matrices for the points and normals
TplanesofVLFLfacetsreturns the HT matrices for the facets from center and normal
tplotplots a coordinate system given as HT matrix
TregisterConvexHullreturns the registration matrix based on the convex hull of the vertices
Txyreturns a matrix for a point p and pitch-yaw values of ez
vec2numberconverst a vector row into a number for vector elemetns of 1 to 9
vec2orthocreates the orthogonal vectors for a 2D vector list
vecnormrreturns for a vector list (rows) the vectnorm result
VLBezier4Psimple fnct to calculate a 3D Bezier curve
VLBezierCreturns a Bezier curve for a given list of points
VLcross2Lines3Dreturns the crossing point of 2 lines in [x y z]
VLcrossstraightnline3Dreturns the crossing point of 2 lines in [x y z]
VLdistancereturns a distance list - but is different from VLnorm
VLFLfaceNormalreturns the normal vector (or NAN) of the facet list and cutted (1e-4) length
VLFLmeshdensitydecreases the edge length of the facets for deformation use
VLFLrotsymRLELnreturns VL and FL for a torus style solid
VLFLspherecurvedCLreturns VL and FL for a sphere curved surface given by a 2D contour point list
VLFLspherecurvedGPLreturns a sphere curved (3D) contoured surface grid (2D)
VLFLvertexNormalreturns the vertex normal for the vertices of a solid
VLGrahamreturns the convex hull of a point list by Graham (outdated)
VLGrahamPVLreturns the convex hull for a given set of vertices that are in a plane
VLinsertEulerStepsinserts vertex points on straight lines if the twist angle is to large
VLmindistreturns the minimal distance larger than zero
VLmindxyzreturns the minimal distance larger than zero
VLmostdistanceNeighborNreturn a list of n points ou of a points list that have the maximum distance sum
VLnearestNeighborNreturns the N nearest Neighbors between two point lists
VLNLplotplots a normal vector list at a vertex list
VLofimsegthresreturns a VL of segmented points within an image
VLplaneprojectionreturns a PL as projection of a vertex list to a orthogal plane defined by an ez vector
VLprojection2SGprojects a Vertex list in parallel projection to a solid
VLRadius4Preturns a contour based on 4 points similar to VLBezier4P
VLseparatewish to solve boolean opeartion problems
VLtangentcirccreates a vertex list for a tangential circle segment
wofcross2circjust returns the angles of the two crosspoints
wofTreturns simply the squeezed atan2 of the rotation matrix of T
zigzagreturns a zig zag curve in the interval [0 2*pi]

Analyzing function - List of functions

CLdecomposecontoursVLCLdecomposes missing edges from open facets of a solid
CLmissingedgesVLFLreturns missing edges of open facets
cross2FFundamental fnct of generating the intersection points of two triangles
crossC2Preturns how often a line crosses a contour
crossedgeVLreturns whether a 2D line crosses a 2D contour
EFLgeneratereturns an extended facet list including normal vector and size
EFLselectAreduce the extended facet list to areas of a minimal size
FLatELreturns all facets of the facet list attached to edges in the edge list
inside2Canalyzes the crossings of two vertex lists
insideCPLtests whether a point is inside of a closed contour in 2D!
insideCPStests whether a point list is inside of a CPL polyshape or CPS
intersectcontourreturns from 3 points and a intersection matrix a Vertex list and Edge list
intersectfacetsreturns from 3 points and an intersection matrix of a VLFL-solid a vertex list and a facet list
intersectmatrixreturns an intersection matrix between a triangle facet and a VLFL-solid
isInteriorofCPLtests whether a point is inside of a closed contour in 2D!
TofVLULreturns the HT matrix of the origin of an union area!
TofVLULezreturns an HT Matrix of the specified Union
ULofVLFLreturns a list in the union format
VLbreakEdgesreturns a vertex list (VL) with broken edges
VLFLcrossFreturns the intersection contours of ONE triangle with a VLFL-solid
VLFLofrangezreturns a reduced facet list and resorted vertex list for all facets of a specified plane
VLFLsurfacereturns a vertex index list of all vertices that belong to the same surface
VLFLsurface2returns a vertex index list of all vertices that belong to the same surface
VLFLtrianglegeometryreturns all important information on the triangles of a facet list
VLhelixgenerates a vertex list for a specified helix
VLiscollBBsreturns the crossing of a vertex list with bounding boxes list
VLradialEdgesreturns a vertex list (VL) with rounded edges
VLradialEdges2Treturns a vertex list (VL) with rounded/broken wrt to start and end frames
VLULuniontypeanalyzes the type of union from an union list

APPLICATION - List of functions

app_2012_11_09Application for opening and viewing STL Files
noteopens a text file with a keyword in the matlab editor
SGrobotarduinoIDEdownloads and installs the arduino IDE for programming the LCL robot of TUM/MIMED
VLFLviewerApplication for opening and viewing STL Files

Artificial Intelligence - List of functions

cell2strarrconverts string arrays in cell lines into a string array
char2strarrconverts a list of string inside a char chain into a string array
charcell2stringcellarrayconverts xps cell list of string arrays into cell list of charchains
chatsingle line communication with openAI's chat gpt with persistent chat history
chat1single line communication with openAI's chat gpt
chatGPTsimply opens chatGPT web-browser window
chatwebSimply calls chatGPT internet page
jarvisChatSGLibthis fnct/script is a ChatGPT based control of the SGLib and defines the development start of SGLib 5.5
json2matlabconvertes a json reaction of an openAI-Chat into a matlab code line
jsonplansequencereturns a plan step sequence from a single chat task
OpenAIcostAPIopens the web page of company openAI to show the users expenses
OpenAIPDFemailanswersanalyzes Emails and returns an email to the sender
OpenAIPDFtextclassificationanalyzes PDF scans with OCR content and create a file name for it
OpenAIrequestreturns the openAI Chat anwer for a single question
PDFcreateOpenAIfilenamesrenames files in a folder by an openAI LLM interface including Name and adresse
strarr2cellconverts a string array into a cell list of string
strarr2charconvertes a single row or single col string array into a char chain - no matrix
stringcellarray2charcellconverts xps cell list of string arrays into cell list of charchains
stringpatterncomparecompares strings including variable strings
stringpatternpermutecreates symbol permutation for string pattern equations
varsofstringpatternfinds all the symbolvariables in a string array
wordfindfinds words in a string (charchain)
xpcells2stringsconverts cell list of character chains into one charchain of quotation marks separated sentences
XPpermuteAuxiliary fnct to create permutation of sets
XPSblocksworldExpert System implementing the first General Problem Solver (AI Programm)
XPSblocksworldequationRULES for the XPSEQS blockworld problem
XPSconditionfindnevalcreates all combinations of a variable based CONDITION that could fit a fact list CONDITION
XPSEQSExpert System implementing the first General Problem Solver (AI Programm)
XPSGPSExpert System implementing the first General Problem Solver (AI Programm) using STRIPS
XPSrulecheckerchecks XPS rules for easy human errors during rule definition
XPSrulesreadreades rules from an excel sheet
XPSruleswritewrites rules into an excel sheet
XPSslidingpuzzleExpert System implementing the first General Problem Solver (AI Programm)
xpstrings2cellsconverts a char chain with quation mark separated sentences into a cell list of character chains

Automatic Design - List of functions

ashftcreates a irrational number between and 66 degree (1.155 rad)
CPLTopCM_SUNautomatic design of a compliant mechanism based on topology optimization techniques.
SGattachMotorN40adds motor rack to another rack and subtracts the bore for an motor axis
SGboxboltedcreates a box that is closed by a simple lid cover
SGboxturnswitchSolid Geometry for 6V Batterie box plus 1 turn-switch to support simple DC-Motor control
SGcablewinchcreates a solid for a cable winch
SGcapontopprojectioncreate a simple cap ontop
SGcatheterrollerCreates for a cather lock a gear drive
SGclosurecapFDMcreates a top cover for FDM Printing
SGcut2fitcuts a large solid into smaller pieces to be fixed with screws
SGcylhingeCreates a piano hinge as a joint
SGfreewheelCreates a freewheel for a wind up motor
SGgearboxhousingcreates a housing for a gear box
SGgearratiocalculates automatically the required gear sequence for a gear box
SGhollowrhombuscreates a hollow soild for FDM printer
SGlockingDIN912DIN985Returns two bodies with DIN912/DIN985 locking method
SGmotorhousingreturns a housing betwenn Base frame 'B' and end of motor
SGofCPLzplugincreated extruded solids that can be pluged in if they are very long
SGofCPLzscrewExtrudes a CPL in z with an internal scew to print the part separately as FDM
SGofFSCPLextrudecreates a solid be extrudsion of the feature surface selection
SGpipeclampdesigns a foldable double pipe clamp with hinge.
SGrackofSGshaftaxisdesign automatically racks for rotating shafts and axis
SGsculpturepedestalcreate a pedestal for a sculpture
SGseedcubeCreates a small cube below the surface with just one Frame 'F" to start SGdesingconcepts
SGselectGroupofBBvolreturns the solid ordered by volumes
SGservomountingshows how to create servo motor mounting sets
SGstamptextFDMcreates an imprint or an relief if allowed
SGTconnectingplugreturns a solid part that can be used to connect both solids by a positive connection
TLconnecting2SGconnects 2 solids by a straigt connecting solid between the center, using feature surfaces

Auxiliary function - List of functions

ageofbirthdayreturns tge age in years of a birtday string and an optional reference date string
alibabajust opens the website of this company
allmemberssimilar to ismember(A,S,'rows') but returns all members of a set
AM_3DPrintingjust opens the website of this company
amazonjust opens the website of this company
amazonpartsjust opens the website of this company
array2cellconvert object arrays into cell arrays
array2tableTLsimple auxiliary fnct for debugging
arrayofreturns an array of a class object
atomiccovalentradiusreturns the atomic radius or the covalent bond distance of two atoms determined from it
AVRarduinoMegajust opens the website of this company
AWG2mmconverts American Wire Gauge to Wire Diameter
BBaddtoleranceincreases the size of a Boundary Box
BBgrowincreases the size of a Boundary Box
Bravaislatticereturns a vertex list for a Bravais lattice
CELflipFlips orientation of contour edge list
cell2arrayreturns an nxm array from a nxk cell; m=max(size(C{:}))
cell2cellarraycreates a cell list that contains all elements of a cell within one cell array
cell2classconverts a cell list of elements of the same class into an array of this class
cell2matdim3converts a cell list of frames into an array format
cellofNaNconverts a CVL/CPL into a cell list
cellsizereturns the size of cell elements
celltypecreates any type check for cells - Missing matlab fnct or at least unknown to me
CELofPLreturns single contour edge list for a points list
Charriere2mmreturns the outer diameter in mm of a cather in the Charriere scale
CILofOELreturns contour index list for a SORTED edge list of several consecutive open contours
class2cellconverts an array of a class into a cell list of the same type
clear4lecturesAuxiliary fnct for Tim Lueth to record lectures using Matlab and OBS
clipboardaddadds comment characters from the clipboard
clipboardremremoves comment characters from the clipboard
CLODofVLFLresorts facet list and vertex list prepared for a CLOD generator.
closeallsimply closes all windows and files
code3Byte2singleconverts 3 Bytes plus 8 Bit code into a single
colofnreturns a color char for a number 0..7
connectofmatreturn the element that have a connection in the matrix
convexELreturns a sorted list of convex edge/contour segments
CPLnonmanifoldtrue if a point is used twice in the CPL or PL
CPLofPLappends the first point to a point list of required
CPLofPLFLreturns a polybool contour from PL and each edge of FL
CPLorderreturns an xy ordered and shifted CPL
cputicsimilar to tic but uses the cpu timer
cputocsimilar to toc but uses the cpu timer
crosspointVLFLreturns the surfacepoint of a solid hit by a beam
crosspointVLFL2returns the surfacepoint of a solid hit by a beam
Dashboardjust opens the web side for formlab dashboard
DeepLjust opens the browser with the DeepL translation tool
digitofnumreturns the digit at a specific position
dimpowercablereturns the required dimension for a motor power cable or the number of required power cables
distofintervalldistance within an intervall
ELdistanceofmatrixneighborsCalculates from a potential field consisting of doubles and nan the neighborhood weights
ELflipflips orientation of edge list
ELofCILConverts a Contour Index List into an Edge list
ELofCVLreturns a simple edge list for a vertex list
ELofFLconverts a facet list into an edge list (simple)
ELofnreturns an edge list for a closed contour (sorted point list) of n points
ELomitedgesVLELreturns an edge list that omits edges of same direction
ELomitVLELreturns an edge list that omits edges of same direction of MULTI CONTOUR EDGE LIST
ELorderreorders the edge list (triangle, tetrahedron) to individual polygons, surfaces, solids
ELselectreturn all edges from an edge list start start or end with ONE SINGLE index
ELseparatereorders the edge list (triangle, tetrahedron) to individual polygons, surfaces, solids
ELsortreturns a increasing sorted edge list separated by NaN
ELuniqueofFLreturns a unique list of all edges from a facet list
ELunsortTEST and Development fnct for unsorting edge or facet lists
eps2returns the rounding limit for triangular or quadratic problems
epsofVLreturns the minimal points distance in a set of vertices or two groups
erfGaussreturns the error fnct for the Gaussian distribution
erfinvGaussreturns the inverse error fnct for the Gaussian distribution
evalTLvarsmodifies variables of a calling fnct
excelpasteconverts the content of the clipboard for a multi line insert/past into EXCEL on MAC
ezofcharreturns an ez vector simply to the numbers of a dice
Fahrenheit2Celsiusconverts temperature values from Fahrenheit to Celsius
fcostbenefitcost or benefit fnct
filenameincincreases a file name and check it's existance by option
filepartlcompiles a filename from parts similar to fileparts
find2logicalconverts a index list into a logical vector
findchangerowreturns in a list of succeding rows, when the row is different to its predecessor
finddoubledrowsreturns the indices of the lines with copies of a earlier row
finduniqueVLsimilar to unique but more reliable
FLcontourwallELnreturns the wall facets between 2 contours given by an edge list
flipvarreturns two flipped variable
FLorderreturns a shifted and ordered facet list
FLplaneofVLCiLreturns facets to close an inner and an out contour
FLremdoublevertexreturns the indices of a FL that a double entry vertex index
FLremove2Dhremoves facets from a solid generated with VLFLclose2Dh
FLselectreturns all neighbor facets of ONE SINGLE vi
FLseparatereorders the edge list (triangle, tetrahedron) to individual polygons, surfaces, solids
FLshiftreturns a shifted and ordered facet list
French2mmreturns the outer diameter in mm of a cather in the Charriere scale
FTcontourreturns half profile of Fischertechnik dove tail contour
Gauge2mmreturns the outer diameter in mm of a Cather in Gauge scale
gcsbget current system's block
getgcatitlereturns the current title of gca as string
getjobsreturns the jobs running on the local cluster
GPLauxgridpointsCPSreturns for a given 2D contour point list auxiliary points to define a plane surface
GPLparametersAuxiliary fnct to calculate xmin ymin dx and dy from a given meshrid or VL
Graphplotplot a graph with coodinates
helptextofcallerreturns the helptext of the calling fnct
histogramscalculates histograms for matrices or images or voxel models etc.
hostnameSAME AS USERNAME BUT CHANGED OUTPUT returns user name and host name using JAVA
HTofTreturns a 4x4 homogenous transformation matrix even for 2x2
humidityoftempcalculates the humidity at temperature change
imatreturns a matrix including row column and column row
imshow4Plots RGB images in 4 color segments
indexvariantcreates multidimensional index sequences for testing or other purposes
indofrcconverts an index list into a rows cols list
int32orfloatchanges type to integer float is an integer
interPLreturns a value as linear interpolation using a PL
iscollofVLBBreturs false if there is no collision/attaching
isemptycellsimilar to isempty but works with cells
isinsideELreturns an index list of all edges that exist in two direction
isint32returns true or false if a number has no fraction
isintegerbvreturns whether a number is an integer by value not by type
ismemberincellfinds the logical indices of an member inside a cell list of DIFFERENT types
ismonotonouslyreturns wether a sequence in monotonously increasing or decreasing
isoddreturns whether a numer is even or odd
ispatchreturns whether a handle or the current graphics object is a patch
ispathreturns wether a string is part of the file path
isPLPL has no NaN separator, 1st and last point are different
kwreturns the calender week
KW2PSreturns Horse Power from KW
lengthNaNreturns the length of the individiual entries of a nan separated list
limitintervvalue between [min and max]
linearinterplinear interpolation
LLsortsorts a kinematic chain list similar to an edge list
loadwebloads mat files from an web url
looperconverts a sequence into a one-line sequence for a For loop
lsegmentreturns all supporting points of a line/edge including start and end point, separated
maprowsreturns index mapping list for two rows list (error free since 2017-04-24)
materialparametersHyperlink fnct to call up material parameters WWW pages in the browser
matrixdistancefieldcalculates a matrix distancefield based on a start point and optional end point
matrixfillborderfills a matrix similiar as matrixdistanceofCPL but with discrete values
matrixfilldistancefills a potential field
matrixfillseedpointsfills a matrix similiar as matrixdistanceofCPL but with discrete values
matrixlocalminmaxreturns the local Minima and Maxima of a mtrix
matrixneighborsreturns the coordinates for matrix neigbors
matrixpathsearches a path in a potential field matrix from start point to matrix value = zeros
matrixPLplotplots a matrix and a point list
matrixrandreturns random values for coordinates of a matrix
matrixskeletoncreates the skeleton path for a matrix
matrixvaluesreturns the values of a matrix from a list of coordinate entries
meanGaussreturns mean and standard deviation wrt accuracy aspects
meanTreturns the man value of a T matrix
MGTcoefficientsai2biconverts a z-transform Denominator polynomial into Numerator polynomial
MGTcoefficientsPID2bireturns an PID controller equivalent sequence of an numerator polynomial coefficients of the FIR Controller in a closed loop control
MGTcontrolIIRIIRprocesses an input sequence in a closed control loop
MGTmotorFnct to explain the behavior of a motor or any mass damper spring system
MGTsystemFIRgenerates a system response for a transfer fnct that has only bi coefficients
MGTsystemIIRimplements a IIR structure for signal filter or control tasks
MGTsysteminvFIRcalculates the FIR coefficients by solving a linear equation system
mm2Frenchconverts Diameters in mm in French units
mm2inchreturns mm in inch
mod1returns mod fnct for elements 1:k
mod1circsequreturns a forwared sequence from start to end and a backward sequence from start to end
modNreturns mod fnct for elements N:N+k(-1)
movefilessimilar to movefile but works with wildcards
number2vecconverst a number into vector of integer
p3ofnreturns 3 numbers for a given number n
parts2singlecreates a single float from a int exponent (0 255) and a 24 Bit integer mantisse
permutevectorcreates vector list based on parametersets
pgridreturns a point of a 2D grid
PLFLselectreturns only the required points for a given edge list. The edge list is reindexed
PLgridhullreturns a convex hull around the given Point list
PLminyxreturns the point with minimal y and x value
plotannotationtextcreate quick an efficient text to be used in combination with plotannotation
PS2KWreturns KW from Horse Power
publishLaTeXdisplays on screen a LaTeX formula
randdicesame as rand but only numbers between 1 and 6
randminvreturns a random fnct that has a minimal value
randnormsame as normrnd but a different argument more than rand
randolreturn an random number with at least a minimum value unit the next perdecimal
randTreturn a random T matrix
rcmod1return rows and colum for a given number and col length
rcofindconverts an index list into a rows cols list
readtextfilesimply reads an ascii text file
removeimatremoves a row and a column of a indexed matrix
replacematreplaces values in vectors and matrices
replaceNaNreplaces or removes/ deletes a contour within a CPL
repmatfillfills an array with values or shortens the array
reversesortindexreturns the reverse sort index for a sort index
risemonotonouslymodified jumps of 2pi into a monotonously rise sequence
RLaddauxpointsadd supporting points to an open 2D contour to guarantee a specified points distance
RLdelauxpointsdeletes supporting points of an open 2D contour to generate staight lines
romanreturns a number as roman number
rounddivrounds a vector or matrix to a defined number of digits
roundgaussreturns a mean value and standard deviation in an accuracy wrt to the sample number N
roundsis just an abbreviation if rounds(x,s,'significant')
RRcputimereturns realtime difference and cputime difference since first call
saveTLa modified version of the save command
scalesequencereturns a streched sequence between an minimal and maximal value
selectNaNconnects subsets of closed polygons lines (2D/3D) wrt an index list
separateNaNseparates List by NaN rows entries
SGaddfieldsadds field of a field name list to all elements of a solid geometry
SGbatchdeletedeletes the global SGBatchIDtable of the SGbatch fncts
SGbatchjobcreates a job from a string using matlab's batch command and
SGbatchresultreturns the results of a job if it is finished or stores it in the workspace
SGCaddSGadds a solid geometry to a container
SGCaddSGnreturns a SG container with n copies of a solid
SGCaddVLFLadds a solid geometry to a container
SGcastclass name cast fnct for SG library
SGcat2returns concatenation of two or more solids or sets of solids
SGcopyrotZcopies a solid around the z-axis
SGdimofFilenamereturns the volume and size sorted dimensions from a SGarchivefilename
SGfieldnamescollects all field names in different Solid Geometries
SGgrabcadSimply opens the WWW-page of grabcad.com in the system browser
SGinspectzooms to inspect specific vertices or facets
SGnamedsetcreates a textfield to understand the parameters of the solid
SGorderreorders the triangle facets to individual solids
SGprintPreFormsends an SG to the PreForm app of Formlab
SGshadelightsets shading and lightinhg
SGshortreturns one vertex list and one faces list for nested SG
SGshortoptireturns the vertex list with optimal number of loss less reduced vertices
SGsizereturns the minimal and maximal value in x, y, z of a SG
SGsizeofFilenamereturns the number of vertices and facets from a SGarchivefilename
SGstampnamecreates a textfield to understand the parameters of the solid
SGstripfieldsremove fields in SG structs if they are empty, i.e. unused
SGtitledraws the name of the calling fnct as figure title
SGturn4AMsimply turns an object if the upper printing surface is larger than the lower floor printing area
shiftindexofinvkinplan2analyzses the real solution index of invkinplan2 and returns shift index and solution tbale
showpathReturns the search path as an n x 1 cell array.
showprogresscreates a progress text in 5% steps and deletes it finally
signthrreturns a sign fnct related to a threshold
single2partsreturns the parts of a 32 Bit float
size2indexconverts a size list into an index list [start end]
sizeVLreturn the size of the bounding box of a vertex list
sortFLreturns a sorted and circular shifted facet list (see FLsort)
stripfieldsremoves a list of fields from a struct
textHorizontalBlockAlignreturns cell of strings which length are limited in length
thisfuncnamejust returns the name of the calling fnct
THLofVLreturns the tetrahedron list of a vertex list
ticksofminmaxreturns a list of unique increasing values between bb(1) and bb(2)
TLseparatereorders the edge list (triangle, tetrahedron) to individual polygons, surfaces, solids
TofPCVLreturns the HT matrix for a planar contour vertex list
TriRepofVLFLreturns a DelaunayTri representation of a solid
tryuigetfilegive the user a try to select a file
Tuprightrotates an HT matrix to have the z-dimension upright.
uniquehistperforms the unique command and creates a full histogram count afterwards
uniqueNaNfinds copies of lists such as CPL with in a nan separted list
unsortNaNchange the order the entries of a NaN separted list
unsortrowsswaps many different rows of a matrix
usedinELreturns a list of unique numbers and the number of use in the list
userIPreturn internal and externam ip address of the used computer
usernamereturns user name and host name using JAVA
V2Areturns a set of strength calculation for a steel bending girder
VanDerWaalsRadiusreturns the van der Waals Radius in pcm that can be used for a Kalottenmodel
vectorinBBreturns a list of integer points along a vector that are inside of a BB
VLaddzreturns a vertex list 3D (z=0) for a point list (2D)
VLcatTime consuming adding two vertex list
VLcorrelatereturns the indices of a list in another list
VLELcatreturns the connection of several VLs and ELs
VLELofCVLconverts nan separated succeeding vertex lists into a vertex list and an edge list
VLELselectreturns only the required vertices for a given edge list. The edge list is reindexed
VLELshortreturns a vertex list without double and without entries that are not used by EL
VLELvertexfusionmerges the vertex list to a grid of a defined resolution
VLFLcatconcatenates two solids and removes double vertexes
VLFLcat2appends without any check a vertex list after another and also a facet list
VLFLDelaunayVLConverts or Displays the Tetrahedrons of a Vertex List
VLFLerrordoubledvertexcreates an doubled vertex error by adding an existing vertex of a random facet
VLFLerroropenfacescreates an open faces error by adding an existing vertex of a random facet
VLFLreorderreturns VL and FL with reordered vertices
VLFLselectreturns only the required vertices for a given facet list. The facet list is reindexed
VLFLseparateELseparates edge list after two solid intersection
VLFLshortshortens a vertex list to the vertices that are really used in the facet list
VLFLshort2shortens a vertex list to the vertices that are really used in the facet list
VLFLshortoptireturns the vertex list with optimal number of loss less reduced vertices
VLmeshgridsimple fnct for a better understand of meshgrid
VLnormreturns the list of all normalized vectors and the norm length for a given vector list
VLofSGreturns for nested cell solids the vertex list
VLremsuccidentRemoves successive identical lines in a list AND opens a PL.
VLsortCreturns a point list that is sorted around its' center
VLuireturns a vertex list drawn by the user in a plot window
VLunidirectreturns a unidirected vector ist
VLvaryfromsimply adds small values in a determinstic way to a vertex list
VMneighborhoodreturns of a n x m or n x m x k 2D or 3D Matrix the neighborhood values
VofRsphereLead or steel balls must be installed in cavities to create ballast
Wegertsederjust opens the website of company Wegertseder for often used normed elements
woNaNreturns a row list without all rows that have a NaN in first row

Boolean - List of functions

CPLaddadds the outer contours and subtacts the holes of two CPLs
CPLboolBoolean Fncts based on the polyshape class or polygon class
CPLboolpshapeBoolean Fncts based on the polyshape class
CPLintersectreturns a Boolean intersection of 2 CPLs
CPLmeltboolMerges a list of CPL by boolean add and sub - Similar to CPLunitesorted but splits the contour too
CPLsplitboolreturns a CPL that is split into two pre more parts by a second contour
CPLsubtractreturns a Boolean subtraction of 2 CPLs
CPLunionreturns a Boolean addition of 2 CPLs
CPLunitecwccwreturns a CPL that has no crossing lines anymore bu sort wrt to cw/ccw and adding subtracting
CPLunitesortedreturns sorted and added closed polygons
CPLxorreturns a Boolean exclusive or of 2 CPLs
crossingfacets2VLFLFundamental fnct to return an index list of the facets of solid A intersected by solid B
SGaddrelSGSpatial arrangement of a solid to another and combining both
SGbool5returns the correct result of a boolean operation on two closed elementary solids
SGboolanalyzeplots the two separated surfaces of A and B when crossed
SGboolDEBUGreads in in the STL Geometries that created problems during SGboolh
SGboolhreturns boolean operations on solid geometries using a heuristic
SGbooltestProcedure to test different cases using SGbool and CSGsample
SGconcatSimple Concatenation of Solid Geometries
SGcrosssectionadjustmentA connecting body is designed that transfers and connects two bodies for the opposite cross-sections into each other.
SGcutCuts a solid geometry into 2 parts at a defined z-plane
SGcut2Cuts a solid geometry by inserting vertices and facets
SGintersectBoolean intersection of Solid Geometries
SGreplaceFirst version to replace a part of a solid
SGsubtractBoolean Subtraction of Solid Geometries
SGsupplementBoolean addition of the solid parts of B that are outside of the convex hull of A
SGsurfacemeltboolreturns a solid which surfaces were added using SGbool
SGunionBoolean Addition of Solid Geometries
SGunioncompleteAdds to a solid the part of a nother solid which is outside the convex hull
SGunionreplaceadds a solid after removing the bounding box of the solid
SGxorBoolean XOR of Solid Geometries

CODING/DEVELOP - List of functions

cellstradjustlenadjust in each col of acell array or table the length of char string
commandwindowTLsame as original fnct but deployable
depuseStringsearches for string using the system command grep
depuseStringmultFinds files that contain multiple strings linked by an AND condition.
docSGjust shows the documentation of the calling fnct
docTLsame as original fnct but deployable
editTLsame as original fnct but deployable
exp_2025_08_17_SGLibGPTAlgorithmusopen the FM database of SGLib and the mfile/ and inserts a CHatGPT explaination of the code into html and Fm Database
exp_2025_08_20_updateFMmatlabcodeopen the FM database of SGLib and inserts the original matlabcode from the m file
filenamestartswithdatereturns wether a file name starts with the creation date of this file
getfuncparamsprocesses varargin list -
getfuncparamStrsimilar as getfuncparams but works with strings prpoerties
getvargreturns if a string is part of varargin and the next parameter
isatleastVerchecks the minimal version/release number of matlab
iscalledbycmdlinereturns wether a fnct was called by commandline directly
lastuidirreturns the file parts of the last uiopend file
matlabtoolboxdirreturns the default matlab add-on toolbox root directory for all toolboxes
mdfindspotlight using matlab on mac
mfile2mlxfile4markupConverts an Markup or publishable M file into an mlx live script
openbydoubleclickopens/starts a file by the operating system
opentolineTLsame as original fnct but deployable
osxsimplified version that shows osx version matlab version and sg lib version
paste2codeif called on the commandwindow, it returns the contant of the clipboard as matlab code
pcodedirTLcreates a temporary directory for the creation of pcodes
pingIPsends a single ping within one second to check the reachability of FTP server
publishSGPDFjust publishes the VLFL_EXP## files to save time in the current directory
readtable2codereads tables and creates strings in the command window that can be used as code in matlab m files
retainfieldsretains a list of fields from a struct
SGcreatebin2mfilereads any file, and writes a matlab fnct that can create a copy of this file
SGlibsimply opens the WWW pages SGlib.org and Matlab central
SGlibedithtmlhelptextopen the html help text in the 'SGLIB_HELP_Structures/html' folder
SGlibHelpTutorialsA feature for tutorial authors that provides hyperlinks to display and open existing tutorials.
SGlibmovepathtotopmoves the SG-Lib directory up in the search path
SGlibpathreturns the filepath of the toolbox directory
SGopentolinesame as opentoline which does not work anymore in 2020b Update6 on Catilina
SGoutdatedExecution stops by reporting that the fnct is outdated
SGscriptfileexecutionsimplified interface for a stand alone version of the SG-Lib 5.0
SGtrialerrorgenerates an error message indicating a new attempt
SGversionreturns a license string
spotlightsearchspotlight using matlab on mac
stampcreates a text line for publishable code with currenct OSX version | Matlab Version | SGlib version
timluethjust open the entries of tim lueth at Matlab central
uniquecellunique command for cells
verJAVAfnct to check the JAVA Version of Matlab and OSX
verMLreturns the currently used Matlab Release
verOSXjust tired to find out why and when matlab chashes
verSGsystematic names for versions - use osx for all
webTLsame as original fnct but deployable
whichSGsearches for patters in filenames of matlab files
workdirchanges to the working directory and/or defines it

Completed CAD designs - List of functions

SGBAUHAUSboxdesigns a BAUHAUS style boxes to hide cables and stuff
SGBAUHAUSchairscratchreturns the SG for a scrat protector of a specific Bauhaus style chair
SGBAUHAUScupholdinsertreturns a SG as insert for cup holder in a car
SGBAUHAUSdeskcylinderdesigns a BAUHAUS style boxes to hide cables and stuff
SGBAUHAUSdeskcylinderdesigns a BAUHAUS style boxes to hide cables and stuff
SGBAUHAUSflorencereturns a solid geoometry for an Florence Knoll Basset chair or sofa
SGBAUHAUSnotesboxreturns a simple box with cover lid for a note paper block
SGBAUHAUSpenholdertiltedconstructs a tilted pen holder
SGBAUHAUStectaF51returns models of the BAUHAUS Walter Gropius Chair produced by TECTA in Germany
SGfurniturewedgesreturns furniture wedges for assemble of shelfs etc/ with an height impprint
SGjuicerAdaptercreates a spare part for a BOSCH juicer
SGmakerworldSimply opens the WWW-page of grabcad.com in the system browser
SGveribor120returns the shape of a 120 mm Veribor
SGveribor120yannickreturns a plate to connect 2 Veribor 120 by M8 SCrew and to fix the LCL base with 4 times M5
SGveribor210returns the Geometry of a Veribor210 of Year 2020

CPL/Closed Polygon Lists - List of functions

CILofCVLcreates a Contour index list for a CPL/CVL
circshiftCPLreturns a circular shifted CPL
CListypereturns the type of correlation link
CLofFLWreturns a correlation list from a facet list between 2 free boundaries
closedCPLcloses all contours in CPL(2D) and CVL(3D) without any other change beside removal of all consecutive identical point before
closedCVLcloses all contours in CPL(2D) and CVL(3D) after removal of all consecutive identical point before
CLplotplots a correlation for debugging (same as plotcorrelation)
CLsortrowsSorts a corrleation list
colorsofCPLofimagereturns the original colors of the contours in an image
CPL2ccwchanges the orientation of all nested CPLs to ccw
CPL2cwchanges the orientation of all nested CPLs to cw
CPL2lineconverts a line type contour into a line by considering only the half of the contour
CPLaddauxpointsadd supporting points to embedded CPL to guarantee a specified points distance
CPLAnycubicPredatorCreates the CPL for the Anycubic Z-Level testing solid
CPLarrangeArranges a set of CPLS to be as widw as another one in x dimension
CPLBezierreturns Bezier Curves from CPLs
CPLboxcreate a CPL of a square including text
CPLbuffergrows shrinks a CPL
CPLbufferCPLlinesconverts a set of lines into a closed polygon concept
CPLbufferEdgesreturns contours with broken our rounded edges;
CPLbufferlinesreturns all buffer contours with an repeated reduction value
CPLcell2NaNconcatenates a cell list of CPLs into one single CPL
CPLcircbendProvides a contour for a circular arc chord length and a circular arc chord height
CPLcirclesofPLcreate a list of circles for a list of points
CPLcirclesofShaft2D fnct returning a circular contour that encloses a rotating contour
CPLcircshiftshifts & closes a PL. First point is [minx miny]
CPLconcatreturns a simple concatenation of CPls
CPLconnectCreates a coonecting contour between two contour
CPLcontourcreturns the CPL of matlab's contourc command
CPLcontourslotscreates slot contours to connect two solid by simple plug sockets
CPLconvexhullreturns the convex hull for a CPL
CPLconvexhulldelaunayreturns the convex hull for a CPL
CPLconvexhullfillgapreturns the convex hull for a CPL
CPLconvexhulloutlinecreates a ONE region CPL from several regions of a CPL by using the convex hull
CPLconvexsegreturns the segments of convex and concave contours a CPL.
CPLcopyBravaislatticecopies a contour to a normed Bravais lattice
CPLcopypatterncreates patterns by copying CPLs
CPLcopypatternPLcopies a CPL at positions of a PL
CPLcopypatternTLcopies a CPL at positions of a PL
CPLcopyradialcopies a CPL radial with radius and number of copies
CPLcopyunionradialcreates radial copies and unifies
CPLcorrelatecorrelates the contours from two CPLs
CPLcrosscircsegfnct to detect crossing segments of a circ line with a CPL
CPLcrosslinecalculates the intersection of a CPL with a line
CPLcrosslineauxpointscreates crossing points of a line a a contour with a grid size
CPLcutPezcuts a CPL along a border line
CPLdecomposereturns a list of contour segments that belong to the same angle segment
CPLdistancecalculates the distance between two contours after supplementing colinear points
CPLdistancewallreturns the minimal wall thickness between 2 CPLs or a region
CPLdisttopointreturns the minmal distance between a contour and a given point
CPLdullededgesreturns a CPL with dulled edges
CPLedgeNormalreturns edge normals and point normals for a CPL
CPLextendbyPLextends a CPL outline contour by some points
CPLfaceplotplots the faces of a CPL
CPLfeatureedgeselects corners with an angle larger a limit
CPLfftreturns a fourier frequency reduced contour shape
CPLfillgapcreates a contour that fills a another or several contours
CPLfillHoneycombfills a contour with honeycomb
CPLfillincreates a contour that fills a another or several contours
CPLfillinsidecreates a contour that fills a another or several contours
CPLfillonCPLcontourfinds positions for circles within a contour
CPLfillPatternfills a contour with copies of a pattern
CPLfilmhingecreates a simple bar contour with rounded edges
CPLfindsmalldistreturns areas of a CPL that have a small wall distance to the opposite contour
CPLfischertechnikreturns the most common CPL for the design of fischertechnik compatible connections
CPLfitfits a contour or a point list into a polygon
CPLfitinCPLrotshifts a CPL into the center of another and rotates for optimal fit
CPLfitinCPLscaleScales and moves contour to fit into another
CPLflipudflips one by one the CPL up and down to change the ordner cw / ccw
CPLgripperjawcreates a contour for a gripper design
CPLgrowgrows a contour line in a distance
CPLharbourreturns the inner contour of an area limited by line type areas
CPLhatchcreates a hatch for a CPL
CPLhatchgridofCPLcreates filling meshs similar to a slicer
CPLinsertPLinserts removed points if they are on still exisiting lines
CPLinsertpointinserts a point at an appropriate condition into a CPL
CPLinsideCPLreturns the contours of a CPL that inside another CPL
CPLinvertChange the direction of all contours in a CPL
CPLisccwcorrectedreturns a CPL with all CPLs in correct orientation cw/ccw order is unchanged !
CPLisccwcorrectedCPSreturns a CPL with all CPLs in correct orientation cw/ccw
CPLisccwinoutreturns which contour has the right orientation wrt shell and orientation
CPLisidenticalcontourreturns whether two contours overlap the same area
CPLisidenticalregisteredCompares two CPLS in the same orientation and size
CPLlinkofPLreturns a convex hull including budder for a list of points
CPLmotorshaftreturns the CPL for a motorshaft, for instance Fischertechnik
CPLobjects2cellsreturns CPL as cell list of CPLs separated by not-overlapping outer-border CPLs
CPLof2CPLzheuristicreturns the projection of a solid the would be created by SGof2CPLzheurist
CPLofBBreturns a CPL around a 2D Bounding Contour BB
CPLofcontourcconverts the contourc format into the CPL format
CPLofCPSreturns a CPL from a CPS or an array of polyshapes
CPLofFSreturns a CPL of a Feature Surface
CPLofgcaborehole090returns the contour of the shadow core in view (0,90) from above
CPLofimagereturns a point list related to matlab;s contour fnct
CPLofmeshgridrodsreturns two grid line templates
CPLofouterregionboundaryreturns the outer boundary of regions of CPL
CPLofPLalphashapereturns a closed polygon contour around a point list using alphashape
CPLofplateSGreturns for a flat plate solid its contour
CPLofPLcontourConverts a PL into a CPL, if the distance of last point and first point is below a threshold
CPLofPLcrossCPLcuts a line by crossings using a CPL
CPLofPLELreturns a polybool contour from PL and EL
CPLofPLgrowcreates CPL circles around points of a point list
CPLofPLgrowlineconverts a single open polygon into a grown contour
CPLofPLseparatedlinesconverts a list of 2D points paris into a CPLs that separates the each pair by nan nan
CPLofPolygonreturns the CPL of a graphics object type polygon
CPLofpolyshapecreates a CPL from an array of polyshapes
CPLofprocessedimagereturns contours inside a processed image
CPLofSGboreholesreturns the contour of the shadow core in view (0,90) from above
CPLofSGcutTseparates a solid similar to SGcutT but inserts connection points
CPLofSGcutTBBreturns a CPL based on the Bounding Box of a solid
CPLofSGFSselectreturns the CPL of a SG by FS selection
CPLofSGhullreturns the outer contour of a solid
CPLofSGprojectionreturns a projection contour of a solid using the graphics board
CPLofSGTezreturns the CPL and the frames plus a frame list using TofCPLT
CPLofSGThullCreates the CPLofSGhull after an transformation relative to a frame
CPLofspokedPLconverts a point list into a spokes between the most distance points
CPLoftesthingereturns a shape and a Geometry for a flexible hinge with 180 degree radius
CPLoftextreturns a CPL of one or more textlines separated by \n
CPLofVLFLcreates a CPL and T of a planar VL,FL
CPLopendistancereturns the maximal distance between neighbor points of a contour related to the contour size
CPLoutercontourreturns for a CPL the outer contour wrt cw/ccw-orientation
CPLoutlinecontourjust returns ALL OUTLINE contours
CPLpinholesinCPLreturns the CPLs of the pins that would fit into bore holes of servos or PCB
CPLplotasPSplots a CPL as polyshape using the region plot of polyshapes command
CPLplotbufferlinesplot buffer lines for a contour
CPLplotcolorsplots all contours or indexed contours in colors
CPLplotcwccwplots a CPL in different colors depending on the orientation
CPLplotinoutplots the CPLs in colors depending in the enclosure level
CPLplotregionsplots the regions of a CPL / polyshape in different colors
CPLrack4PLreturns a contour for rack that can be used as rack (ground link for linkages)
CPLrackPLdelaunayreturns a minimal CPL bar structure that contains all points of PL
CPLrackPLdelaunaypathsame as CPLrackPLdelaunaypath, but allow forbidded areas
CPLradialEdgesreturns a vertex list (VL) with rounded edges (USE CPLisccwcorrected before!)
CPLradialhatchcreate radial hatches between contours 1 and 2
CPLradialslotscreates rotating circle segment contour for socket connectors
CPLregionbufferintersectdetects the overlapping area of increased regions
CPLregionssorts a CPL with respect to regions
CPLregions2cellreturns CPL as cell list of CPLs separated by not-overlapping outer-border CPLs
CPLregionsholesseparates CPLs into Surfaces and Holes
CPLregionshrinkreturns the smallest shrinked contour with same dimensions, regions and holes
CPLremauxpointsremoves points from a CPL or a PL that
CPLremconvexcornerremove single convex corners from the contour
CPLremdensityremoves points from a CPL or a PL that
CPLremFFTremoves points from a CPL by removing high frequencies
CPLremnoisereturns a smoother CPL
CPLremovearearemoves CPLs of small area using the polyshape class
CPLremovebufferjust removes thin walls from CPLS (same as CPLdullededges)
CPLremovecollinearpointsremoves 2D/3D collinear point with different results for opened and closed CPL/CVL
CPLremoveoverlapFor each contour of CPL the polyshape is simplified
CPLremoveregionsholesremoves CPLs of small areas and small holes using the polyshape class
CPLremovethinwalljust removes thin walls from CPLS same as CPLdullededges and CPLremovebuffer
CPLremstraightAminremoves points with a minal distance/area to a predecessor or successor
CPLrepairreturns a CPL for extrusion - finding, duplicating and separating split points (required for SGLib 5.4)
CPLselectbynearestPreturns an index list for selectNaN to select by the neareat Points/CPLs
CPLselectbyPreturns an index list to select enclosing CPLs
CPLselectinoutreturns selected CPLs based on their enclosure index
CPLselectspatialselects parts of CPL based on spatial or other relations
CPLsetallcwsets all contours of a CPL to cw
CPLsimplifysimplifies a CPL using polyshape simplyfy true
CPLskeletonreturns a skeleton with equal distances to all wall sizes
CPLskeletonsearchcreates a point list and an edge list
CPLsocketscrewedContour for an anti-rotation bushing
CPLsortCreturns a contour that start with angle -pi
CPLsortinoutreturns a inside outside sorted CPL (There is a changed behaviour
CPLspiralreturns a closed polygon in spiral shape
CPLsplituisplits a CPL interactively into two CPLs
CPLspringSpiralcreates just the pathe and basic contour for a windup motor spring spiral
CPLsquarelinecreates a sequence of boxes of different x-dimensions
CPLstentcreates a CPL pattern for a laser cutted stent
CPLstentlinecreates a sequence of boxes of different x-dimensions
CPLsweepreturns a swept contour
CPLsweep_simple1st sweep fnct
CPLtemplateofCPLreturns a template for a given CPL
CPLtextbannerReturs a CPL for an size adjusted Textbanner or Contour
CPLtextimagereturns contour of text string
CPLuiinteractive fnct to create and modify CPLS (Only one Contur)
CPLunionreplacecountour union after a subtraction of a bounding box or convex hull
CPLunionsortedFor 2.5D Design in Mechanical Engineering, there is a different CPLunion requireed
CPLunsortchanges the order of nan separated CPL using unsortNaN
CPSdiffareareturn the norm difference between two polyshape areas by xor
CPSlineuiinteractive fnct to create and modify CPS lines (Only one Contur)
CPSofgcareturns a struct called Colored PolyShape (CPS) similar to a polygon array object
CPSofgcalinesconverts all or selected lines graphcis objects into CPS structs using a line thickness
CPSofpolygonreturns a struct called Colored PolyShape (CPS) similar to a polygon array object
CPSouterboundaryreturns the outer boundary as CPS or polyshape
CPSplotplots a colored polygon from a CPS struct, a polyshape or a CPL (NO SIMPLIFICATION)
CPSremovearearemoves CPS/polyshape regions of small area
CPSsimilaritymapconverts an array of CPS or polyshapes into a cell list of similar CPS
CPSuiinteractive fnct to create and modify CPLS (Only one Contur)
csgofPLreturns MATLAB's Constructed Solid Geometry (CSG) dg matrix for a list of polygons
CVLofcontourcconverts the contourc format into the CVL format
CVLofVLconverts a CVL in a CVL whose contours are closed
CVLofVLCILreturns a CPL/CVL from a PL or VL using a contour index list
CVLofVLELreturns a closed polygon vertex list from a vertex list and an edge list
CVLremovezremoves contours with a defined z value from a CVL
CVLremstraightAminremoves points with a minal distance/area to a predecessor or successor
CVLseparatezreturns a sliced CVL/CPL for a given z value
delaunayofCPLmore sharp delaunay triangulation in 2D (planar case)
ELofPLcreates an EL for a PL of succeeding points
FLofCPLmisleading fnct - use PLFLofCPLdelaunay, PLFLofCPLpoly instead
GPLauxgridpointsCPS2creates a defined number of Gridpoints
isCVPreturns wether a sequence of vertices is a contour vertex path
openedCPLopens all contours in CPL(2D) and CVL(3D) without any other change beside removal of all consecutive identical points.
openedCVLcloses all contours in CPL(2D) and CVL(3D) after removal of all consecutive identical points.
PLcirctrapezoidcreates a trapezoid contour with a predefied angle
PLconnectopenradialcloses an open line by a contour
PLdecomposereturns a list of contour segments that belong to the same angle segment
PLdiamondreturns a diamond shape optonal als convex hull for a CPL
PLofCLreturns an arbitrary planar point list to vizualize the correspondance list
PLofCPLconverts a nested CPL into a nested PL
plotcorrelationplots a correlation for debugging
PSanalyzeclassifies the polyshapes regions outer boundaries into equal shapes
PSofgcareturn the polyshapes of the polygons of current axis
PSregionsreturns the regions of a polyshape
R12ofCPLreturn standardized link and joint dimensions
RLofCVLReturns Radii of a contour, same as CVLdimclassifier
SGofCPLflatreturns a SG struct of an open flat surface from a polyshape or closed polygon
TofCVLreturns for curved contours the mean transformation matrix
TofPLreturns a 2D HT matrix for a point list
VLedgeNormalreturs normal and plane vector for free boundary contour
VLNLOLplotplot an open or closed CVL including Edge Normal Vector and Edge Orthogonal Vector
VLofCVLcreates a Contour index list for a CPL/CVL
VLpathdistdistance between two points on a CVP PAth
VLremstraightAminremoves points with a minal distance/area to a predecessor or successor

CVL/Closed Vertex Lists - List of functions

CVL2periodicconverts a perodic spatial contour into three periodic discrete fnct
CVLaddauxpointsinserts auxilary points and removes near points in CVLs
CVLclipTreturns a clipped CVL relative to a HT matrix
CVLedgecenterCalculates the center/middle point between two edge points
CVLedgeNormalCalculates normal vectors for curved closed contours
CVLfreeBoundaryVLFLreturns the CVL of the free boundary
CVLinsertTinserts the x/y crossing points of a CVL and a HT matrix of a plane
CVLof2CPLzcorrelatereturns a CVL list for a correlated fusion of 2 CPL over a distance of z
CVLofconvexHullreturns the three cutting contours through the convex hull of a solid
CVLofCPLreturns a CVL from a CPL
CVLofCPLbendsinusreturns a wave-shape-bended CVL from a CPL
CVLofCPLbendsphericalbends a CPL on a cylinder or spherical ellipsoid
CVLofopenfacesreturns the closed vertex list for all open surfaces
CVLofRLreturns a CVL of a radial list and an ez vector
CVLofSGcutplanesreturns the three cutting contours at a frame coordinate system through a solid
CVLofSGcutTreturns the CVL of a crossing/slicing plane given by a HT or Frame string
CVLofSGcutTrotcreates contours and 2.5D solids from a rotated cross-slice of a solid.
CVLofSGfireturns from a (interactively selected) facet index the Contour and Transformation matric
CVLofSGfreeboundaryreturns the closed vertex list for all open surfaces
CVLofSGTreturns the CVL of the surface that belongs to a Frame
CVLofSGTFSreturns from a (interactively selected) facet index the Contour and Transformation matric
CVLofVLEL2processes a fortmat of
CVLpointdistancetoedgereturns the edges that have the minimal distance to a point (Works in 3D)
CVLsortlinestraightreturns a reordered CVL
CVLzsweepreturns a swept CVL z Contour and a 2.5d solid

CVLz/Slices - List of functions

CPLofSGslicereturns the CPL of a sliced SG
CPLofSGslice2return slices of a separated SG
CPLofSGslice3returns CPL and CVL for different sliced heights and directions
CPLofSGsliceautoreturns the slive with a significant z distance
CPLsingleSolidSlicerSliced CPL of a single closed surface
CVLzaddauxpointsadds points to CVL z sorted contours
CVLzconvexhullfillgapreturns a CVLz stack with ONE convexhullcontour in each layer
CVLzcutcuts out defined z levels
CVLzflipudflips z values for a CVLz
CVLzisccwcorrectedcorrects cw/ccw orientation and removes doubled start/end points
CVLzofSGsimple and reliable fnct
CVLzofSGsliceautoreturns the slices with a significant z distance
CVLzofSGslicesreturns a stack of slices as CVL (CPL including z) of a SG
CVLzoutlinecontourfillgapreturns a CVLz stack with ONE convexhullcontour in each layer
CVLzremovearearemoves areas with a small distance to the opposite wall
CVLzreplacedeletes or replaces a contour in a CVL stack
CVLzseparatereturns a sliced CVL/CPL for a given z value
FILofrangezreturns an facet index list for facets crossing a plane
SGslicerreturns the delaunayTriangulation of the sliced plane
SGslicerreturns the delaunayTriangulation of the sliced plane
VILofrangezreturns indices of VL and FL in a cut plane

Debug - List of functions

dbcheckchecks wether a variable is stored in global workspace and listed in SGvar
dbloadimports a workspace varibale into a fnct
dbpausesimilar to pause, but shows the calling fnct and if dbprintmode is on, jumps to the line
dbplotplots a SG objetcs (SG, PL, CPL, CVL, etc.) for debug purposes
dbprintflike printf but shows the calling fnct and with dbprintmode also an hyperlink
dbprintflogfnct that logs similar to former frintf(2,) a text tino a log file
dbprintftextsimplified text output in debug scenarios
dbprintmodeswitches on the possibility to reach code lines when using dbprintf fnct
dbreturnthis is a fnct Mathworks should implement for debugging reasons
dbsavewrites for debugging variables into the global workspace
whoSGSG list of global variables stored in the work space
XXCreates comment lines including formated variables with a hyperlink including variables
XXprintmodeswitches on the possibility to reach code lines when using dbprintf fnct
XXreadcommentreturns the text of the comments of the comment file as hyperlinks

EL/Edge Lists - List of functions

CELofELreturns a corrected succeding EL for a single contour
ELconnectedgroupsreturns edge lists in groups of isolate indices
ELcorrectfinds edges with a wrong direction and turns them
ELhistogramreturns a list o nodes in an edge list and how often it was used
ELofcrosspoints2Freturns the Edge Constraint List from a crosspoint List
ELofELmeshreturns a separated EL consisting of independent meshes and a rest of points and lines
ELofFLborderreturns the border edges of a open 3D or closed 2D surface
ELofFLborder2returns the border edges of a surface
ELofFLpatchconverts a patch (more than triangles) list into an edge list
ELofjointFLreturns a list of joint edges of two facet list
ELplotplots the graph of the given edge list
ELreconnectresorts a valid but broken and recompiled edge list
ELremoveremoves an index from an unsorted edge list
ELremovedoubledconstraintsremoves doubles from a constraint edge list
ELsortFEgroups and sorts unsorted edge lists
ELswapflips orientation of edge list
ELuniquereturns a unique list of all edges
graphofELcreates an undirected graph model from an edge list
ismemberFLreturns ismember for all three possibilities of a facet list
minspanedgesRETURNS the minimal spanning tree required for Kirchhoff loops (Mesh equations)
textVLELplots descriptiors for each edge of an edge list
treeNodesofELreturns the tree structure from a given edge list
VLELcat2Simple concatenation of two vertex lists and edge lists.
VLofcorruptedFLreturns the vertex list indices of corrupted facets

ENG-Components - List of functions

SGbitISO1173Bite Geometry related to Bit DIN 3126 ISO 1173
SGDIN13returns a screw geometry related to DIN13 (same as SGscrewDIN)
SGDIN433Design a washer in accordance with DIN433
SGDIN464SG of a knureld screw
SGDIN7991headcountersunk screw DIN 7991
SGDIN912creates a Solid Geometry with respect to DIN 912
SGDIN912headcreates a Solid Geometry of a screw head with respect to DIN 912
SGDIN965returns the DIN965/ISO7046 table for a metric threads
SGDIN965returns the DIN965/ISO7046 table for a metric threads
SGDIN965headreturns the DIN965/ISO7046 table for a metric threads
SGDIN985creates a Solid Geometry with respect to DIN 985
SGgearandrackDINretunrs a gear and gear rack combination
SGgearDINrotCalculate a gear with the count from 9.12 to 48; for internal and external gears
SGgearpairDINprovides a simple gear ratio stage as Solid Geometry
SGgearrackDINreturns a gear rack for a gear
SGgearwormDINreturns a gear worm solid
SGiso4026SG of Hexagon socket set screw with flat point
SGiso4762SG of Hexagon socket set screw with cylindric head
SGManipulatorDIN912DIN985ballbearingreturns all the parts of a 7DoF manipulator than can be assembled by screws and ballbearings
SGslidingcarriagereturns a slider for 2 rails
SGslidingcoverofCPLzreturns the part of a plane sliding cover for a solid with defined wall sizes
SGtorxDINreturns a TORX Pin with an optional opening for a kerbkonus bushing

ENG-Designs - List of functions

SGcutT4designcreates a DIN912-DIN985 joint in an arbitrary solid by mouse click
SGdesignAxlebearingcretaes the material subtraction from a solid for radial bearings and axle
SGdesignBallbearingcreates subtraction solids for a bearing connection at a specific frame position of a solid
SGdesignBoltedLidcreates a cover lid and a fixation for an open 2.5 designed box
SGdesignConeconnectordesigns a peg in hole connection using a truncated cone that can be printed with FDM
SGdesignCutDIN912DIN985Creates a body cut with subsequent screwing possibility bue straigt cut or z cut
SGdesignDIN7991creates a an assemly methods for DIN7991 or DIN965
SGdesignDIN7991BushingEcreates subtraction solids for a screw fixation at a specific frame position of a solid
SGdesignDIN912BushingEcreates subtraction solids for a screw fixation at a specific frame position of a solid
SGdesignDIN912DIN985creates subtraction solids for a screw fixation at a specific frame position of a solid
SGdesignDIN912DIN985axialbearingcreates subtraction solids for a screw fixation and a axial bearing at a specific frame position of a solid
SGdesignDIN912DIN985axradbearingcreates subtraction solids for a screw fixation and a axial bearing at a specific frame position of a solid
SGdesignDIN912DIN985radialbearingcreates subtraction solids for a bearing connection at a specific frame position of a solid
SGdesignDrivenshaftDesigns a torque transmitting shaft
SGdesignDriveSpindlereturns the solid geometry of a gripper spindle
SGdesignfaceconnectingrodcreates a connecting rod between two faces of a solid
SGdesignGripperjawreturns the geometry of gripper jaws, gripper finger and complete mechanisms for an object to grasp
SGdesignIgusdragchaincreates the subtraction and supplemet solids for fixing a igus drag chain
SGdesignMotorN20creates subtraction solids for the design of motor driven mechanisms
SGdesignMotorN40horizDesigns a subtraction solids for the N20 L-type encoder motor
SGdesignPeginHoledesign subtraction solid and supplement solid for peg in hole connections using fittings
SGdesignPintleDesigns a simple pindle bolt connection
SGdesignPluginFrameadds a plug-in sleeve to a solid
SGdesignSupplementcreates cylinders or CPLs that are big enough to encapsulate the fixture elements
SGdesignSupplement2connect2SGfirst appraoch to create bridges between two solids
SGdesignSupplement2connectSGfills in a solid block to connect the surfaces of SG
SGdesignSupplementPlugindesigns a plugin holder for another solid
SGdesignTongueGrooveRadialcreates a radial tongue and groove connection for a contour or an opening in a 2.5D structure
SGtoolTipreturns a Subtraction Solid for a "tool" for SGbool

ENG-Dimensioning - List of functions

CVLdimclassifieranalyses contours and classifies different drawing elements
PLdimensioningplots a measurement ruler under a CPL
SGdimensioningcreates a drawing of the solid including dimensions
SGdimensioning4Creates a simple 4 quadrant dimensioning view for a solid Geometry
SGdimensioningFrontCreates a Side View Dimensioning Figure
SGdimensioningSideCreates a Front View Dimensioning Figure
SGdimensioningTopCreates a Front View Dimensioning Figure
SGprofiledepthdimensioninteractive funtion that returns the distance between surfaces
SGprofilesurfacedimensioncreates a drawing of the touched surface
SGTdimensioningcreates a four-quadrant view related to a frame or the center of a solid geometry
TofCVLdimclassifierreturns Frames for radii in 3D-Contours as CVL
viewdimensioningchanges the view parameter for an engineering view

ENG-Fits - List of functions

islfitreturns a probable fitting for an expected 3D Printer from two dimenions
SGfitcalibration4PrinterCreate solids to measure the friction force of printed for the fitting concept
SGfittinggaugecreates a solid for testing fits on a 3D printer
SGwarnfittingusedevolper fnct to be used in a SG fnct if fittings are used within the fnct.
slfitreturns the slot size value for a desired fitting during programmed design procedures

ENG-Standards - List of functions

DIN_S_BANCLOK_Ereturns the Dimensions of the Kerbkonus Product S-BANCLOK-E
DIN13returns the DIN-13 table for a metric threads
DIN20273Diameter of drilling holes wrt to DIN EN 20273
DIN336returns the parameter of the DIN 336 table
DIN433returns the DIN433 table for a 2D Metric Washer
DIN464returns the DIN464 table for a metric threads with knureld head
DIN4AMfittingDIN similar table for fitting offsets with different AM-Printers
DIN4AMtemperaturerequest for tested printing temperatures
DIN7991returns the DIN965/ISO7046 table for a metric threads
DIN912returns the DIN912/ISO4762 table for a metric threads
DIN913returns the DIN913/ISO4026 table for a metric threads
DIN934returns the DIN934 table for a metric threads
DIN965returns the DIN965/ISO7046 table for a metric threads
DIN985returns the DIN985/ISO476 table for a metric threads
DINfindinTabsearches an entry with in a table name
DINhelpopen different urls for DIN and ISO Standard Machine Elements
DINthreadtorquereturns the DIN912 torque for tightening screw threads
DINtorxreturns the main paraemter for designing a metric torque adapter

Experiments - List of functions

aofRExperiment to generate radial tubes by radial segment curves
PCfindplanesEXPERIMENT TO SHOW THE PLANES IN AN IMAGE
SFB989Generates STL Files for the individual SFB-989 projects
SGfingerprotectorcreates a simple finger guard for one finger
VLprojectionreturns projected vertex lists on a surface/solid for given vertex list

FEM/PDE - List of functions

FEDiscreteGeometryFromSGsimilar to pdemodelofSG (2017), but simplified
pdemodelofSGcreates a pde model from a solid geometry
pdeplotfacessimply plots the surfaces to select
pdeplotresultplots the displacement in 3 quadrants
pdesolvesurfaceloadcalculates the FEM analysis using pde for a pde mesh model
pdestressstaticreturns the calculated static stress inside a SG based on a pde model
SGmeshtetrahedroncreates a tetramesh of a Solid Geometry - same as SGmeshtetrahedron
SGofpdemodelreturns a solid geometry surface model of a pde model
SGplotsurfaceloadplots the surface load of a solid geometry
SGshapeOptiCAOreturns the optimized shape of a given structure based on biological growth
SGshapeOptiSKOplots the surface load of a solid geometry

File handling - List of functions

bambudownloadvideoIPdownloads in parallel to printing processes the timelapse videos from the bamboo printer
bgr162rgbconverts a 16 Bit AbC color code (BGR 3 x 5 + 1 Bit) into a color vector [R G B] 3 x 8 Bit
bufferwritefills a buffer with byte oriented data
copyfilebycondrenames a file by moving it - conflict handling in case the target file existst already
desktopdirreturns the name of the desktop directory path name for PC and MAC
dir2cellfolder files as cell list
dircrdsame as dir but returns the creation date instead of the modification date
ejectvolumeAuxiliary fnct to unmount and eject a extrenal drive such as a sd card
existvolumereturns the full path of a volume's diretory if this volume exists i.e. it is mounted
fcreationdatereturns the creation date for a file or file list
filecompareconditonstrange fnct for paring english as condition
ftouchfile touch on mac - use carefully - does not support wildcards but only single files
image2videoadding titles & end titles to video files
islinkreturns wether a file is just a link
matlabdirreturns the default matlab directory that is also used for custom toolboxes
openinmatlabeditorsame as opentoline but creates a file if not existing
parsedocTLreturns the documentation string related to Tim Lueth's documentation rules
publishTLpublishes the file in the pcode directory
renamefilerenames a file by moving it - conflict handling in case the target file existst already
repairtextfileEOFRemoves unwanted EOL char(26) from text files
SGprintwrites an STL file an opens the slicer afterwards
svgpolylineofCPLwrites CPLs as polygons or polyeder lines for a laser cutter
unixgrepsame as unix grep fnct
VLFLreadOBJreads in an OBJ file
webdownloaddownloads a file from a url and changes the name to date and tim
writetextfilewrites a character string into a text file

Filemaker - List of functions

exp_2025_07_31_FMenglishEXPERIMENT to use openAI for spell checking and comprehension testing of SG-Lib documentation in the FM database
FMclosecloses a connection
FMgetDatareturns all field values from a table of an open FileMaker database
FMgetFieldTabsreturns structure of the FielMaker database
FMhelpreturns a help text for the FileMaker-Matlab interface
FMinitJDBCchecks the existance of the FileMaker JDBC driver and copies it into the javaclasspath
FMopenopens a FileMaker Database by the FileMaker Application
FMsqlQueryreturns the answer to a SQL request to a FileMaker database

FL/Facet Lists - List of functions

FLcontourwallFLnreturns a simple wall contour between the boundaries of 2 identical surfaces
FLofcrossingSGseparates the faces of a solid that are relevant for boolean operation with a second body
FLofCVLreturns the faces for a tube-style vertex list
FLofCVLneigborpointscresting faces between threee suceeding points of a contour
FLofDelaunayreturns the convex hull of a vertex list
FLofELconverts an edge list into a facet list (tricky) EXPERIMENTAL
FLofELinFLfinds one ore more edges in a facets list
FLofnDO NOT USE (MACRO=>SINGLE LINE) Identical to FLofVL (VL) TESSELATION
FLofoppositefacesofVLFLreturns the list of faces that have opposit facets within a bounding box
FLofPLcorrelationreturns a facet list for a given point correspondance list
FLofSGcolorfinds the faced of a specified color
FLofSGzreturns the planar faces for a z value and the faces that have edges for this z value
FLofTetrahedronreturns the triangles of a tetrahedron list
FLofULreturns a facet list of a union list
FLofVLdelaunaycreates a delaunay tesselation in 2D of a VL with respect to a ez vector;
FLofVLELreturns the facet list for a vertex list and a planar edge list in 3D
FLofVLEL2returns the facet list for a vertex list and a planar edge list in 3D
FLofVLELnreturns the facet list for a vertex list and a planar edge list in 3D
FLofVLFLfireturns the facets that are attached to the known facets
FLofVLFLficurvedreturns the facets that are attached to the known facets
FLofVLFLnearestneighborVLFacet List that contains vertices that are neighbors of a vertex list
FLofVLFLviFacet List that contains entries of a vertex list
FLofVLmeshgridcrestes a fact list for a vertex list that was created from a depth image
FLofVLPLofVLplaneprojectionreturns a FL for 2D could also be FLofVLELplanarDelaunay
FLuniquereturns a FL without copies of circshifted rows
opponentFLreturns the opponents indices for a facet list

FS/Feature Surfaces - List of functions

FEofSGreturns FE and optional VL of a solid geometry or of gca
FEofVLFLreturns FE and optional VL of a solid geometry or of gca
FLfeatureEdgeSurfacereturns a surface facet list based on a given surface triangulation
FLfeatureEdgeSurface2returns a surface facet list based on a given surface triangulation
FLinsideSurfaceofSGReturns the Facet Indices of inside surfaces
FSfeatureSelects features surfaces based on
FSofSGFeatures surfaces of SG in contrast to selecting a FS FSselect and CPLofFS
FSofSGfacetreturns the facet index list of a Feature Surface for a given facet index
FSofSGnormalfinds all feature surfaces that fullfil the same normal vector condition
FSofSGTreturns the facet index list of a Feature Surface for a given coordinate system
FSselectSelects features surfaces based on
MLofSGcalculates of the mounting face list of the solid
MLplotplots the mounting faces of a solid
SGfeaturereturns a cell list based result of a command sequence
SGinsideSurfaceChecks the distance between the centers of the facets
TofSGfilProvides the frame for a feature surface that is passed as a face index list.
TofSGFSselectprovides a frame that can be described using spatial terms as described in FSselect
TR3featureEdgesreturns feature edge List plus edge attached facets
TR3mountingfacesfinds connected facets with same normal vector
TRfeatureEdgeFacetsreturns the list of facets linked to edges of the featureEdges
VLFLofSGTsurfacereturns the flange surface for a given T matrix frame name

Geometric Queries - List of functions

BBconcatconcatenate two bounding boxes
BBofBBscales an axis our bounding box
BBofCPLreturns the bounding box of a CPL
BBofCPSreturns the bounding box for a polyshape or CPS
BBofPosereturns the bounding box of a Pose
BBofPSreturns the bounding box of a polyshape
BBofSGreturns the bounding box of a solid geoemtry
BBofSGcutTreturns the bounding box for a cutting frame
BBofTreturns the BB for a list of matrices
BBofVLreturns the limits of the bound box
centerCPLreturns the center of all contours of a CPL
collofBBsFundamental fnct to retur from two bounding box list the colliding index lists
CPLareareturns the area of the surfaces (VL/PL)
CPLisclosedCPLreturn wether the contours are open or closed in a CPL
CPLisstraightlinereturns wether a CPL is a straigt line with area zero
crosspoints2FThis Fnct designed for SGbool6 returns all crossing points of 2 triangles
crosspointVLFLfireturns the self crosspoints of a surface normal vector
diffangle3D fnct: calculates the angle between to normal vector lists
diffanglewreturns the shortest distance from angle 1 to angle 2
edgeNormalreturns the edge normals of surface boundaries
ELangleofLATAPreturns the bending angle for a katheter based on LAT and AP angles
ellipseofPLreturns the parameter for an ellipse of at least 5 points
findfacetsinSGcreates a correlation index list of the facets in FLA and FLB
findfacetsinVLFLcreates a correlation index list of the facets in FLA and FLB
incenterVLFLreturns the center of a surface and of all facets
iscrossingCPLchecks crossing/touching of two CPLs
isonVLFLreturns whether a point is on a surface
isonVLFLedgereturns the triangles a vertex is on edge
isonVLFLplanesreturns wether a point is on a plane of a facet not necessarily inside of the facet
isonVLFLsurfacereturns whether a point is on a surface
isplanarVLFLreturn whether a point cloud or surface is planar
nofVLFLreturns the number of facets with an area larger than 0.1 mm^2 and the facet list
outsideplaneVLreturns whether a vertex/vertex list is below or above a 3P plane
outsidetriangleVLreturns whether a vertex/vertex list is below or above or outside a 3P triangle
PCfindradiusanglereturns vertices and facets of surface near a point of a point cloud
PLanglereturns the angles of a points list
PLangle2returns the angles of a points list
PLconvexsegreturns the segments of convex and concave conoturs within ONE CPL
PLcross2Linesreturns the crossing point of 2 lines in [x y]
PLcrossCPLlinereturn the crossing point of a single CPL and a line
PLcrossstraightnlinereturns the crossing point of 2 lines in [x y]
PLlengthsimply the cummulated distance between points of an open list
PLminanglereturns the point with minimal angle value wrt to the center of the contour
PLsplitpointsofCPLreturns splitpoints created by delaunaytriangulation
PLsquareuiallows to draw interactively a square in the current graphics area
rofcirclearoundCPLreturns radius and center point of the surrounding and the most inner circle
rofCPLsmalldistreturns the smallest distance between two contours in CPL
rofCPLsweepreturns the radius of a fully circled CPL
SGanalyzePenetrationreturns the structure of additive designed SG
SGareareturns the area of the surfaces (VL/PL)
SGisInteriorreturns the isInside Flag for a SG and a VL
SGisInteriorofBBreturns all facets of a solid that are within a bounding box
SGisIntersectingBBreturns all facets of a solid that are crossed/intersected by a bounding box
SGisOnsurfacereturns whether a point is on a surface
sofBBreturns the maximal dimension of the bounding box
ticksofBBsets the ticks using ticks of minmax of a BB
TofBBreturns frames relative to bounding boxes
TR3neighborsAnglereturns the angle difference between a facet an its neigbors - required for Feature Surfaces
triangleheightreturns the heights of a triangle - slow but correct
VLanglereturns angle and distance between contour list in 3D
VLcrossingSGreturns crossing points of two solid geometries
VLFLareareturns the area of the surfaces (VL/PL)
VLFLfaceAnglesreturns the three angles for the facets of a solid
VLFLfaceneighboranglereturns a signed (convex/concave) normal vector difference
VLFLfaceneighborswapanglereturns and explains swapping decisions
VLFLinpolyhedronreturns the isInside Flag for a SG and a VL
VLisInteriorofBBreturns the index point list for isinterior
VLisonCVLreturns wether a point is on a segment of a CVL or CPL
volofBBsimply returns the volume of a bounding box or a cell list of bounding boxes
zofBBsimple fnct to create a height of a bounding box

Images - List of functions

GeoTIFFBayernload GeoTIFF Data from the Bayern cloud
iconofCPLcreates an grayscale image/icon of a contour
im2vecsimply converts/reshapes an image into a 1 x n vector
imadjustwhiteadjusts the intensity values from both side that
image2strbase64creates an base64 string to integrate images direcdtly into html files
imageFolderContentfinds all image files within a folder
imageofipcamreturns an image of the ipcam
imageoftextreturns a binar matrix and an image matrix for a text string
imofimsketchuses an imbinarize filter to improve images before contourfind
imreadlastchangedreads in the last modified image of a directory
imreadrawreads an image file as raw data
imresizepresizes an image proportional relative to a mimum number of pixels
imstackofSGprojectioncreates projection images similar to a CT from a solid
imstackreadreads in an image stack as default uint16
imstackwritewrites a gray scale intesity matrix n x n x m into raw files (used for radon)
spreadmaxspreads the values of a matrix for a desired intervall min to max
VLFLtextimagereturns vertex/facet list for a text string
VLofimageconverts an image into a contour or a solid

Import/Export - List of functions

appsavegcaSTLApplication callback procedure for writing the current figure as STL
appuireadSTLApplication callback procedure for reading a STL file
CPL2DXFReturns LWPOLYLINE strings with increasing object number
CPLwriteDXFwrites a 2D DXF File from a CPL
CPLwriteSVGwrites a SVG file for a laser cutter
dicomCollectionSeparationselects the fitting other files for a stack of images or a directory
SGarchivefilenamereturns a filename for fast access to similar geometries
SGcheckfacedistChecks the distance between the centers of the facets
SGmeshlabopens a solid geoemtry in an STL viewer
SGread3MFopens and reads a 3mf file with respect to the microsoft specification
SGreadMATloads a Solid Geometry or other struct as mat file on disk
SGreadOBJreads in an OBJ file
SGreadPLYreads in a Point Cloud in PLY Format an creates a surface model by marching cube
SGreadSTLreads in an SG from an STL File
SGreadSTLdirreads all STL files of a folder into one SG cell list
SGreadSTLreducedFLReads in a STL file and reduces immedeatly the number of faces
SGreadstructfileReads in an matlab struct from an ascii struct file
SGreadtableThis fnct reads in EXCEL tables with comments
SGwriteIconWrites an Icon/JPG File with a 3D view of a SG
SGwriteMATsaves a Solid Geometry or other struct as mat file on disk
SGwriteMultipleSTLwrites a cell list of solid geometry in different STL files
SGwriteSeparatedSTLwrites solid geometry in different STL files
SGwriteSTLWrites a STL file for a solid geometry
SGwriteSTLarchiveCreates an archive directory for separated solids and surfaces of different Solids/STL files
SGwriteSTLplotjust a combination of SGwriteSTL and SGTplotalpha
SGwriteSTLshrinkedwrites shrinked STL files on disk
SGwritetablewrites a table similar to writetable
SGwriteVRMLWriten an STL Geometry in a VRML File Format.
STLAsctoBinreads and STL-File in ASCII format and writes it in binary format
stldirreturns path, or filename, or list of existing files
STLreadfiletypereturns 'a' for ascii, 'b' for binary and -1 for file not found
stlsolidgenerates a STL file body from a vertex list and facet list
VLFLreadSTLreads an ascii STL-File as vertex & facet list
VLFLreadSTLbreads a STL-File in binary format
VLFLwriteSTLwrites a STL object given by vertex list and facet list in a STL-file
VLFLwriteSTLwrites a STL object given by vertex list and facet list in a STL-file
VLFLwriteSTLbwrites a STL object in binary mode given by a vertex list and facet list into a STL-file
VMofimagestackperforms the inverse radon on an image stack
VMreaddicomreads an image (nxn) or image stack (nxnxm) from a dicom directory
VMreaddicomdirreads a dicom directory into an image stack
VMreadniftireads in a nifty volumentric file
VMuidicomreads in a dicom file or opens a dialog first

Kinematics and Frames - List of functions

attachmentpointsofA1B1TPreturns the grid points relative to effector from A1, B1 and a coordinate or pase
B1ofA1returns a second attachment point from a 1st Attachment point, distance and angle
CPLanimateTLgeneric fnct to animate a set of contour on indivual pathes
CPLanimateTLasSGgeneric fnct to animate a set of contour on indivual pathes as 2.5 layered solid geometries
CPLcrossCPLpathlimitcollision detection along a path in 2D
CPLofA1B1Preturns a CPL exactly for the given three points
CPLofSGgearsprovides the 2D envelope for a planar gearbox
CPLplotTLsimply plots a contour transferred wrt to list fo frames
CPLsubtractTLsubtract a moving contour from another moving contour
CPLsubtractTLasSGcollison based subtraction of moving contours
CPLsweepTLreturns the contour of a path swept contour
CPLunionTLadds a moving contour to another moving contour
crosspointsVLFLofTreturns the crossing points of the axis of a coordinate system
diffTreturns the difference between 2 4x4 HT matrices
ELgraphleafsseparates open branches in a edge list tree
ezofTjust returns the ez vector of an HT Matrix as row
forwkinrplan3forward kinematic of a planar rz 2 arm rotating around an arm z axis
HTplotplots a HT matrix
invkinrplan3returns the angles for a rotating planar two arm kinematic
iscollofSGcalculate collision vertices of two solids or a solid chain
isequalTreturns the difference between 2 4x4 HT matrices
isTreturns whether a variable is a HT matrix or a list of HT matrices
KMchaincalculates a kinematic structure from a given frame chain
KMofSGsreturns a Kinematic model for a chain of solids
KMplotplots all parts of a kinematic model
KMresetset all position frames of a kinematic model to eye(4)
KMTreturns a HT-Matrix from a kinematic model
L1L2RofBasenAttachmentpointsreturns dimensions from base points and attachment points
layerspacerlengthreturns the levels of the spacer for collision avoidance and shaping
mat2celldim3converts an [a:b:n] array into a cell list {n x [a b]}
miofPLA0B0returns the index of the minimal relative angle to the axis between A0 and B0
mofzdreturns the module if diameter and number of teeth are known
mzsreturns a modified module for a giben number of teeth and slot
PLofTreturns a point list path from the translation part of a list of HT matrices
pofSGreturns a position based on spatial relations of SGtransrelSG
pofTreturns the translation part of frames or frame lists
radofTreturns only the radian turning angles of a list of T@ matrices
ROBgetJointPositionreturns the position of a set of joints of a robot
SGanalyzecrosscenterapproximates the center points of intruding surfaces
SGanalyzeJointFacesreturns joint type, Stator and Mover and Frame of Joint
SGattach2SGAssembles parts interactively by surface attachment
SGcenterFSdirectly centers the desired feature surface
SGcutTextrudeTreturns a cutted an elongated solid by extrusion of the crosssection plane
SGgearchainrotaterotates the axes of a gear chain
SGgearchainstraightbrings all the axes of a gear chain in a straight line
SGgearchainwindupreturns a gear chain for a windup motor or a minimal size gear box - use SGgearstamp afterwards
SGgearstampMarks gear wheels with numbers or text
SGisinternalframereturns weather a frame is an internal frame of a solid
SGissurfaceframereturns weather a frame is an outword or inward frame for a solid
SGManipulator03BaseBase, and Hand for Manipulator Design # 3
SGManipulator03LinkLink and Link extender for Manipulator Design # 3
SGManipulator04BasePlate, Base, and Hand for Manipulator Design # 4
SGManipulator04LinkLink and Link extender for Manipulator Design # 4
SGManipulator05BasePlate, Base, and Hand for Manipulator Design # 5
SGManipulator05LinkLink and Link extender for Manipulator Design # 5
SGManipulator07LinkLink and Link extender for Manipulator Design # 4
SGManipulatorBasePlate, Base, and Hand for Manipulator Design # 4
SGManipulatorLinkLink with 2 Frames to create mechanisms or
SGN2SGTfinds hidden coded frames in a SG and creates frames for the solid
SGofR12creates a solid to show the minimal solid size for assembly methods
SGrotatereturns a solid rotated around the center of the solid
SGT2SGNinserts frame information into the vertices and facets of a SG and removes the frame structures
SGTalignTaligns two frame to have same ey-vectors by opposite ez vectors
SGTalignTaligns two frame to have same ey-vectors by opposite ez vectors
SGTbaseunderSGcreates a solid as base plated under a given solid
SGTBBreplaces the complex surface geometry by a simplified bounding box
SGTcalibchainchanges the base frames of a set of solid geoemtries
SGTchainreturns the spatial transformed solids of a kinematic chain
SGTchainanimationcreates an animation of kinematic chains
SGTcopycopies Frames from one Solid into another one
SGTcopyasopponentcopies a frame that crosses a surface as surface frame
SGTcopyinteralframescopies frames of a solid which are located into the goal solid
SGTcopynamescopies Frames from one Solid into another one
SGTcopysurfaceframesoutcopies all frames from one solid to another solid if the frames are outward frames
SGTcutcuts a solid a an internal frame into separated pieced by a blade
SGTduplicateframeduplicates a single frame of solid using a new name
SGTframeChainreturns a list of frame connections for a cell list if solids
SGTframerotreturns a frame of a solid
SGTframeselectFnct to select frame set
SGTframeselectrenameselect frames, rename one, and remove the selected frames that were not renamed
SGTgetreturns a named frame of a solid geometry
SGTgetframeinforeturns some basic information about a frame inside a solid
SGTmatchTmatches two frame to have same ey-vectors ez and ex vectors
SGTofDenavitHartenbergreturns from Denavit-Hartenberg values, a solid, frames and a symbolic description for DH
SGTofDHsetreturns the solids for a kinematic chain defined by DH parameter
SGtransTuiinteractive fnct to fix a surface to the ground or another solid's surface
SGTregisterframesfinds the optimal HT matrix to register two sets of frames
SGTremoveremoves a transformation frame from a solid geometry
SGTremovedistframesremoves frames that are outside the bounding box of the surface of a solid
SGTremoverelTremoves frames from an SGT that fullfill a condition
SGTrenamerenames a frame of a solid geometry
SGTretainremoves frames but retains some
SGTrotatereturns a solid rotated around a Frame coordinate System
SGTsetsets or replaces a named frame of a solid geometry
SGTsetBFset frames 'B' and 'F' at default positions
SGTsetBFsimpleadds base frame and follower frame to a solid
SGTsetinternalframerecords coordinate frames based on optional user interaction
SGTsetofFScreates a frame based on a features surface and a selector
SGTsetofRLcreates frames from radial contour of a surface
SGTsetofRLcenterreturns a frame of a surface that is defined by drilling holes
SGTsetoriginmoves the solid into a position that the base frame become the origin
SGTsetTLadds a set of frames to a solid
SGTswapSwaps two frames of a Solid
SGTtransRrotates a selected frame of a solid
SGTtransTDesired, but ambiguous, so only a help text is displayed.
SGTuireturns a HT matrix for a manuel selected union space
SGturnfacesrotates a solid wrt to the largest orthogonal feature surfaces
slpitchreturns the required fit dimension for steep screw thread
T2ofCVLpathReturns Start frame and End Frame for a Contour path
T2ofT3returns 3x3 matrices from 4x4 matrices
T3ofT2converts a 3x3 HT-Matrix into a 4x4 HT-Matrix
TcopyVLezcreates frames at specific positions in space
Tflipzrotates / flips the ez axis of a HT matrix around by by 90 degree
TLadjustRtakes a List of Frames and adjustst start and end frame to T1 and T2
TLL2TLConverts a long list of frames into an array of frames
TLof2Treturns a list of Frames between a start frame and an end frame
TLofnreturns a frame 1 of 36 with different ez vector and orientation
TLofPLreturns transformation frames for a PL
TLplotsplots a list of HT matrices with plane, normal vector and prthogonal vectors
TLvaryfromthis fnct takes a frame list and adds small values to the position and orientation
TmirrorTxymirrors frames or cell list of frames
Tof2Preturns a 4x4 HT matrix given by a point p and a vector ez [1st named T2P]
Tof2Tcrossezadjusts the position of frames relative to a crossing point with another frame
Tof3Preturns a 4x4 HT matrix given by three points (sort3P)
TofA1B1GPLReturns the Frame of the Pose wrt to
Tofcharcreates an HT frame based on spatial relations
TofCPLTcreates a list of frames inside a CPL or a planar CVL
TofcrossedSGfinds a surface point using ez of T and creates a frame
TofDPhireturns a 3x3 HT matrix for 2D link
TofFSreturns a HT matrix for a speficied feature surface
TofFSoutlinecenterreturns the HT Matrix fo the center of the FS
TofFSRLcenterreturns a Frame based on the smallest found radii inside a surface
TofFSuireturns the frames of a touched surface
TofLRreturns a 2D link matrix or a 3D link matrix
Tofnprovides a standardized test frame from 1 of 36 with different ez-vector and orientation
Tofplaneparamreturns the T matrix form for a plane parameter description - ax+by+cz+d=0
TofPLpathcreates a list of HT matrices from a point list path
TofRreturns a HT matrix for an R matrix
TofRdcreates a frame after rotation in distance d along new ex
TofSGezfinds simple angle by ez vector using SGTsetBF
TofWheelreturns a HT matrix for a 2 wheel kinematic movement
tplotangleplot for a list of HT matrices the angle, angle velocity and angle acceleration
Trelationcreates a frame relative to another frame
Trotatereturns a HT matrix rotated by
TsvdCorrection fnct for an HT matrix for orthogonalizing a matrix after multiplication
uniqueTreturns the difference between 2 4x4 HT matrices
vecinterpolatereturns a vector row interpolation by
VLisbelowTreturns wether a list of points or a cell list of frames is under a frame
VLof2TRreturns a path with minimal number of axuiliary points to come from frame A to Frame B
VLofTreturns the origin T(1:3,4) of a frame list
VLofTtoPreturns a list o fpoints that create a shortes path towards PB with radius R
VLplotmotiondraws position, speed and acceleration of a VL
xyofezreturns for a simple ez vector the ex and ey orthonormal vectors

Mechanical function - List of functions

bofbendinggirderreturns the width of a bended girder
Fofbendinggirderreturns binding force of a bended girder
invkinplan2returns the inverse kinematic for a planr 2 arm robot
lofbendinggirderreturns the length of a bended girder
PLgearrackDINreturns a PL for gearrack
SGweightreturns the estimated weight of a solid
sofbendinggirderreturns the expected bending of a girder/cantilever

Modeling function - List of functions

AIM_Robotreturns a solid geometry for a robot used in AIM lectures
CAD_1_1PUBLISHABLE EXAMPLE of Excercise CAD 1.1
CAD_1_2PUBLISHABLE EXAMPLE of Excercise CAD 1.2
DTofPLELzreturns a Delaunay Tetrahedron for a point list and edge list
LCLYK1_createScript to collect different STL files to create a cell list of solids
SGanycubicPredatorCoverThis fnct was made to motivate Markus Wörl
SGanycubicPredatorCoverPMMAcalculates size and testing elements for the plexi glas shielding for the Anycubic predator
SGbanditjethelmclipcreates a clip for a Bandit Jet Helmet
SGbase4PCBreturns base posts and pins for a PCB assembly
SGbearingreturns the SG of a simple bearing
SGbladeofpinconecreates a subtraction solid
SGboardreturns the solid geometry of a (raster) board
SGbottleholderreturns the geometry of a simple bottle holder
SGboxreturns soldi geometry of a origin centered box
SGboxMacminidesigns a cylinder shaped box for my office desk to hide cables and stuff
SGbreakCornersbreaking the vertices of a solid geoemtry
SGcompasscreates a desktop housing for the magnetic compass (look like a Gyro compass)
SGconereturns a solid geometry of a cone
SGconetruncatedreturns a truncated cone by
SGcover4PCBcreates a cover with openings for cables etc
SGCpackpacks several solids side by side
SGdesignrulesTim Lueth's design rules for creating 3D printable products for daily living
SGdrawingtemplateofCPLCreates a 3D printable drawing template - slow but helpful
SGdummyRjointcreates a simple geometry to better imagine a rotating joint
SGFilamentHolderFixationreturns a plate to fixate the distance of two independent filament holder stands type OTOTEC
SGfischertechnikaxleA pluggable axle for edges and gears for Fischertechnik
SGfurnitureSolid geoemtries of sample furniture
SGhullstripsagittalreturns a string around the sagital plane
SGinsertrevjointinserts a revolute joint in the center of a solid
SGiPadFlip2standcreates a stand to insert an Apple iPad into the opening of an Samsung Flip2 55 Stand
SGiqanglerectreturns a recangular angle for changing directions in mechanisms
SGiqknobreturns a inch quarter knurled knob for inserting hexagon pin as bolt or shaft for mechanisms
SGiqlinkCreates links for inch quarter drive mechanisms
SGiqpinreturns a inch quarter hexagon pin as bolt or shaft for mechanisms
SGiqsocketreturns a socket or a foot for an inch quarter mechanism
SGjointballreturns ball and shell of a 3DoF joint
SGjuicermachineclipA missing useful part for the Bosch juicer machine
SGjunkerhallpartcreates a part for a junker hall
SGlinkagereturns the solid geometry of a linkage
SGlinkchainreturns a foldable link chain
SGMacBookPlatejust plots a stand for a keyboard ontop of a 13" McBook
SGmicroscopetablecreates a part to connect a xy-table with an microscope stand of USB-Microsscope
SGmodelJointreturns 3 separated Solids for automated design of joints
SGmodelKeyholeCreates a SG including a key and a keyhole
SGmodelNodereturns a solid geometry of a post as fixed node
SGmodelSliderholeCreates a SG including a key and a keyhole
SGmotorFeeTech40returns a model of an SM40BL that can be printed and moved passively
SGmotorN20returns just the Geometry of a N20 motor
SGmotorN40returns the Geometry of a Chihai motor CHF-GM13-050S
SGmotorN40horizreturns the Geometry of a N20 HEININGER Motor with 90 degree flansch
SGmotorshaftreturns a solid geometry for a motor shaft with undercut
SGNameplatereturns name plates
SGpincountersinkcreates cone shaped pins and blades
SGpinringReturns the shape of a ring or a blade to create revolute joints
SGpintorquegaugeCreates a pin with a defined diameter and height with a torque-loadable head
SGpinwrenchsizecreates a pin/heaxagon pin for a specified metric wrench size
SGplateunderreturns a plate that is completely under the solid
SGpostreturns a force optimated post
SGraspicam2housingreturns a housing for a Raspberry Pi camera type 2 (adjustable lenses)
SGrobotreturns the geometry and kinematic model of the MIMED-LCL Robot
SGrobotTCPchangerSimple Tool Changer for Yannick's robot
SGrobotTCPdesignTutorial fnct to design Robot Tools
SGrulercreates a ruler in dimensions that can be so small that it cannot be manufactured but displayed
SGshapecylindricshapes a solid with a cylindrical intersection
SGsilentbrasscreates a holder for a Yamaha Silent Brass for a Thomann Cornett
SGsimpleHingereturns a simple swivel hinge
SGsimpleNDItrackercreates a tracker for NDI spheres using a distance list
SGslalomshoesFinn-Foil-Protector for Slalomski
SGsupportFSSTL processing fnct to increase or reduce the wall thick by material support
SGsurfacecutoutncovercuts out a contour and create a CONVEX solid to cover the cavity
SGtextbannerReturs a solid an a CPL for an size adjusted Textbanner
SGtorquelimiteraxialreturns a torque limiter part
VLFLboltreturns a 2½ D solid geometry of a bolt
VLFLhollowsnapaxlegenerates a slotted hollow snap axle
VLFLinternalgearReturns the vertex/facet list of a gear with internal involute teeth
VLFLlinkagereturns a 2½ D solid geometry of a linkage
VLFLofBBreturn VL and FL for solid related to a bounding box
VLFLofCPLrotreturns a solid geometry from of a radius-z list
VLFLofPLELzreturns a 2½ D solid geometry of a contour
VLFLrotsymRLCLreturns a solid geometry from of a radius-z list and a contour list
VLFLrotsymRLnreturns a solid geometry from of a radius-z list
VLFLshaftreturns VL and FL of a solid axle
VLFLsnapfitreturns VL and FL of a snapping hollow axle
VLFLsnaprivetreturns the solid geometry (VL,FL) of a male snap rivet push pin with a speficied opening force
VLFLspacerreturns a 2½ D solid geometry of a spacer

NDI Camera - List of functions

VICRAclass library for the NDI Stereo camera
Vplotstatssimply checks wether the NDI camera has been initialized already
Vresetresets the NDI camera and starts the communication.
Vstrayreturns the list (n x 3) of visible stray markers by the NDI camera
VTgetreturns immediately the Matrix of a registered Tracker by the NDI camera
VTget2gets a immediate relation Matrix between A and B: A_T_B.
VTget2pgets a precise relation Matrix between A and B: A_T_B.
VTgetpreturns a precise pose (HT-Matrix) of a registered tracker by the NDI camera

Parametric Design - List of functions

CPLofSGpinholesreturns the Geometry
PLlemoreturns the contour of a insertion hole for a LEMO plug/socket
R12ofMreturns the minimal dimensions of a link for a screw nut connection
SGbarreturns a box without frames
SGbarcelonaspacerSolid protector for Barcelona lounger by Mies van der Rohe
SGbarstructurecreates rectangle as bar structure
SGbearingslideerzeugt ein Gleitlager nach Spezifikationen für einen AM Printer
SGblockundertableSimply a block when tables wobble on uneven surfaces
SGbookwedgereturns a wedge for a book or a tablet
SGboxcagecreates a box as cage based on SGbarstructure
SGboxradialsimilar to SGbox but with radial edges in 2.5 D
SGbraitenbergvehiclecreates a simple solid similar to the vehicles of von Braitenberg
SGcableclipreturns cableclip that can be fixed in 90 degree by a nail
SGcapontopreturns a solid that covers the geometry from top to a specified length
SGcasereturns the solid geometry for a cubic case with cover
SGcatheterCreates a solid of a catheter
SGcatheterfeedercreates rollers to move wires and catheters
SGcathetertorquercreates different catheter torquers to be actived by SGcathetercapsule
SGchristmasstarwrites a STL file for Printing a christmas star
SGclampCTtablereturns the solid geometry for a CT table clamp
SGclosurecapofFSAutomated Design of Closure Cap
SGcmdShortcut for SGofCPLcommand but supports also sprintftext format
SGcupholderinsertreturns a SG as insert for cup holder in a car
SGDINbushingEcreates a solid for a kerb konus busing
SGdragchaincreates a 3D printable already assembled drag chain
SGdragchainelementreturns a single element of a drag chain
SGdragstripcreates a dragchain cables as texture strip
SGdrillnotchsets a simple drilling notch on top of a surface
SGendoscopeCreates an Endoscope in KARL STORZ Design
SGEurtraccapSolid Geometry Cap for an EUTRAC 3Phase electric rail
SGfurniturespacerSolid protector to protect the touch of the furniture to a wall
SGgearBevelReturns the vertex/facet list of a bevel gear with involute teeth
SGgearchainreturns a gear chain als simple sequence or stacks
SGgearCrownwheelReturns the vertex/facet list of a crown wheel with involute teeth
SGgearInternalreturns the vertex/facet list of a gear with internal involute teeth
SGgearpairreturns a combination of two gears
SGgearRackReturns the vertex/facet list of a gear with involute teeth
SGgearSpurReturns the vertex/facet list of a gear with involute teeth
SGgearwheelsocketspannerThis is a socket spanner mit clearance fitting for screws
SGhandlereturns a simople handle to be fixed by screws
SGhandrailclampAn example for a snap-in solution of a handrail-adapter for a specified force
SGhook4railsquaredcreates a hook for squared shaped rails
SGlemoFAGEGGPlug and socket for the LEMO FAG EGG family
SGmagnetcapreturns a closed magnet adapter cap for M22
SGmakitaadapterreturns the Solid Geometry of an Makita 14V-18V Akku adapter
SGmedalsframecreates a plate to present 60mm medals in cmobination with a book wedge
SGmeshgroundcreates a ground mesh that is a flexible texture on a FDM printer
SGmieleTwinDosadapterreturns a Adapter for Miele TwinDos detergent cartridges (print with 80%)
SGmodelLink2Creates Solid for a Link im Style "Link2"
SGmodelLink3retuns solid geometries for R linkages
SGmodelLink4Creates Solid for a Link im Style "Link4"
SGmotorFeeTechslow fnct that creates solids with text
SGmotorshaftcouplingcreates a rigit motor shaft coupling
SGmotorspindleclutchcreates a motor spindle clutch between a motor shaft and a steep spindle
SGmotorwindupcreates wind up motor with a 3d printed spring
SGmultisocketclampreturns a clamp to fix a multisocket under a desktop table plate
SGmusicstandextensionsupplies extension elements for an orchestra music stand
SGofCPLcommandSimple commandline based 2.5 solid modeler for the use of a caliper
SGofCPLcommanduiSimple commandline based 2.5 solid modeler for the use of a caliper
SGofCPLzbellowscreate a stright bellows based on a CPL
SGpedestalcreates simple solids for pedestals
SGpinshaftcreates a pin using PLshaftrad
SGplugintubecreate a tube that can be elongated piece by piece
SGprinterstandcreates posts or stands for furniture or in this case hp laser printer
SGrackbarscreates solid bars to assemble a rack for mechanisms
SGradialhooksCreates hooks for a rotating bayonet catch
SGreolinkDesigning a cover for a Reolink camera
SGreolink2pipeclampProduces a bolt plate for screwing the Reolink camera to a double tube clamp with a joint.
SGrescBoxCreates for the iMedCap Rescue Robotics Project a 1:10 Model of the Patient Box
SGrobotTCPplatereturns a TCP flange to mount Fischertechnik® compatible grooves
SGrodlinkreturns a cylinder with inclined top and bottom surfaces
SGsbbaseCreates a base for a simple ball bearing four-bar linkage
SGsblinkreturns a link for insertion of a bearing, optional a sleeve, and an inner hexagon at the shaft end
SGsbpinreturns a pin printined at 80% to be inserted by a hammer
SGservoflangeManually designs a flange connection for a servo motor
SGshaftaxiscreates shaft axis combinations
SGshieldbasecreates a shieldbase
SGshutterbeltcoverCreates covers for shutter belts as an example for design using SG-Lib
SGsnaprivetreturns a solid geometry for a snap rivet
SGspringreturns a cylindric spring
SGspringSpiralreturns a spiral spring geometry
SGspringSpiralboltcreates the shaft-axis combination for a commercial windup motor spring (80% fillin)
SGsteepspindlereturns the geometry of a steep spindle and a nut
SGstentreturns a cylindric stent consisting of two spirals
SGsubtractnaddTLBasic fnct to support repeated frame based union and subtraction of solids
SGtorquefusereturns a SG consisting of three parts to implement a clutch
SGwebcamcoverSimply a cover for a desktop webcam
SGwheelspiralreturns a solid of a involute spoked wheel which limit a torque jump or spike
SGwheelspokedreturns a solid of a spoked wheel
SGwrenchsocketspannerThis is a socket spanner mit clearance fitting for screws

PL/Point Lists - List of functions

CPLinsertcollinearpointsinserts collinear auxiliary points that a minimum point distance is guaranteed
CPLlengthreturns the boundary length of a CPL
CVLinsertcollinearpointsinserts collinear auxiliary points that a minimum point distance is guaranteed
GPLdistancetoCPLreturns for a grid point list the point distance insider or outside of a contour
matrixdistanceofCPLreturns a simple matrix containing the distance to the contour CPL
matrixofCPLsimplified version of matrixdistanceofCPL
PLaddauxpointsadds auxilary points to an open point list
PLaddTetragridofCPLreturns a tetra grid point list for a bounding box or CPL
PLadjustreturns an adjusted PL related to a position grid and a angle grid
PLarrowreturns a point list for an arrow
PLbendingbends a CPL on a cylinder or spherical ellipsoid
PLBezierCBezier splines for open point list
PLcatreturns a concatenated point list of several point list
PLchamferreturns a point list for chamfer shape fncts
PLchamfer2sidetwo sided version of PLchamfer
PLchordof2PRreturns a radial segment for a given chord / arc tendon and a radius
PLcirclearcreturns an circle arc between two circle points in right hand rule
PLcircleofPLreturns minimal and maximal circle around a CPL
PLcircleovalreturns a circle-based-oval point-list
PLcircleuireturns a PL for a circle interactively defined
PLcircsegreturns a PL for a circle segment
PLclampCTtablereturns the CPL of a clamp for an hybrid-OR CT-table
PLconnectopenendscloses an open line by a contour
PLconvexhullreturns the convex hull of a 2D point [nx2] list
PLcorrelatereturns the correlation of two single point lists
PLcorrelatingsegmentsA new implemenation of PLcorrelate
PLeggreturns the contour of an egg
PLfftsame as CPLfft but for open contours
PLgearDINreturns a gear contour wrt DIN from 3 to 48 teeth (replaces PLgear of year 2012)
PLgrowgrows a contour line in a distance to an open or closed PL
PLgrowlineconverts a single open polygon into a grown contour
PLhexalobularreturns a hexalobular Point list related to DIN ISO 10664:1999-09-01
PLhookcreates the shape of a hook
PLinbussimilar as PLcircle but uses the wrench size
PLinsertcollinearpointsinserts collinear auxiliary points that a minimum point distance is guaranteed
PLjunkerhallpartcreates a profile of a pressed profile
PLkidneyreturns a kindey shaped point list
PLknurledreturns a sinus contour on a circle
PLmeanclusterconverts a point list into a mean values point list
PLmeshgridsimple fnct for a better understand of meshgrid
PLminxyreturns the point with minimal x and y values
PLmirroratlinemirrors a PL or CPL
PLof3distcreates a 3P Tracker geometry using the given distances
PLofCPLequidistantreturns points on closed or open contours with equal distances
PLofFloorPlanReturns a point list from a distance angle list
PLofimcontourcreturns the centers of pixel coordinates in an image
PLofVLConverts a planer VL[nx3] into a PL [nx2]
PLofVLFLreturns the 2D representation for a planar VLFL
PLofVLplaneprojectionmain axis projection of a vertex list along the largest dimension of a normal vector
PLofVLprojectionreturns image point on a target screen
PLonCPLcontourfindet äquidistante Punkte entlang einer Kontour
PLoutercontourreturns a point list that has no crossings
PLpinringreturns the contour of a SGpinring
PLplotdiscretesampleplots a PL as a digital signal to avoid problem of misinterpretation
PLplotdiscretetimeplots a PL as a digital signal to avoid problem of misinterpretation
PLradialEdgesreturns a point list (PL) with rounded edges
PLrandreturns a point list with random points
PLreassignreassigns the coordinates of a new list to the indices of an original list
PLrhombusPoint list of a rhombus
PLropecreates cross section of twisted (laid) ropes
PLroutefindreturns a right angle point list between start and end point
PLsetdiffmore tolerant than setdiff for vectors
PLshaftradcreates a PL for a contour for SGofCPLrot
PLshortestpathinCPLreturns a path inside of a CPL using A* Zelinzky, Lozano-Perez, Dikstra
PLshortestpathinCPLcostreturns a path inside of a CPL using A* Zelinzky, Lozano-Perez, Dikstra
PLslottaperingCPL of a slot tapering for creating blades for axis etc
PLsortCreturns a point list that is sorted around its' center
PLspiralreturn the PL of a spiral
PLsquarereturns a 4 point list describing a rectangle or trapeze in 2D
PLstarreturns a 2D point list of a star or star segment
PLsupplementreturns a given contour including supplemented points
PLtangentarc4Preturns center point and circle segment for the two tangents
PLtangentcircreturns the a circ segment between p1 and p3 with radius R
PLtangentcirc3returns the a circ segment between p1 and p3 with radius R
PLtetragridreturns a tetra grid point list for a bounding box or CPL
PLthreadDINFnct to create the crosssection contour using DIN13 for a thread
PLtoothevolventereturns the evolvent between base circle and outer circle
PLtrapezoidreturns a trapezoid shape liek the stern of a slalom water ski
PLtrianglereturns a triangle from an agle
PLtubbingreturns a points list for a 2D tubbing
PLuiinteractive fnct to create and modify CPLS (Only one Contur)
PLvaryfromsimply adds small values in a determinstic way to a point list
PLwedgeoncircleDesign a wedge for a circular movement
PLwrenchexactly the same as PLinbus
VLremzsimply reduces the cols of a list to 2

PLEL/Point List/Edge List - List of functions

PLELaddauxpointsadd supporting points to a point list and a contour edge list
PLELconcatconcatenates two different PL and EL and connects them
PLELDelaunayreturn the Delaunay Triangulation
PLELhsortreturns a hierarchy index list for a PL,EL,SIL
PLELnormreturns norm vectors of edges and points of contours
PLELofCPLconverts a polybool contour point list to point list and edge list
PLELofCPLplainreturns a PL and EL and a modified CPL based on the explicit qish of "open" or "closed"
PLELofFeatureEdgesreturns sorted closed polygon edge lists of the feature edges of a solid
PLELofFeatureEdges2returns sorted closed polygon edge lists of the feature edges of a solid
PLELplotplots a 2D contur by PL and EL
PLELpushinpushes points of contour B into contour A
PLELradialEdgesofCPLCreates 2D/3D radial edges in closed contours and open paths
PLELselectreturns only the required points for a given edge list. The edge list is reindexed
PLELtubereturns a 2D point list and a edge list for a cylinder or a tube cross-section

Problems Find/Check/Fix - List of functions

CVLpathwarningwarns if a path contains angles larger than pi/2
CVLzcheckprintingchecks for glued parts and missing walls
FLrepairadds missing triangles to a facet list
FLsortSorts FL by smallest vertex index and removes(!) degenerated facets
PLcorrelationcheckimportant fnct to detect problems that are difficult to see for a human
SGcheck4curaAnalyzes and checks Solid orientation for printing an a FDM printer
SGcheckboundaryedgesreturns the open boundaries of the surface
SGcheckcodeAuxilary fnct for finding error lines
SGcheckmeshlabperforms the most important checks for STL files
SGchecknonmanifoldedgesreturns the edges and facets with non manifold edges
SGchecknonmanifoldverticesreturns the non manifold vertices, i.e. identical points used in separated surfaces
SGcheckselfintersectionchecks an returns the number of self intersecting facets
SGchecktrianglegeometryreturns the extreme values for angle, edge length and area
SGfixerrorsremoves typical errors after surface manipulation
SGmakedoublefacesmove a number faces with slightly different position (creating errors)
SGmakedoublevertexcopies a number of vertices as doubles with slightly different position
SGmakemissingfacetremoves a number of vertices which creates missing facets
SGmakemissingvertexremoves a number of vertices which creates missing facets
SGrepairnonmanifoldverticesreturns a solid without non manfold vertices
SGslicercheckchecks for problems with faces and edges in the slicing plane
SGTcheckSTLwriteA simple test fnct to double check the writing of frames into STL files
VLcheckboundaryaccuracyreturns the sufficient number of digits for rounding to achieve minimal open boundaries
VLcheckvertexaccuracyreturns the sufficient number of digits for rounding the vertex coordinates of a solid
VLELcheckerperforms different tests on edge structures and displays the results
VLFLcheckboundaryedgesreturns the open boundaries of the surface
VLFLcheckerperforms a check of the vertex list and facet list to detect non manifold problems
VLFLcheckmeshlabperforms the most important checks for STL files
VLFLchecknonmanifoldedgesreturns the edges and facets with non manifold edges
VLFLchecknonmanifoldverticesreturns the non manifold vertices, i.e. identical points used in separated surfaces
VLFLcheckselfintersectionchecks an returns the number of self intersecting facets
VLFLchecktrianglegeometryreturns the extreme values for angle, edge length and area
VLFLcorrectdoubledvertexfinds and removes doubled vertex entries and shows degenerated facts

RealSense Camera - List of functions

SR300allimagesreturns a depth image 640x480 from the IntelRealSense300 camera
SR300depthimagereturns a depth image 640x480 from the IntelRealSense300 camera
SR300getVLreturn a VL of the currect Realsesen
SR300getVLFLreturns a surface from the surface camera
SR300installdownloads from TUM-MIMED the Intel Realsense +300 driver and installs it on MAC or WIN
SR300startinitializes the Intel RealSense 300 Scanner and creates a global struct IntelRealSense300
SR300stopinitializes the Intel RealSense 300 Scanner and creates a global struct IntelRealSense300
SR300videoimagereturns a video image 1920x1080 from the IntelRealSense300 camera

Realtime Roundrobin - List of functions

RRhelpreturns the help text for the Round-Robin realtime-environment
RRkeyboardCallbackthis callback fnct collects keyboard character and stores it into two global variables
RRrunstarts Round-Robin Task-List Realtime Environment in stopped state
RRshellRuns an interpreter shell for a limited period of time to simulate a realtime system

REMOVED-OUTDATED - List of functions

SGfourBarLinkageKitCreation kit for Four-Bar-Linkages (4Bar/Linkages)

Samples - List of functions

CPLsamplereturns a a closed polygon list for different tests and experiments
CSGsampleCross-Pair Samples returns two solids as examples for crossing solids
CVLzsamplecreates a CVLz sample for different Purposes
FSsamplecreate open surfaces (no solids) with the parameter to create missing faces etc.
PLsamplereturns a 2D PL list similar to VLsample
PLsampletrianglescreates extreme triangle geometries
Posesamplecreates sample poses for the pose syntheses of linkages
SGboxsphereSolid of a box with an containing sphere, mainly used for testing
SGCLsamplereturns examples for the SGofCPLcommand strings
SGcmdsampleCreates a SGcommandstring or a solid for some sampke geometries
SGcolorsamplecreates boxes in colors with text
SGfischertechniksamplereturns SG for some Fischertechnik samples
SGfittingsamplereturns a solid for fitting experiments
SGjacosamplecreates magnified solids in the workspace
SGsamplereturns a solid geometry for sample bodies used for testing and experiments
SGsample4APredatorCreates the SG for the Anycubic Z-Level testing solid
SGservosamplereturns STL Solids of Servomotors
Tsampleshows samples of frames based on Tofn
VLFLsamplereturns OPEN surfaces as samples for procedure testing
VLsamplereturns a sample vertex list for testing algorithms
VLsampletrianglesreturns pairs of vertex lists for triangle tests

Serial-Robotics - List of functions

CPLraamboTCPgearnutreturns the CPL of the Raambo-Robot TCP gear wheel
FTSCScmdreturns the command sequence for the FeeTech SCS RSC 485 Protocol of the URT-1 Board
FTSCScmdfindserialSearches for an URT-1 Board, tries different baud rates and searches for connected motors
FTSCSdataconverts read data from the URT-1 board into the data format
FTSCSmotorlistSearches for Motor ID connected to the FeeTEch URT-1 Board after opening the serial port
jaco05returns all the parts fo the jaco robot in specified geometry
JACOgetreturns information on the JACO robot by direct calls
JACOmodelcreates an STL file for magnified/shrinked jaco link
JACOsetsets parameter of the real JACO robot and of the global JACO model
JACOsimSimulates the behaviour of the JACO robot
JACOstructcreates a global struct JACOs that is used by JACOsim, JACOget, JACOset
raambocommandlinesimplements a command line based communication to a Raambo®-Robot via serial link (USB)
raamboGETSame as raamboSET but without setting values
raamboscreenimplements a character based communication to a Raambo®-Robot via serial link (USB)
raamboSETsends robot cmommands throught the global RAPORT to a Raambo-Robot
raambostartupsets important parameter for experiments with the Raambo Robot
SGjacohandreturns the JACO hand with fingers
SGmotorFeeTech40flangerobot servo motor flange
SGraamboTCPbagcutterreturns a solid that can cut a sterile bag in combination mit the knurled gear cover of Raambo robot
SGraamboTCPcreatefulltoolsetthis is a fnct the creates one after another all required parts for RaamboTCP tools
SGraamboTCPgearwheeldiskreturns the gearwheeldisk of the Raambo robot as designed by Erik Löwe
SGraamboTCPgearwheeldiskTLreturns the gearwheeldisk of the Raambo robot as designed by Tim Lueth
SGraamboTCPknurledgearcoverreturns a knurled tube TCP cover for Raambo robot
SGraamboTCPknurledgearcoverTLreturns a torque limited knurled tube TCP cover for Raambo
SGraamboTCPMagnetM22creates gear wheel for the 6th axis of Raambo
SGraamboTCPmagnetpullreturns a magnet releasing tool for the Raambo robot
SGraamboTCProtatingrodM16returns a simple rod with magnet coupling and an M16 internal thread
SGraamboTCPstraightmoveM16returns a push-pull TCP for M16x10x5 threads
SGraamboTCPtoolM16extensioncreates a tool extension for different geometries with a M16x10x5 Screw and Nut
SGraamboTCPtoolM16ofCPLreturns a tool holder for an M16x10 5mm pitch for the Raambo robot
SGraamboTCPtoolstandreturns a tool stand for a designers desktop

SG/Solids - List of functions

FLclosecontoursVLCLreturns for a contour list the facet list
FLcoatVLELreturns the facets to coat contours in different plane to generate a coating surface
FLcoverVLELreturns the facets to close contours in a plane to generate a cover surface
FLtest2returns a Vertex and Facet list from an Vertex list and Edge list
FTclutchreturns a clutch for Fischertechnik Gear Motor
isSGreturn whether an object is a Solid Geometry
meshgridofBBreturns a meshgrid for the coordinates of a solid
ms3Dmodel2SGconverts a microsoft 3D model (found in ultimaker cura) into a SG structure
PL2TExpands two HT Matrizes into 8 edges/vertices of the corresponding bar between T1 and T2
SGaddfacetcenterpointscreates additional vertices in the middle of each facet
SGaddsurfpointsadds gridpoints at surfaces and edges at all surfaces
SGanalyzeGroupPartsreturns parts of penetrating solids group colored
SGarrangeSGCarranges all parts of a SG container
SGBBCreates the Bounding Box Solid in the solids frame
SGbearing2012returns a bearing for a joint
SGbendconebends a solid geometry around a conic segment with defined geometry
SGbendingbeates a solid geoemtry on a cylinder or spherical ellipsoid
SGbladeofCVLreturns a solid for an almost planar CVL the closing facets
SGbladeofPLreturns a solid with a shape of a cutting blade in z direction
SGboreholemountingpostreturns a base plate and housing for mounting printed circuit bards
SGcapsulatecapsules a solid including alignment
SGcell2arrayconverts a cell list of solids into a struct array of solids
SGcell2SGconverts all cells into one solid geometry
SGchamferchamfers the edges of a 2.5D Solid Geometry
SGcolorcopycopies facet colors of a reference solid to a requreste
SGcolorfacescolors the faces of a solid
SGcolorseparationreturns a cell list or SG separated by colors
SGconnectreturns a profiled contour rod between the centers of two solids
SGconnect2FSreturns the connecting straight solid structure between two surfaces of two solids
SGconnect2Treturns a Bezier contour based connection between two solids geoemtries
SGconvexHullreturns the convex hulls of a solid geometry
SGconvexHullslicedcreates a high resultion fittin convex contour in xy and a sliced on in z
SGconvexhullVLcreates the convex hull of a cloud of vertices
SGconvexHullXYZcreates a convex solid by the intersection of the three projections in X Y Z
SGconvexofSGintersectreturns a solid to intersect or subtract
SGcopypatternXYZreturns a cell list of xyz copies or a fused solid of SG
SGcopyTLcopies a solid using a cell list of frames
SGcopyVLreturns a cell list of copies or a fused Solid of SG an positions of VL
SGfusedoubledverticesfuses vertices with similar positions, shortens the VL, but the number of facets remains unchanged.
SGgrowreturns the same solid by with increased dimensions
SGhollowsolidreturns a copy of the solid with thin walls at an optional distance
SGlinkreturns a structural link between two solid geometries
SGlinkstraightreturns a solid link between TA and TB
SGlinkwallreturns a solid geometry of a plain wall and attaches it to a solid geometry
SGnegativeformcreates from a solid a negative form with specific features
SGof2CPLszreturns a solid defined by 2 contours and height
SGof2CPLTLcorrelatecreates a solid between two vessel structure CPL
SGof2CPLzreturns a solid defined by 2 contours and height
SGof2CPLzbranchCreates a Solid for an 1:n or n:1 solid branch
SGof2CPLzcorrelatecreates a solid between two vessel structure CPL
SGof2CPLzheuristEXPERIMENT to show the connection of two contours
SGof2CVLreturns a solid that closes two
SGof2Dfunccreates a surface or a solid of a 1D or 2D fnct
SGof2SGTCreates a solid between two solids with frames
SGof2TCreates a solid geometry between two frames
SGofBBreturns a solid for a bounding box
SGofBBuiinteractive mode to create a bounding box of the current camera view and 2 mouse clicks
SGofCPLbendonadrumbends a CPL pattern into a cylindrical body (slowly) or rolls it onto a drum
SGofCPLextrudereturns an extrudes solid mainly the same as SGofCPLz
SGofCPLextrudealongCPLextrudes a contour ([x z]) along a 2D-contour [x y]
SGofCPLrotreturns a solid geometry from of a z-axis rotated closed polygon list
SGofCPLrotareturns a solid geometry by rotateing a closed x z contour around z axis
SGofCPLspherereturns solid geometry of a wrapped shell
SGofCPLTreturns a extruded SG from a CPL and a final T matrix
SGofCPLtransTreturns a solid from a 2D contour and a list of frames
SGofCPLzreturns a 2½D extruded Solid volume from a contour polygon list (CPL)
SGofCPLzchamferreturns a solid with chamfered edges
SGofCPLzcontourextrudes a CPL into a Solid Geometry modifying the CPL along z using a contour shape
SGofCPLzdelaunayGridreturns a solid from a contour polygon list and grid resolution
SGofCPLzfillgaphullextrudes several regions without subregions into one region
SGofCPLzrotxyrotates a CPL and extrudes in z
SGofCPLzseparatedcreates for each closed contour of a CPL an individual solid with an individual height
SGofCPLztwistCreates twisted solids from a CPL and a turning angle
SGofCVLzreconstructs a solid from a CVLZ list
SGofCVLzconvexhullfillgapreturns a convex solid based on CVLzconvexhullfillgap
SGofFloorplancreates from solid geometry of floor plan
SGofFSreturns a list of solid geometries that are attached to features surfaces
SGofgcareturns the solid of the current figure
SGofGeoTIFFcreates a solid geometry from a depth image
SGofgoreturns handle and surface arrays of a graphics objects
SGofpatchreturns a SG from a patch
SGofSGconverts cell list of solids into a solid struct
SGofSGTsurfacereturns the flange surface for a given T matrix frame name
SGofsmbFullModelSimulationreturns a solid geometry for an arbitrary time value of a simulation
SGofSurfacereturns a fitting solid relativ to a surface
SGoftextreturns a solid for text optional bended
SGofVLdelaunayreturns a convex delaunay triangulation
SGofVLFLreturns a solid geometry from a vertex list and a facet list
SGofVLFLSGcreturns only the Solid Geometry of structs, Solid, Vertex or Facet list
SGofVLFLzreturns a fitting solid based on a surface, i.e. simplified version of SGofSurface
SGofVLtransreturns a convex solid for a transformed vertex list
SGpuzzlecut3Dcreates from a large solid geometry smaller printable parts
SGreduceVLFLreturns a solid with reduced
SGshortreturns a new SG with may be shorter VL and FL
SGspherereturns a spherical SG with minimal nr of points
SGstacknreturns stacked solid geometries
SGstretchingcuts a solid geometry in x and stretches in x
SGtextreturns a SG that does fit on the surface on another SG
VLBeziernoosereturns a Point list of a noose as link between 2 points with a desired spring length
VLELcorticalisgenerates vertex list and edge list to connect two contours
VLELcorticalis2generates vertex list and edge list to connect two contours including additional shells
VLFLbar2Pcalucates a bar between two points, considering an optional 3rd point to define the x-axis
VLFLboxTreturns a box at a predefined position
VLFLcapreturns a tube covered with a cap
VLFLcharreturns vertex/facet list for some characters
VLFLcloseCloses an contour right hand with an optional second contour
VLFLclose3DCSolid procedure to generate facets for ONE closed contour
VLFLcloseCSolid and fast procedure to generate facets for ONE closed contour
VLFLclosurereturns a surface in which the solid can be pushed in from z-direction
VLFLcoatPCVLreturns coat and covers for vessel contours
VLFLconereturns vertex list and facet list for a cone solid
VLFLconnect2VLELreturns the facets of the outside wall of a tube between to Contours
VLFLcontourtubereturns VL, FL of a contour profiled tube along a path in space
VLFLcreateblockreturns a solid block model in the x/y plane
VLFLcreatecrossreturns a solid cross model in the x/y plane
VLFLcreateframereturns a solid frame model in the x/y plane
VLFLcreateLogocreates a 3D solid volume logo with a text string
VLFLcreateshaftreturns a solid shaft model in the x/y plane
VLFLcylindercalculates vertex list and facet list for a cylinder
VLFLDelaunayVLELcloses a surface by tesselation of triangles using Delaunay
VLFLdomereturn VL and FL of a dome
VLFLdovetailgenerates groove and tongue of a dove tail
VLFLellipse1returns a vertex list and a facet list for a defined tube geometry
VLFLellipse3returns light weight structure of a closed sphere or ellipsoid
VLFLgearreturns the vertex/facet list for the gear teeth of an internal or external gear
VLFLgearhub4shaftreturns the vertex/facet list of a gear hub for a specific gear shaft according to DIN 5480-1:2006-03)
VLFLgrid8Preturns a vertex/facet list of a grid structure connecting a list of 8 Points
VLFLgrid8P2returns a vertex/facet list of a grid structure connecting a list of 8 Points
VLFLgridPgenerates a grid object given by the size and grid thickness
VLFLjointR1returns vertices/facets of a revolving joint
VLFLmotorBodySocketreturns the vertex/facet list for a body socket of a servo motor
VLFLmotorRodSocketreturns the vertex/facet list for a rod socket of a servo motor
VLFLofCPLzreturns a 2½D extruded Solid volume from a contour polygon list (CPL)
VLFLpostreturns VL and FL of a hollow post
VLFLpprojectPLreturns the surface of a parallel projection of a contour
VLFLpprojectPLELreturns the surface of a parallel projection of a contour
VLFLringreturns vertex list and facet list of a ring
VLFLspringreturns vertex/facet list for a mechanical spring
VLFLstarreturns a structure of several independent objects that can combine an inner and a outer structure
VLFLstarlinkreturns a structure of several independent objects that can combine an inner and a outer structure
VLFLtetrareturns a simple tetrahedron geomatry
VLFLtextreturns vertex/facet list for a text string
VLFLtextattachVLULreturns a string as VLFL list positioned at the center of a specified union
VLFLthreadgenerates a screw's thread
VLFLthreadnutgenerates a screw nut's thread
VLFLweavereturns the vertex list XVL and facet list XFL of a weaved rectangle
VLFLyarncalculates vertex list and facet list for a wire-yarn
VLlink2Preturns links of special shapes between two points in 2D.
VLunite2Creturns for 2 contour lines from inside2C the united vertex list

SimMechanics - List of functions

getCurrentPointthis fnct returns the currentPoint but also the axis limits
SGmodelLinkSG of a cylindric rod
SGmodelLink1SG of a cylindric rod
SGmodelMasscreates a mass point including 2 frames
smbAddBlockAuxiliary fnct to create Block for Simulink/SimScape
smbAddFrameSimMechanics creates a Rigid Transformation Block
smbAddFrameSensoradds s subsystem that records the frame movement
smbAddLineSimMechanics creates line between block ports
smbConvertSubsystemSimMechanics converts blocks to a subsystem
smbCopyConnectionssmb copies all existing conntections of a block to another
smbCreateBlockConstCreates a block with a constant value
smbCreateConnectionadds a connection line between 2 blocks.
smbCreateDriveSimMechanics adds a position control block to an existing joint
smbCreateJointcreates a joint block in the actual system
smbCreateSGSimMechanics creates a subsystem for a Solid Geometry
smbCreateSGJointCreating a Subsystem for a 3D Printable Jint
smbCreateSGMasssmbcreates a double mass model with random inertia and point mass
smbCreateSGNodecreates a fixed node in SimMechanics
smbCreateSineWaveCreates a Cosinus Wave as Simulink Signal
smbCreateSpringsmb creates a spring damper link between two point masses
smbCreateStopJointCsmb creates a joint with limits (fixed boundaries)
smbCreateStopJointRsmb creates a joint with limits (fixed boundaries)
smbCreateSubsystemSimMechanics creates and opens a subsystem
smbDeleteDriveSimMechanics removes the drive block of a joint
smbDeleteUnconnectedLinesremoves unconnecte lines in Simulink/SimMechanics
smbDrawNowshows a snapshot of the simulink/simscape diagram
smbFilenamereturns a temporary filename or directory
smbfindPMIOPortfinds and renames the SimScape PMIOPort of a subsystem
smbFullModelSimulationreturns a SG configuration at a given time
smbGetAllLinesreturns a connecting list of Blocks an Port
smbGetAllPortsSimMechanics returns the port of block
smbGetBlockInfoAuxiliary fnct to get information on simulink/simscape structures
smbGetConnectedBlocksreturns a list with connected blocks of a block or system
smbGetLibraryPathreturns for a simulink/simscape block the library path
smbGetPortofFramereturns the subsystem Port for a given subsystem Frame
smbGetPortsSimMechanics returns the port of block
smbGetSubSystempathsmb returns the filepath of the current block
smbhelpThis fnct is intended to provide a quick and efficient introduction to the programmable interface of simulink and simscape.
smbLogOutputPortactives a Blocks's Output Port for Data logging
smbNameofPortreturns the Connection of a Port
smbNewGridPosreturn grid positions for new blocks
smbNewLineRoutingsmb reroutes the lines in the existing image
smbNewSystemSimMechanics creates an empty new system
smbPosgcbsets the gcb to predefined position
smbPSBlocknamereturn the name of a block realtive to Library
smbPSLibCompilecompiles the PS Library in the current smbPSLibname
smbPSLibCreateBlockWrites the code of a block as .ssc file
smbPSLibInstallInstalls a collection of additional blocks
smbPSLibnamereturns the name a SimMultiBody Library Directory
smbSetJointInputTorquesmb changes a joint actuation to InputTorque
smbSetPositionSets Position Size Orientation of Blocks
smbSetRotationMatrixSets a Block Rotation Matrix
smbSetSimulationtoleranceability to change the Simulation Tolerance for smbSimulate
smbSetTransformationMatrixSets a Block Transformation
smbSetTranslationVectorSets a Block Translation in mm
smbSGtransPMoves a SG without changing the
smbshowshows the system/subsystem diagram of the current block
smbSimulatestarts the simulation of simscape multibody root
smbSysPortLineTableSimMechanics returns the block and ports and line tables
smbTofSimOutreturns T matrix and Time from a simulation
smbVideoSimulationcreates a video an shows the title in a figure
smbWhichreturn the full path name for a given block name
smlArduinoexamplecreates a servo motor simulink model for stand-alone application on arduino
smlDeletealldelete all lines and block of a block diagram
smlhelpsimply open the help page for programmatic model editing
smlNewSystemopens a new simulink sheet - overwrites an exiting one

Spatial Relations - List of functions

CPLtransformfinds contours inbetween two sets of CPLs => CVLof2CPLzcorrelate
CPLtransrelCPLrelative transformation of CPLs
CPLtransrelTtransform the pose of a CPL from one coordinate system into another
PLtransmulti transformation modes for a point list
PLtrans0returns an origin centered point list
PLtrans1returns a point list moved into the first quadrant
PLtransCrotates a point list around a center
PLtransformtransforms ONE PL into another PL
PLtransPreturns a translated point list
PLtransRrotates all point of a point list
PLtransTrotates and moves a point list nx2
SGcentercenters a solid on the x y or z axis
SGtransmulti transformation modes for a solid geometry
SGtrans0moves a solid geometry (or a list) into the origin of the coordinate system
SGtrans1moves a solid geometry (or a list) into quadrant 1 of the coordinate system
SGtransPmoves a solid geometry (or a list) relative using a translation vector
SGtransRrotates a solid geometry (or a list) relative using a rotation matrix
SGtransrelreturns a spatial transformed solid using SGtransrelSG
SGtransrelSGchanges position of a solid relative to another solid
SGtransrelTtranforms a solid relative to known one
SGtransTtransformats a solid geometry or list using a homogenous transformation matrix
SGTtrans0move the center of the solid into the origin of the coordinate system
Ttransrellanguage based fnct for spatial arrangement of frames
TtransTreturns a matrix multiplication of a (list of) homogenous transformation matrix
VLswapXreturns a 2D or 3D point/vertex list, mirrored at the x-Axis
VLswapXYx-axis becomes y-axis of a VL (z-rotation by 90 degree)
VLswapXZx-axis becomes z-axis of a VL (y-rotation by +90 degree)
VLswapYreturns a 2D or 3D point/vertex list, mirrored at the y-Axis
VLswapYXy-axis becomes x-axis of a VL (z-rotation by -90 degree)
VLswapYZy-axis becomes z-axis of a VL (x-rotation by +90 degree)
VLswapZreturns a 2D or 3D point/vertex list, mirrored at the z-Axis
VLswapZXz-axis becomes x-axis of a VL (y-rotation by -90 degree)
VLswapZYz-axis becomes y-axis of a VL (x-rotation by +90 degree)
VLtransreturn similar to PLtrans or SGtrans a transformed VL
VLtrans0moves an object into the origin of the coordinate system
VLtrans1moves an object into the first quadrant
VLtransNreturns a relative to normal vectors transformed vertex list
VLtransPMoves all points of a vertex list using a translation vector p
VLtransRtransforms all points of a vertex list using a rotation matrix
VLtransTreturns a transformed Vertex list

Surfaces - List of functions

SGcut2Tcuts out the SG that is below frame T1 and frame T2
SGcutBBcuts out a bounding box from a solid
SGcutendreturns a cutted object that is cuttet related to the BB
SGcutrecursivlycuts a part recursively into pieces until it fits a maximum dimensions
SGcutTcuts an object below a arbitrary plane using SGcut relative to the center of floor of bb
SGcutTcrossbladeremoves a part out of a solid
SGcutTcylindricbladeuses a cylindric blade to create joint as part of a solid
SGcutTinsertpinsseparates a solid similar to SGcutT but inserts connection points
SGcylinderreturns a simple cylinder
SGdemouldingCreates demolding chamfers for cast objects
SGdumbbellreturns the shape of a dumbbell
SGeggreturns the Surface Geometry of an egg based on an evolvente
SGextendjust extends the solid in one direction
SGfacenumreturns the number of facets of a solid geoemtry
SGfigureInteractiveSortfnct to sort surfaces into two independent solids interactevely
SGfindjointDoFofSGtry to find the DoF between two solids
SGflipreturns a SG with inverted facets - same fnct as 2014-11-30
SGgrowoutsideFSgrows only the outside feature surfaces of a solid
SGgrowVLFLfimoves facets of an indexed surface along the normal vectors
SGgyroidcreates a gyroid shape solid
SGhook4railreturns a solid for a rail hook looking to face
SGhotrodCarbodyreturns different SG of the Hotrot projects
SGinsertCutreturns a solid with an inserted cut
SGinsertJointcreates joint structures inside of a solid geometry
SGinsertPegholereturns a solid with an inserted peg and hole connector
SGinsertTslicefnct that inserts required slice points into a surface before a stretch
SGintersectFacetPointscalculates a list of crossing facet pairs and crossing points of 2 solids
SGisconvexreturns whether a solid is convex
SGisemptyreturns wether a solid is empty / has not faces or not
SGisidenticaltry to compare two solids to find equality as fast as possible
SGisInteriorreturns the isInside Flag for a SG and a VL
SGlevelheightchanges the height of a solid depending on the x/y coordinates
SGlimcompresses the vertex coordinates outside a limit without changing the VL or FL
SGmirrorTxymirrors a solid at the xy plane of a HT matrix
SGmodelORreturns solid model of OR device models
SGnearestpointsofSGreturns the nearest vertices and facets of two solid geometries
SGof2CPLtransition4FDMcreates transition solid to avoid support structures for FDM printer
SGofCPLcontourextrudes a CPL as cross section contour along another CPL as extrusion contour
SGofCPLhatchcreates a solid using CPLhatch
SGofCPLreinforcementcreates edge reinforcements based on a CPL
SGofCPLTLextrudes a contour along a path given by TL
SGofCPLzgridcreates a Contour by extrusion using a z coordinate list
SGofCPLzgrowcreates solids with radial changing contours
SGofCPLzradialedgesimilar to SGofCPLzchamfer
SGplatesofSGMLconverts a solid into a plated solid
SGplotcellplot a cell list solid in different colors
SGplotpartsplots the overlapping parts of a solid separately
SGplugofSGTcreates a plug for an SGT
SGpunchTCPLfirstwallpunchs from a frame or from an outside poit a hole with a CPL into the first wall
SGpunchTCPLthroughpunching: shoots a contour through a solid
SGradialCornersshould breaks corners and edges of solids
SGremedgepointsreturns a surface model without edge points on straigt lines, but with surface points that are inside
SGremimprintremoves engravings on a defined feature surface
SGremsurfedgepointsreturns a surface model without edge points and surface points that are inside of a surface
SGremsurfpointsreturns a surface model without surface points that are inside of a surface - boundary/edge points are unchanged
SGrepairFLsimplereturns a solid with closed FL of the simpliest condition
SGrotateservoturns the SG of a servo motor to an upright position
SGscale2dimscales a solid to fit into a box with given dimensions
SGselectselects solids from a cell list using a command language
SGselect3dPLsimilar to select3d cals nearest point and vertices but for any fiven point
SGselectGroupofTreturns the part of the solid that contains a point, or a frame center
SGseparatebyPezsearches infront and behind a ez vector for surfaces
SGseparatebyTseparates a solid into surfaces that are clearly below or above of a xy-plane
SGservoshaftseparates Solid Geoemetry of Servo and Servoshaft
SGshearingshearing or bending of a Solid Geometry
SGshrinktofitreduces the size that the solid fits into a bounding box
SGsortcollBBreturns a collision index list of all SG in the SG cell list
SGsortcollVLFLreturns a collision index list of all SG in the SG cell list and considers all VLFL
SGsortcollVLFLBBreturns a collision index list of all SG in the SG cell list but considers the BB of VLFL
SGsortfitinBBreturns a fits-in index list of all SG in the SG cell list
SGsortisinsideBBreturns a fits-in index list of all SG in the SG cell list
SGspherelinkreturns a spherical link
SGstentPeterEwert01Solid Geometry of a Stent for Peter Ewert
SGstentradsymcreates a radial symmetric stent geometry based on a given streching ratio
SGstentVeitPhillipMohamadAbdelhafezSG of a silikon stent using the deisng rules of Veit Phillip and Mohamed Abdelhafez
SGstrechezstreches Objects along an axis to fit intervals or positions
SGsurfacehistogramplots a surface area histogram of selected surfaces
SGsurfacesreturns a cell list of separated CLOSED surfaces similar to SGseparate
SGsurfaceselectreturns an isolated surface from a solid or SGofgca
SGsurfacessortsorts the independent surfaces of a cell surface list
SGsweepTprojsweeps the outer contour of a solid to create a swept solid
SGTconnectconnects the geometries of two solids based on surfaces that are identified by frame names
SGTdrilldrills a contour hole into a solid geometries frame
SGtextstampadds a textstring on the surface
SGtextTUMreturn a solid for the TUM logo
SGTframeplotplots one ore more frame of a solid
SGTplotsimply plots solid including frames
SGtrapezoidcreates trapezoid pins for moulding forms
SGtubeSimplified version of SGplugintube
SGuniquesurfacesreturns unique surfaces from a solid geometry
SGvaryfromsimply adds small values in a determinstic way to the vertices of a solid
SGvenacavainferiorringcreates a ring for the Vena Carva Inferior
SGvertexongridreturns a solid geometry with all vertices set to a grid
SGwatertightofSGreturns within 60 seconds a watertight reconstruction
surfacesofSGreturns all feature surfaces (open boundaries) that have a limited angle between their normal vectors
TofVLFLcreates a T vector for surface
TRofCPLjust returns a 2D triangulation
vertexNormalbyFNcalculates the vertex normals based on the facet normals
viVLFLnearestneighborVLreturns the vertex indices of the nearest neighbors of a Vertex list
VLDLBBofVLFLFundamental fnct to return for a facet list the vertex coordinates, the edge vectors, and the bounding box of the facets
VLFLaddfacetcenterpointscreates additional vertices in the middle of each facet
VLFLcircFLedgesmodifies the Facet list by circulating rows to minimize the distance P2-P3.
VLFLcolcat2Same as VLFLcat2 but including colors
VLFLdeleteFLofviremoves the faces that belongs to a specific vertex
VLFLfaceneighborhoodreturn the neighbors and the neighbor neighbors
VLFLfaceneighborswapshows what happens if a triangle-pair is swapped
VLFLfreeboundaryreturns the freeboundary of a solid
VLFLfreeboundarycircshiftchanges Vertices or Facets to achieve a free boundary rotation
VLFLfreeboundaryfacetsreturns the facets attached to the freeboundary edges
VLFLinsertFacetPointsThis fnct retesselates all surfaces of a solid by inserting points into existing facets
VLFLofCPLreturns the vertex and facet list from a closed contour list
VLFLofCVLdelaunay2Dreturns a triangulation for an almost planar CVL
VLFLofCVLdelaunay3Dreturns the top and below tesselation for ONE closed vertex list which cuts a convex solid into two parts
VLFLofSGreturns one vertex list and one faces list for nested SG
VLFLofSGTreturns the VL and FL of the surface related to a fram
VLFLofSurfreturns a vertex and facet list from a surf handle
VLFLofVLELdelaunay3Dreturns the top and below tesselation for ONE closed vertex list which cuts a convex solid into two parts
VLFLoppositefacesreturns the list of faces that have opposit facets in the same solid
VLFLoptimizeFLWezfinds the surfaces correlation that creates the largest volume
VLFLplotfacetsplot a facet list as separate independent facets
VLFLregionsfnct to separate regions in face index list
VLFLremoveFacetremoves a single facet from a surface
VLFLremoveIntersectFacetsremoves intersecting facets from a VLFL surface
VLFLremovekinksremoves kinks after SGofCVLz
VLFLremsmallfacetsremoves small facets from an open surface
VLFLremsurfedgepointsreturns a surface model without edge points and surface points that are inside of a surface
VLFLremsurfpointsreturns a surface model without surface points that are inside of a surface - boundary/edge points are unchanged
VLFLsmoothboundarycreates facets to smoothen or closing open boundaries without adding points
VLFLvertexongridreturns a solid geometry with all vertices set to a grid
VLisInteriorofBBlistreturns for a list of Bounding Boxes and a single vertex the BB that contain the vertex
VLof2VLnonmanifoldreturns vertex list and indices of non manifold vertices on TWO DIFFERENT vertex lists
VLofSGnotreferencedreturns the logical index of vertices that are not referenced in a triangualtion
VLofVLFLselfIntersectionreturns the self intersection crossing points of a Surface
VMdistancetoSGCreates a Voxel model with distance values from the surface

Symbolics tools - List of functions

solveequationsreturns the symbolic solutions for a give set of equations - What we learn in math
subsvarreplaces several symbols in an equation
symbforwkinereturns a forward kinematic calculation from a symbolics links list description
symfun2symconverts a symfun into a sym (=command formula)
symfunchngchanges the parameter of a given equation
symfunparamreturns individualized string for symbolic parameters and definition
symsofequationreturns or defines the symbols of a equation system

Text/Strs/Chars/Links - List of functions

backspstrreturns a backspace character string to remove the given string
cell2strlinesconvertes a cell list fo string tinto a single string line
cellstrfindreturns the position of a string in a cell list of string
containscellfinds a string segment into a cell list of strings
datestrromanreturns a datestring as roman number
evalhyperlinktabevaluates an hyperlink text input from a table
fprintfvecauxiliary fnct for writing ALL vector elements in ONE SINGLE row!
fprintfvec2prints vectors in a way that it can used in code generation
hexstr2strconverts a uint8 string into a hex string array
hexstr2uint8converts a hexadecimal string into a uint8 array
num2strCNTcreates numberstring including addition zeros
num2strUPcreates a string containing a unit prefix
numofstrtabreturns a row number of a cell list of strings
parsedatestrparse a datestr and returns the corresponding datenum and datestr
siri2jarvisconverts spoken or written natural language sentences into a simple grammar
sprintfhyperlinktabcreates a hyperlink text string from a table
sprintfilehyperlinkcreates a string containing two hyperlinks to open an file
sprintftextcreates as simple as possible a string for design parameters
sprintfvecprints vectors in a way that it can used in code generation
sprintfvecUPstring format for engineering applications
str2codelinescreates from long string, several lines that can be used as matlab code
str2hexsstrconverts a uint8 string into a hex string array
str2numendsWithreturns the number that are part of in a string
strbreaklinesBreaks a text string into paragraphs of a maximum number of chars per line
strcounterdetects an integer number at the end of a string and increments it
strfind2doublesearches for pattern in char string and returns the next value as double real
strfindafterfinds text between start tokens and endtokens
strfindtagreturns a string after a search string
strhyperlinkreturns a simple html hyperlink text for fprintf
strhyperlink2strseparates hyperlinks into real text and a list of keywords plus a list of urls
stringfnctresultcreates the cell list of output parameters of a batch call
strrepaliasreplaces a set of similar words by a specified one
strrepmatlab2asciiconverts text lines from the matlab editor to ascii text
strrepnreplaces several string elements by using strrep
testparsingperforms an interactive test parsing of a grammar fnct

TR/Tetrahedrons - List of functions

FLfreeboundaryTR4FLreturns the freeBoundary facets of a tetrahedron
FLofTLreturns all facets of a tetrahedron list
SGofVLalphaShapereturns the alphashape of a vertex list
SGtetrameshcreates a tetramesh of a Solid Geometry
TLFLneighborsreturns the vertex indices of a tetrahedron list that are the attachments to th facet list
TLFLneighbors2returns the vertex indices of a tetrahedron list that are the attachments to th facet list
TLofFLconverts a planar facet list into a 2.5 tetrahedron list
TR3ofSGreturns the triangulation for a solid gemeotry
TR3ofTR4returns the surface triangulation of a tetrahedron
TRcatreturns a concatenation of tetrahedron solids without any checks
TRofCPLzreturns a valid tetrahedron representation of a solid
TRorderreorders the tetrahedrons to individual solids
TRplotplots a tetrahedron triangulation similar to SGplot
TRselectreturns a reduced tetrahedron triangulation for a given tetrahedron list
TRuniquereturns a tetrahedron triangulation with unique Points
VLELofTRreturns the edge constraints of a triangulation
VLFLofTRreturns the freeboundary surface of a tetrahedron or the surface of a triangulation
VLTLplotplots a tetrahedron list as one volume or as separated tetrahedrons

Tutorial - List of functions

AIM_NavCarmCreation of Pictures for a Navigation C-Arm scenario
AIM_NavEndoCreation of Pictures for a Navigation C-Arm scenario
HELP_SGLIB_AutomaticDesignofConnetingSolidsBasic tutorial for the SG-Lib on designing solids to connect to points/frames,surfaces
HELP_SGLIB_AutomaticLinkJointConnectionBasic tutorial for the SG-Lib on designing screwed assembly connnections
HELP_SGLIB_BooleanConcatenationofSolidsBasic tutorial for the SG-Lib on merging an fusion of solids
HELP_SGLIB_ClosedContoursPolyboolPolyshapeBasic tutorial for the SG-Lib on the foundations of closed contours for surface design
HELP_SGLIB_DatatypesBasic tutorial for the SG-Lib on data types and abbreaviations
HELP_SGLIB_DesignofRobotArmsBasic tutorial for the SG-Lib for designing robot arms with serial kinematics
HELP_SGLIB_RelativeSpatialRelationofSolidsBasic tutorial for the SG-Lib on relative spatial relations
HELP_SGLIB_Simple3DextrusionfromContoursBasic tutorial for the SG-Lib on creation on solid body geometries from extrusion of contours
VLFL_EXP20Tutorial for creating SIMSCAPE/SIMMECHANICS diagrams from solid body geometries
VLFL_EXP21Creates a 4-bar-Linkage and Drives it actively
VLFL_EXP23Tutorial for automatic design of SG aut of simulation date
VLFL_EXP26Tutorial for using universal planar links
VLFL_EXP45Tutorial to demonstrate the power of SGofCPLcommand
VLFL_EXP46TUTORIAL 46 - Publishable Tutorial for creating a planetary gear using SGofCPLcommand
VLFL_EXP48This is a Tutorial to understand different types of transmission gears
VLFL_EXP49Tutorial to understand different types of transmission gears
VLFL_EXP58TUTORIAL to download STL files with the surface model of a human
VLFL_EXP59Publishable tutorial how to use the fnct SGcutTcylindricblade
VLFL_EXP60This is a Tutorial to understand different types of transformation and surfaces
VLFL_EXP69Tutorial on designing a 4-link linkage for a hook attachment (approx. 1 minute)
VLFL_EXP70Tutorial to show how to design walking machines in different design types
VLFL_EXP71Tutorial for creation a fourbar linkage that follows a line

USB Interface - List of functions

LaserInitInitializes the USB-Serial Port and Requests Data from the Leuze Scanner
sbuffercreatecreates a struct buffer for async read/write
sbuffergetreads bytes out of a struct buffer
sbufferinforeturns information on a struct buffer
sbufferwritewrites bytes into a struct buffer
SCavailablereturns the list of serial communciation interfaces on OSX
SCtesttests a serial communcation line on apple osx
serialportusedreturns the ports that are in use already
SGmicroscopeclampdelivers a spare part for a typical USB microscope camera in 2020
smlArduinohelphelp to connect an arduino to matlab since 2018b
USBhelpHelp text for the use of USB serial communication on MAC
USBpololuUSB-communication with a Pololu Maestro Controller (Dual-Port Mode)
USBsearchsearches for specific USB serial devices on a MAC

User interface - List of functions

axis4mathsets axis for mathematical fncts instead of solid geometries or CPLs
BUYballbearingreturns a list of buyable and used standard parts for ball bearings
camsetsets the camera target to inspect a specific target point
CATIAbackgroundjust switches to colors similar to CATIA
colrmapgenerates a colormap using a RGB profile
copyfigcopies a axis diagramm into a new MATLAB figure
copygocopies graphics objects of a type list from an axis similar to findobj and copyobj
copyplotcopies the content of one figure into a random one
CurrentPointofgcaBBreturns for a given coordinate and the current camera position the CurrentPoint result of a virtual mouse click
deployTLProcedure that explains how to install the application deployment tools
editorwindowopens the last file modified file in the editor window
findingcaselect graphics objects of a specific type
fiofselect3dSelect interactively FS, surface, and complete solids
FLselect3Dginputselects a point in the gca and finds the facets in a surface
fontsizesets the font size of all text to a specified figure
fullviewmaximize current figure to maximal height og the screen
gcoofTreturns the crossing points in the current set of graphics objects
getgcapixelsizereturns the position of the gca in the current figure
getkeyboardcharwait for keyboardkey pressed
getkeyboardcharpausefnct getkey for figures if rotate3d is on - and the callbacks are blocked
getkeyboardchartimerfnct getkey for figures if rotate3d is on - and the callbacks are blocked
ginput2Dcirclereturns by user interaction center and radius of a circle
ginputTLprocedure similar to ginput
googlejust searches a string at google.com
hideingcasimply hide (set visibiliy to off) or delete graphics objects of a specific type
iconfilesearchsearches and shows in the original matlab directories for icon files that contain a string term
iconlibTLreturns an icon for the use in userinterfaces
immeasureuiuser interface to measure distances within an image using mouse clicks
imreaduireads an image file and opens dialogs to clip and scale the image
imwarpTwarps an image related to a give transformation matrix
jarvisNatural Language Interface JARVIS
jarvisdictionaryreads writes a excel sheet containing string to replace and code to execute
jarvismemorysets or gets a pose from jarvis / fourbardesignbysiri
jarvisunitsparses the list of arguments, try to interprete last argument as unit
keyboardlineeditorimplements a text editor for interactive programming
lastcommandlastcommand searches in the command History
matlabopenopen the matlab application on mac
mimedserverAccess to the TUM MIMED Server through samba and mwn webdisc
mimedserver2webdiskCreates a mwn webdisc link for a file or folder
nofcolmapreturns a number instead of a color string and support more colors than colofn
papermoderemoves picture title and increases font size for publications
pastegoinserts graphics objects into the current axis gca
patchofgcareturns the handle to all patches of the current graphics axis
patchofSGcreates a patch struct of a solid geometry
pixelofaxisreturns the axis position of the current axis in the figure
pixelpositionofPreturns the pixelposition of a point coordinate
PLofhandlereturns the point list of different graphics objects in gca
plotannotatecolorsreturns an annotation string from plotannotation
plotannotationplots a annotation box (per default into the right upper corner) of a plot axis
plotannotationdeletedelete plot annotation
plotannotationtopleftshows an annotation in the left side of the axis
PLplotlinesegplots a line using PLplot in distance separated segments
pofselect3Dreturns touch point, solid, handle normal vector etc.
readkeyboardcharreads a single keyboard key or returns empty
Rofview090returns the rotation matrix to rotate the object into a view direction
rotateazimutcallback func for figure-azimut-rotating by wheel
screencapturereturns the full screen as frame, i.e. also confidential inforamtion in other applications
screencaputureofcommandwindowreturns the screenshopt of the command window
select2dinteractive drawing of a square and return of the overlapping elements
selectCameraPositionselects and sets the camera position
selectsubplotinteractively select a subplot
selectV3dplots a SG in a figure and shows selected normal vectors of a selected corner
SGButtonDownFcnCallback Fnct for current axis and all polygons inside
SGfigtrans0moves all parts of the current axis into the first octand
SGfigureannotationcreates a simple help text annotation into the current figure
SGfigureevalexecutes a command line and echos the command in SGfigure
SGfigureInteractiveMoveInteractive moving of patches on the screen
SGfigurepapermoderemoves picture title and increases font size for publications
SGfiguretopbuttonscreates a button row in the current figure
SGgethandlereturns a handle if the object is already drawn in gca
SGhelptextWrites a text annotation box on top of the current axis
SGkeyboardCallbackused as KeyPressFcn-Callback within SG-Library
SGkeyboardgetkeyreturns the last key pressed
SGplotalphaplots a solid support directly color and alpha value
SGplotsurfacesplots closed surface of the solids seperatly in different colors
SGraspberrystarterkitthis file creates documentation for an raspberry Pi 4 startup kit
SGselect3dInteractive slection of a point, vertex, or facet in a axis
SGselect3DsurfaceEXPERIMENT how to select interactively FS, surface, and complete solids
SGTplotalphaplots a solid including all frames and supports directly color and alpha value
SGuiOpens a dialog, reads and plots an STL-File
SGWindowButtonMotionFcnimplements the concept of get(gca,'CurrentPoint') also for rotate3d on
sofgcareturns the pixel resolution of gca
stringparsebackspaceprocesses a char array similar to an input scan process
textadjust2gcaadjust text width to fit in gca
textBBwrites a text at specified position relative to bounding box
textSGcreates descriptors for cells of solid geometries
titleappendappends a string to the gca title
titleofcallerreturns the name of the calling fnct plus date & time as string
Tofcamreturns HT matrix of camera and target for a given camera point, target point, and camera up vector
Tofselect3dSelect interactively FS, surface, and complete solids
Tofviewreturns the Transformation matrix of the camera for a specific view with a change of view
uipolygoncontextmenucreate the ui context menu for polygon
uipolygonmoveWindowButtonDownFcncallback fnct and interactive fnct to move and rotate polygons and to attach ui context menu
uipolygonselectreturns the handles of the polygon near a point or the cursor position
uipolygonSelectWindowButtonUpMAIN CALLBACK FUNCT for a figure to make polygons movable if rotate3d is off
viewVLinspectinspects one by one points of the vertex list
VLFLplotalphaplots a solid support directly color and alpha value
VLFLplotfreeboundaryplots the freeboundary of a solid with grid forced vertices (1e-6)
VLFLplothideselects a patch (VLFL) by ginput and sets it as invisible
VLFLuiOpens a dialog, reads and plots an STL-File
VLplotGraphicsmore generic version of VL scatter
VLwarpgridcreates a meshgrid for warping an image
VMgetSubplotreturns the current active subplot
VMginputreturns a point position by clicking into VMplot
xyzlabelsets or removes the xyz axis labes in 3D plots
zoomVLsimply zooms into a bounding box of the vertex list

Video/Audio/PDF - List of functions

audioeditspokentextthis keyboardbased fnct is to edit spoken text
audioreadTLsimilar to audioread but with sound output after readin
audiorecorderTLrecords an audio sample from a specified device
audiorecorderTLautostoprecords an audio sample from a specified device
audiorecordspokentextrecords a list of sentences an compiles it to a longer text
audioresampleresamples the audiosignal with a different sample rate
audioseparatebreaksseparates an audio sequence of spoken text into breaks
audiotrimtrims an audio signal and adds a short break
audiovocoderchanges the pitch of the signal without changing the length
audiowriteTLwrites an audio sequence with fixed frequency of 44100 Hz
createvideoscriptfnct to create video tutorials of text, videos, figures
imageaudio2videocreates video clips from an image and an audio file with the same name
imageFigureMovieCreates a cell list of frames to write a movie later
imageVideoEndtitlecreates an endtitle image for a video
imageVideoFramesextracts images from a video file
imageVideoImagePagecreates an coyright image for a video
imageVideoTitlereturns a video titel image for a given existing video
imageVideoWritewrites an image several times into an open videostream
soundTLsame as sound by support audio output devices
videoCopyCutMoviescopies part of a video and creates titles and end title
videoCopyFramescopies the frame from Videoreader to Videowriter
Videoquickanimategorotates a set of graphics objects around axis in different speed radios
VideoquickcloseandopenSimple concept to create videos from figures
Videoquickrotate3Drecords a manual movement of the 3D View using rotate3d by drawnowvid
VideoquickstartSimple concept to create videos from figures
VideoquickwritegcfSimple concept to create videos from figures
Videoquickwritelastcommandwrites in a video the line of the last command
VideoquickwritetextpageSimple concept to create videos from figures
videoWriteClipMoviecreates a video from images and videos without sound

Visualization - List of functions

animategorotates one or several objects in a loop
apptogglelighttranstoogles thes VLFLplotligh status from facets to light
axesofgcfreturns the handles to the axis
axis4allapplies the commands for axis to all subplots applies the commands for axis to all subplots
axis4animationautomatically increases but never decreases the axis area
axisAIMJust sets some figure values for the AIM Book von Tim Lueth and Mattias Traeger
axisratioreturns the axis ratio x y z
axisscalescales the axis to a defined size
bplotplots grid boxes at a desired position
camanglesets the camera angle and edjust the distance so that there is almost no change in the image
camlightdeletejust removes all camlighs in a gca
camlightTLdeletes all camlights and set three new
camofTset camera to look on a given HT matrix using current zoom
camofVLFLfishows to a specific facet for inspecting a facet of interest
camplotplots a line of the current camera position in the axis
char2rgbreturns a RGB value from a color character
col2RGBgenerates a colorvector from the colorchar
colorgenerates a colorvector from the colorchar
colornamereturns a name for a color string or a cell list of colstrings
cplotPlots a list of circle segments
CPLplotplots a 2D polybool contour polygon in a 3D figure
CPLplotasPSplainPlots each individual embedded CPL as a separate contour.
CPLplothatchedplots a CPL including hatch
CVLplotplots a 2D polybool contour polygon in a 3D figure
CVLplotssimilar to CVLplot but shows optionally the direction of the line segments
CVLplotsurfaceplots a planar CVL as surface
CVLzplotasCPSsimilar to CVLplot but separates the z values just in case somebody forgot nan nan
CVLzplotuiinteractive editor to scroll throu a stack of slices
deleteQuiverdeletes all Quivers (coordinate graphics objects) in the named axes
drawnowvidthis fnct is an auxilary fnct to automate the creation of videos
FEplotplots the featureEdges of TR, SG or VLFL
figcopyrightdraws a copyright marker inside of the current figure
figsizesets the figure size
figureisopenreturns of there is already a graphics window open
figurerotaterotates the current figure to show 3D effects
fontsize4rowsfullHDfont size for lectures and video recording on 25 lines
FSplotplots the featureEdges of TR, SG or VLFL
gcahandleofSGreturns the handle to all patches of gca
gcasnapshotsaves the current figure as JPG-File on the user desktop
gccpreturns cameraposition, cameradirection and cameratarget
gcfSGin contrast to gcf, this fnct returns empty if there is no open window
getframeaxissame as frameaxis but also stores the axis information
im2stereoreturns corresponding points within 2 images taken from different view points
imageofgcareturns the image snapshot of the currect gca
imageVideoTextPagecreates a textpage image for a video
implotplots an image as scaled texture
isSGfigureStopwill be called during animations
lplotplots a straight line between 2 points
lplotsplots a straight lines between 2 point lists
patchupdateSGreplaces an existing patch handle by updated SG
plotannotationSGplots a solid into the upper right corner of the current graphics axis
plotCVLplots facet that is enclosed by the vertex contour list
plotLplots a HT-matrix as straight line
plotruler4SGcreates dimensions on the outside of a geometric body
plotrulerlinedraws an simple ruler between two points in 2D
plotT2Pplots a HT matrix as straight line vector
plotTPplots the basic planes of a coordinate system
PLplotplots a 2D polygon in a 3D figure
PLplotcorrelationsimply plots a point list correlation
popgcfremains only the remembered graphics object in the current figure
pplotpplot shows a 3D-plot figure of a point or a list of points
PSplotplots a polyshape but also a cell list of polyshapes
pushgcfremembers all graphics object in the current figure;
rgb2bgr16converts a RGB 3 x 8 Bit color into a BGR 3 x 5 + 1 Bit = 16 Bit Value for STL attribute by color values
rgb2charreturns a color character from an RGB value
rgbofallreturn all different methods of matlab into a rgb set as type double
rotate3dlightSwitches the automatic camera light conditions on and off
rulerCPLplots ruler for a closed polygon list
rviewRestores parameters of the current figure/View
select3dDetermines the selected point in 3-D data space.
select3dofcamcreates all selectin information for the
setcamangleset the camera angle is set
setcamdirectionsets the camera position without changing the camera target
setcamdistanceThe distance of the camera position relative to the target position is fixed
setcamtargetset the camera target interactively by a mouse click or a point or a frame
setcamzoomzoom by changing the camera view angle;
setplotlightchanges the alpha value of a given graphics object handle
SGanimateSLLLAnimates a set of solids using the SLLL format
SGarrowreturns a SG for an arrow
SGcastplotcreates plots in a cell list wrt to the SGcast type
SGcolorerrorsidea simply to color solids instead of showing the errors
SGfigureApplication for opening and viewing STL Files
SGfigurefooterplots a footer into the window
SGimagingcreates a simulated transparent surface view or slice view
SGofgca2subplotstakes the current gca and creates a cell list of solids/patches
SGofgcfsubplotstakes the current gcf, collects all patches in the subplots and creates a cell list of solids/patches
SGofTgenerates an infinitely small cube (1e-17) at T
SGplotplots a solid geometry
SGplot4plots a solid in 4 views
SGplotcellmultipleCreates a SGfigure and plots all cell elements in different subplots
SGplotgearsplot a gear i predefined colors from blue(1st) to orange (last)
SGplotmultiplecreates a figure and simply plots all solids in a cell aray
SGshowcolorsshows different colors to understand how to set rgb values
showrfreturns or shows only the reverse facets from the current view point
slplotstraight line plot
snapplotsaves the current figure as JPG-File on the user desktop
subfigcreates subfigures on the screen similar to subplot
subplotnumbersimply returns the number of subplots
surfofgcareturns the surfaces (not the patches) from the graphics handel
sviewStores parameters of the current figure/View
tcameraset camera to look on a given HT matrix using current zoom
textCPLplots descriptors for each contour into a figure using text command
textCPSwrites text descriptors to CLPS
textCVLplots descriptors for each contour into a figure using text command
textVLplots descriptors for each vertex in the figure using the text command
textVLFLplots descriptors for each facet in the figure using the text command
textVLFSplots descriptors for each feature surface and the corresponding feature edges
titleprintftextcreates a title based on the parameterlist given by the calling fnct
tlplotplots a line given as HT matrix using t+k*ez
togglefigtoggels the position of the current SGfigure
toggleviewprojectiontoggle view projection between "orthographic" and "perspective"
tplotaxisplots the elongation of the z-axhis of a frame or a frame list
tplotrulerplots a 3D ruler als arrow sequence in a figure
uitogglefigstyleApplication callback procedure for toggeling grid an colors
updategcoupdates an graphics object with new coordiantes
video2animatedGIFcreates an animated GIF from a video file
video2videocreates an AVI in different size and speed from a video file
view4allsets the view angles for all subplots the same
viewsmoothslowly rotates to a new viwe
VLcolgenerates a simple colormap related to the basic Matlab colors
VLELCILplotsplots contours given as vertex list and edge list
VLELplotplots lines given as vertex list CVL and edge list CLL
VLELplotsplots lines given as vertex list and edge list
VLFLcamlightset the current light source on the position of the viewpoint
VLFLELplotplots an edge list and all attached facets of the edges
VLFLfaceNormalplotplots normal vector in appropriate length and writes the name of the facet at the tip
VLFLfigureApplication for opening and viewing STL Files
VLFLofgcareturns the vertex list and facet list of the current figure
VLFLofPatchreturns vertex list and facet list of current figure or the current object
VLFLplotplots a vertexlist and facet list by fill3 in a figure
VLFLplotplots a surface geometry
VLFLplot4plots a vertex/facet list by fill3 in a figure with 4 Subplots
VLFLplotfiplots the scenery around some vertices in unequal scale
VLFLplotlightswitches the light and renderer on for VLFLplots and VLFLplots4
VLFLplotlightoffswitches the camlights on or off
VLFLplotmanifoldplots a the non manifold points, edges, and facets of a solid
VLFLplotsplots an object/solid as shaded or faceted object
VLFLplots4plots an object/solid as shaded or faceted object in 4 views
VLFLshowsimply brings the current figure in the front
VLofgcareturns all vertices of the current figure patches
VLofgcalinescreates a list of vertex points used in
VLOLplotprints one or all surfaces of an object list
VLplotPlots different views of a vertex list (nx3) as contour lines or individual points.
VLplotdelaunaysimple inspection fnct
VLULplotPlots the union list of an object, union face by union face
VMimagereturns three crosssectional views of an image stack (voxel model)
VMplotplots a 3D volumetric matrix in 2x2 view
zoompatchzooms to see all patches of the current figure axis
zoomsubplotopens a figure and zooms the subplot image

VL/Vertices/PC/Clouds - List of functions

FLofVLonsphereprojectionreturns a facet list that is based on alphashape triangulation of sphere projected vertices
PCfindNearestNeighborsreturns for a pointcloud a list of direct neighbors, distances and areas
PCofSGreturns a point cloud from a SG with defined number of points and noise
PCofVLreturns a points cloud including NL from Vertex List
PCplotplots a point cloud or a cell list of point clouds without any registration
PCwriteXYZwrites an XYZ File of Vertices and Normals that is used by Meshlab
PofBBreturns a point relative to the bounding box
VLdownsamplereturns a downsampled vertex list
VLeigenvectCalculates Eigenvectors and Eigenvalues of Vertex list
VLFLselectcrossingfacetsselects the crossing facets of a solid that is crossed by a second one
VLnearestNeighborreturns the nearest points in VL1 to the points in VL2
VLreadPLYreads in a Point Cloud in PLY Format

VLFL/Surfaces - List of functions

delaunayTriangulation2Dreturns a 2D delaunay triangulation for planar surfaces in 3D
delaunayTriangulationONE2Dcreates a delaunayTriangulation of a single triangle avoiding inaccuracy problems
FLofPLELreturns tessellation of a 2D points list and contour edge list
neighborsAngleSurfacereturns connected facets with respect to a feature angle
PLFLofCPLdelaunayGridreturns a point list and facet list for a grid filled contour list
PLFLofCPLpshapereturns a delaunay triangulation based on the 2018th concept of polyshape
PLFLofPLalphashapereturns a facet list from a point list using alphashape
PLFLofVLELdelaunaycloses a planar surface of VLEL by delaunay
SGof2facetscreates a surface consisting of two faces
SGseparateplots or returns sorted surfaces or one surface of a solid geometry
VLFLcatreturns combined solid geometries
VLFLfusedoubledverticesfuses vertices with similar positions, shortens the VL, but the number of facets remains unchanged.
VLFLspherecurvedPLELreturns VL and FL for a sphere-curved surface given by a point list and contour edge list

VM/Voxels - List of functions

cartofvoxreturns cartesian coordinates from voxel coordinates
ELofmatrixneigborscreates a complete edge list for a edgelist 4x4 neighborhood of a matrix
ELofmatrixneigborweightcreates a weighted edge list for a 4x4 neighborhood wrt to weight criteria
GPLnearestpointreturns the nearest point index within a Grid point list
GPLofmatrixcreates for a 2D matrix a grid point list with coordinates
marchingcubesmarching cubes algorithm
matrixplotplots a 2D matrix as grid point list with coordinates
SGofVMdelaunayreturns a surface model for a delaunay reconstructed volume model
SGofVMisosurfacereturns a surface model by the marching cubes
SGofVMmarchcubereturns a surface model by the marching cubes
TR2ofimagereturns a Delaunay triangulation for a grayscale image
TR3ofVMreturns a
VLFLofVMdelaunayreturns a surface model for a delaunay reconstructed volume model
VLFLofVMmarchcubereturns a surface model by the marching cubes
VLofVMreturns the voxel coordinates as point list (can be long)
VLplotvoxelplots a voxel at the position VL
VLscatterplots a vertex list with a corresponding image intensity list
VMaxissimply returns the minimal and maximal intensity values of a Voxel Model
VMcaxisadjustes the caxis of the VMplot diagram
VMcaxis2adjustes the caxis of the VMplot diagram
VMimrot90returns an 90 degree rotated image (nxm) or image stack (nxmxk)
VMintensityscalereturns an intensity scaled voxel image
VMmontageplots all images of an image stack into one figure
VMof2Dprojectionsthis fnct reads in a directory full of projection images and creates a voxel model
VMofSGreturns a voxel model of a Solid Geoemtry
VMofSGweightreturns a voxel model of a Solid Geoemtry using SGweight/SGisinterior
VMofVLreturns a Voxel model from a vertex list
VMplotvoxelsplots a voxel model as transperent cubes
VMpseudo3Dreturns an 2D image of pseudo 3D rendered surface
VMresizeresizes a voxel image model
VMscatterPlots a 3D matrix as particle model
VMwindowplotplots a voxel model using the window caxis fnct
voxofcartreturns voxel coordinates from cartesian coordinates



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