BuilderShell Class

Shell element that lives in a GH definition.

Definition

Namespace: Karamba.Elements
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
[SerializableAttribute]
public class BuilderShell : BuilderElement, 
	ISerializable
Inheritance
Object    CommonObject    BuilderElementBase    BuilderElement    BuilderShell
Derived
Implements
ISerializable

Constructors

BuilderShell Initializes a new instance of the BuilderShell class. default shell-builder.
BuilderShell(IMesh) Initializes a new instance of the BuilderShell class. create grass-shell from mesh.
BuilderShell(SerializationInfo, StreamingContext) Initializes a new instance of the BuilderShell class. Deserialize BuilderShell.

Properties

bending_stiff Gets or sets a value indicating whether bending stiffness is taken into account (turns beams into trusses and shells into membranes and vice versa).
(Inherited from BuilderElement)
canBuckle Gets or sets a value indicating whether can buckle.
(Inherited from BuilderElement)
color Gets or sets user defined color of the beam-set.
(Inherited from BuilderElement)
crosec Gets or sets the cross section of the element.
(Overrides BuilderElementcrosec)
Ecce Gets the nodal eccentricity of the element.
(Inherited from BuilderElement)
ecce_glo Gets or sets eccentricity which is defined in the global coordinate system.
(Inherited from BuilderElement)
ecce_loc Gets or sets eccentricity which is local to the element and can be separately set for each of them. The other types of eccentricity would be either attached to a cross section or oriented globally.
(Inherited from BuilderElement)
guid Gets the the builder's identifier.
(Inherited from BuilderElement)
hasEccent Gets a value indicating whether an element eccentricity is present.
(Inherited from BuilderElement)
id Gets or sets the identifier (name) of the element.
(Inherited from BuilderElement)
ids_secondary Gets the secondary identifiers of the element.
(Inherited from BuilderElement)
is_active Gets or sets a value indicating whether the element is active. If not active, the elements stiffness is reduced to such a degree that it does not influence results any more (soft-kill approach). The small remaining stiffness should however suffice to keep the system from becoming numerically kinematic.
(Inherited from BuilderElement)
is_valid Gets a value indicating whether the builder element is valid.
(Inherited from BuilderElement)
is_visible Gets or sets a value indicating whether the element is visible: true if the element is visible on the canvas.
(Inherited from BuilderElement)
IsValid Gets a value indicating whether the element is valid.
(Inherited from BuilderElement)
mesh Gets the mesh of the shell.
modified_height Gets or sets the cross section height (depth) modification factor of the this element. Can be set in a GH definition with the ModifyBeam-component.
(Inherited from BuilderElement)
modified_thick Gets or sets the cross section wall thickness modification factor of the this element. Can be set in a GH definition with the ModifyBeam-component.
(Inherited from BuilderElement)
nII Gets or sets list of nodal indexes or null.
(Inherited from BuilderElement)
Ori Gets or sets the orientation of the element.
(Inherited from BuilderElement)
parent_ind Gets or sets index of parent element from which this element may inherit its properties (material, cross section,...) A negative value signals that there is no parent;.
(Inherited from BuilderElement)
Pos Gets or sets the position of the element.
(Inherited from BuilderElement)
UserData Gets access to the user-data dictionary.
(Inherited from CommonObject)
visibleSubelementIds Gets or sets the indexes of visible sub-elements.
(Inherited from BuilderElement)

Methods

accepts Returns true if the given cross section can be applied to the element. Returns false if you test e.g. a shell cross section against a beam element.
(Overrides BuilderElementaccepts(CroSec))
addSecondaryID Adds a secondary element identifier.
(Inherited from BuilderElement)
area calculate area of the mesh.
Clone clone the builder-element.
(Overrides BuilderElementClone)
Clone(ModelElement) clone grass-element and link it to a given model element.
(Inherited from BuilderElement)
CloneSecondaryIDs clone the secondary element identifiers.
(Inherited from BuilderElement)
Copy copy contents of another grass-element.
(Inherited from BuilderElement)
disassembleElement Disassemble an element into its constituents.
(Inherited from BuilderElement)
Equals(BuilderElement) True if item is equal to this.
(Inherited from BuilderElement)
Equals(Object) Determines whether the specified object is equal to the current object.
(Inherited from BuilderElement)
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from BuilderElement)
GetObjectData Serializes a shell element.
(Overrides BuilderElementGetObjectData(SerializationInfo, StreamingContext))
GetType Gets the Type of the current instance.
(Inherited from Object)
HasUserData Checks whether the object has user-data attached.
(Inherited from CommonObject)
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
parent_inds return the indexes of all parents of the element.
(Inherited from BuilderElement)
snapElement change the element if nodes snap together according to the given list of node indexes. returns true if the element was completely snapped.
(Overrides BuilderElementsnapElement(ListPoint3, NKDTreeDupli, MessageLogger))
ToString Returns a string that represents the current object.
(Overrides CommonObjectToString)
UpdatePosition Update the position of the shell element.

Fields

_color user defined color of the beam-set.
(Inherited from BuilderElement)
_eccentricity nodal eccentricity of the element.
(Inherited from BuilderElement)
_guid the builder's identifier.
(Inherited from BuilderElement)
_id user given primary identification (name) of element.
(Inherited from BuilderElement)
_ids_secondary user given further identification (name) of element.
(Inherited from BuilderElement)
_orientation orientation of the element.
(Inherited from BuilderElement)
_position position of the element.
(Inherited from BuilderElement)
crosec_ the elements cross section.

Extension Methods

ContainerType test if object is (a container like) a list or an array.
(Defined by MiniUtil)

See Also