|
|
Utils Methods |
The Utils type exposes the following members.
| Name | Description | |
|---|---|---|
| addElemIDsToCroSecs |
add element identifiers to a list of cross sections
if the number of cross sections is smaller than the list of element identifiers then the remaining
identifiers are all added to the last cross section
in case that there are more cross sections than identifiers the list of identifiers is blown up.
| |
| blowUpT(ListT, DataTreeStructure) |
Copy last element of list so that list has as many elements as there are branches.
| |
| blowUpT(ListT, Int32) |
Copy last element of list so that list has s elements.
| |
| blowUpT(ListListT, T, DataTreeStructure) |
Copy last element of list so that list has s elements.
| |
| capBeamMesh |
connects the vertices at the beams's ends. In case of more than one group the cross section is assumed
to consist of rectangles. in case of one group the cross section is assumed to be round.
| |
| checkTRange |
Check whether all given values are 0 smaller than t smaller than 1.
| |
| convert |
convert fem coordinate system to array of Vector3 (x,y,z-axis in global coordinates).
| |
| crosssectionsPath |
Get the directory name of the karamba3d-cross-sections-folder.
| |
| generateBeamMesh |
Connect vertices of given mesh with faces. Is used to produce meshes for rendering beam cross sections.
Each cross section is composed of groups of vertices. Vertices of different sections need to be connected.
| |
| handleError |
handle an error originating from a FE-model-calculation.
| |
| InterpretLCInput |
Interprets the string input for a load-case name: if it is a floating point number it gets converted to an int.
| |
| karambaDir |
Get the directory name of the karamba-folder.
| |
| Match(ListString, ListString) |
match two sets of strings. The first set of strings may contain regular expressions prefixed by "&".
| |
| Match(String, ListString) |
match a string with a set of strings. The first string may contain regular expressions prefixed by "&".
| |
| materialsPath |
Get the directory name of the karamba3d-materials-folder.
| |
| nameInd(String) |
Resolves an identifier of format 'name-index' to name and index.
| |
| nameInd(String, Int32) |
Creates a list of indexed, zero based identifiers.
| |
| PluginPath |
return path to the folder where the Karamba folder resides.
| |
| PluginPathExe |
Get the Plug-in path relative to the executed dll. Is incorrect in case Rhino gets used inside other programs.
| |
| removeComment |
returns string with everything removed that comes after '#'.
| |
| RemoveNonPrintableCharacters |
removes non-printable characters from a string.
| |
| removeNonVisibleCharacters(ListString) |
removes invisible characters from a list of strings.
| |
| removeNonVisibleCharacters(String) |
removes invisible characters from a string.
| |
| setElemIDsAtCroSecs |
set element identifiers at a list of cross sections
if the number of cross sections is smaller than the list of element identifiers then the remaining
identifiers are all added to the last cross section
in case that there are more cross sections than identifiers the list of identifiers is blown up.
| |
| ToDeg |
Convert angle in radians to degree.
| |
| ToRad |
Converts angle in degree to radians.
| |
| valueDistributionType |
convert string into feb.ValueDistributionType.
| |
| VectReal(VectReal) |
Converts C++ 3d-vector into a list of doubles.
| |
| VectReal(ListDouble) |
Converts a list of doubles into a C++ 3d-vector.
|