Click or drag to resize

ModelBuilder Class

Builds a statical model from given components.
Inheritance Hierarchy
SystemObject
  Karamba.ModelsModelBuilder

Namespace:  Karamba.Models
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
public class ModelBuilder

The ModelBuilder type exposes the following members.

Constructors
  NameDescription
Public methodModelBuilder
Initializes a new instance of the ModelBuilder class. Creates new model-builder.
Top
Properties
  NameDescription
Public propertyinfo
Gets the information from message logger.
Public propertywarning
Gets the warning regarding the assembling process of the model.
Top
Methods
  NameDescription
Protected methodAdd(IReadOnlyListCroSec)
Adds a list of cross sections to the model.
Protected methodAdd(IReadOnlyListFemMaterial)
Add materials to model. The first material is the default material.
Protected methodAdd(IReadOnlyListSupport)
add supports.
Protected methodAdd(ListLoad, String)
add all types of loads to the model.
Protected methodAdd(IReadOnlyListPoint3, IReadOnlyListBuilderElement)
Adds points given explicitly and points given implicitly via elements and snap them.
Protected methodAdd(IReadOnlyListBuilderElement, IReadOnlyListElemSet, IReadOnlyListPoint3, IReadOnlyListFemMaterial, MessageLogger)
Adds elements to the model.
Public methodbuild
Builds a model from given input data and builders.
Public methodStatic memberdecomposeElemId
decomposes an element identifier into its parts. Multiple id-s may be given via 'ampersand \"id1\"|\"id2\"|\"id3\"' or 'ampersand id1|id2|id3'.
Protected methodelementModifyCroSec
Modifies cross sections based on element data. New cross sections are added to the end of the cross sections list.
Protected methodelementsApplyModifiers
Apply modifiers to the elements.
Protected methodelementsAttachCroSecs
Attaches cross sections which directly reference an element and thus act as agents This is only done if a default cross section is attached to an element.
Protected methodelementsAttachMaterial
Attaches materials that directly refer to elements. Only if an element has a default material.
Protected methodelementsCategorize
Splits up the incoming list of grass elements.
Public methodStatic memberElementsEnlistGuids
Enlists the element and element set guids in the model.
Public methodStatic memberElementsEnlistIds
Enlists the element and element set identifiers in the model.
Protected methodelementsSetInvalidsInactive
sets invalid elements as inactive Needs to come after cross section attachment since springs-elements can have identical endpoints.
Protected methodelementsSnapIndex
Snaps elements based on their nodal index.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberNodeIndToElemInds
Creates a mapping from node index to element indices.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberUpdateIdIndexer
Update the Identifier-indexer with element identifiers from materials.
Top
Fields
  NameDescription
Protected field_pointTree
kd-tree of all nodes of the model.
Public fieldduplicate_supports_inds_
indexes of supports which act at nodes which already have a support.
Protected fieldlimit_dist_
distance below which two nodes snap to one.
Protected fieldLogger
general information regarding the assembling process of the model.
Public fieldunused_loads_inds_
indexes of user defined element loads which are not used.
Protected fieldwarning_
warning regarding the assembling process of the model.
Top
See Also