Click or drag to resize

FactoryPartLineToBeam Method (ListLine3, ListString, ListCroSec, MessageLogger, ListPoint3, Boolean, Double, ListVector3, ListColor, ListPoint3, Boolean, Boolean)

Convert a Line to a beam.

Namespace:  Karamba.Factories
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
public virtual List<BuilderBeam> LineToBeam(
	List<Line3> curves,
	List<string> identifiers,
	List<CroSec> crosecs,
	MessageLogger info,
	out List<Point3> outNodes,
	bool bending = true,
	double limitDist = 0.005,
	List<Vector3> zOris = null,
	List<Color> colors = null,
	List<Point3> points = null,
	bool newNodes = true,
	bool removeDup = true
)

Parameters

curves
Type: System.Collections.GenericListLine3
Straight line which will be connected to others if they meet at common points.
identifiers
Type: System.Collections.GenericListString
Names of the beams. Need not be unique in a model. The component applies the longest list principle with respect to the input lines."/param> Cross section of the beam. The component applies the longest list principle with respect to the input lines.Information regarding the conversion of lines to beamsEndpoints of the beamsIf 'true' the beam has bending stiffness. Otherwise it is a truss.Limit distance for coincident points. The default is 0.005New orientation of the local Z-axis of beam. If the vector has zero length, the default orientation remains in place.Colors of the beams. The component applies the longest list principle with respect to the input lines. List of points which will be inserted at the beginning of the node-list at the output-plug. This makes it easy to reference them by index in the model later on. May contain duplicate points. In case of duplicate points elements are attached to them alternating: first element to first duplicate point, second element to second duplicate point, third element to first duplicate point in case there are only two points in one position.If 'false', a line only results in an element if it connects to points given in the 'Points' input-plug.If 'true' duplicate points get removed. in case of zero length elements (e.g. springs) this is not always what you want.
crosecs
Type: System.Collections.GenericListCroSec

[Missing <param name="crosecs"/> documentation for "M:Karamba.Factories.FactoryPart.LineToBeam(System.Collections.Generic.List{Karamba.Geometry.Line3},System.Collections.Generic.List{System.String},System.Collections.Generic.List{Karamba.CrossSections.CroSec},Karamba.Utilities.MessageLogger,System.Collections.Generic.List{Karamba.Geometry.Point3}@,System.Boolean,System.Double,System.Collections.Generic.List{Karamba.Geometry.Vector3},System.Collections.Generic.List{System.Drawing.Color},System.Collections.Generic.List{Karamba.Geometry.Point3},System.Boolean,System.Boolean)"]

info
Type: Karamba.UtilitiesMessageLogger

[Missing <param name="info"/> documentation for "M:Karamba.Factories.FactoryPart.LineToBeam(System.Collections.Generic.List{Karamba.Geometry.Line3},System.Collections.Generic.List{System.String},System.Collections.Generic.List{Karamba.CrossSections.CroSec},Karamba.Utilities.MessageLogger,System.Collections.Generic.List{Karamba.Geometry.Point3}@,System.Boolean,System.Double,System.Collections.Generic.List{Karamba.Geometry.Vector3},System.Collections.Generic.List{System.Drawing.Color},System.Collections.Generic.List{Karamba.Geometry.Point3},System.Boolean,System.Boolean)"]

outNodes
Type: System.Collections.GenericListPoint3

[Missing <param name="outNodes"/> documentation for "M:Karamba.Factories.FactoryPart.LineToBeam(System.Collections.Generic.List{Karamba.Geometry.Line3},System.Collections.Generic.List{System.String},System.Collections.Generic.List{Karamba.CrossSections.CroSec},Karamba.Utilities.MessageLogger,System.Collections.Generic.List{Karamba.Geometry.Point3}@,System.Boolean,System.Double,System.Collections.Generic.List{Karamba.Geometry.Vector3},System.Collections.Generic.List{System.Drawing.Color},System.Collections.Generic.List{Karamba.Geometry.Point3},System.Boolean,System.Boolean)"]

bending (Optional)
Type: SystemBoolean

[Missing <param name="bending"/> documentation for "M:Karamba.Factories.FactoryPart.LineToBeam(System.Collections.Generic.List{Karamba.Geometry.Line3},System.Collections.Generic.List{System.String},System.Collections.Generic.List{Karamba.CrossSections.CroSec},Karamba.Utilities.MessageLogger,System.Collections.Generic.List{Karamba.Geometry.Point3}@,System.Boolean,System.Double,System.Collections.Generic.List{Karamba.Geometry.Vector3},System.Collections.Generic.List{System.Drawing.Color},System.Collections.Generic.List{Karamba.Geometry.Point3},System.Boolean,System.Boolean)"]

limitDist (Optional)
Type: SystemDouble

[Missing <param name="limitDist"/> documentation for "M:Karamba.Factories.FactoryPart.LineToBeam(System.Collections.Generic.List{Karamba.Geometry.Line3},System.Collections.Generic.List{System.String},System.Collections.Generic.List{Karamba.CrossSections.CroSec},Karamba.Utilities.MessageLogger,System.Collections.Generic.List{Karamba.Geometry.Point3}@,System.Boolean,System.Double,System.Collections.Generic.List{Karamba.Geometry.Vector3},System.Collections.Generic.List{System.Drawing.Color},System.Collections.Generic.List{Karamba.Geometry.Point3},System.Boolean,System.Boolean)"]

zOris (Optional)
Type: System.Collections.GenericListVector3

[Missing <param name="zOris"/> documentation for "M:Karamba.Factories.FactoryPart.LineToBeam(System.Collections.Generic.List{Karamba.Geometry.Line3},System.Collections.Generic.List{System.String},System.Collections.Generic.List{Karamba.CrossSections.CroSec},Karamba.Utilities.MessageLogger,System.Collections.Generic.List{Karamba.Geometry.Point3}@,System.Boolean,System.Double,System.Collections.Generic.List{Karamba.Geometry.Vector3},System.Collections.Generic.List{System.Drawing.Color},System.Collections.Generic.List{Karamba.Geometry.Point3},System.Boolean,System.Boolean)"]

colors (Optional)
Type: System.Collections.GenericListColor

[Missing <param name="colors"/> documentation for "M:Karamba.Factories.FactoryPart.LineToBeam(System.Collections.Generic.List{Karamba.Geometry.Line3},System.Collections.Generic.List{System.String},System.Collections.Generic.List{Karamba.CrossSections.CroSec},Karamba.Utilities.MessageLogger,System.Collections.Generic.List{Karamba.Geometry.Point3}@,System.Boolean,System.Double,System.Collections.Generic.List{Karamba.Geometry.Vector3},System.Collections.Generic.List{System.Drawing.Color},System.Collections.Generic.List{Karamba.Geometry.Point3},System.Boolean,System.Boolean)"]

points (Optional)
Type: System.Collections.GenericListPoint3

[Missing <param name="points"/> documentation for "M:Karamba.Factories.FactoryPart.LineToBeam(System.Collections.Generic.List{Karamba.Geometry.Line3},System.Collections.Generic.List{System.String},System.Collections.Generic.List{Karamba.CrossSections.CroSec},Karamba.Utilities.MessageLogger,System.Collections.Generic.List{Karamba.Geometry.Point3}@,System.Boolean,System.Double,System.Collections.Generic.List{Karamba.Geometry.Vector3},System.Collections.Generic.List{System.Drawing.Color},System.Collections.Generic.List{Karamba.Geometry.Point3},System.Boolean,System.Boolean)"]

newNodes (Optional)
Type: SystemBoolean

[Missing <param name="newNodes"/> documentation for "M:Karamba.Factories.FactoryPart.LineToBeam(System.Collections.Generic.List{Karamba.Geometry.Line3},System.Collections.Generic.List{System.String},System.Collections.Generic.List{Karamba.CrossSections.CroSec},Karamba.Utilities.MessageLogger,System.Collections.Generic.List{Karamba.Geometry.Point3}@,System.Boolean,System.Double,System.Collections.Generic.List{Karamba.Geometry.Vector3},System.Collections.Generic.List{System.Drawing.Color},System.Collections.Generic.List{Karamba.Geometry.Point3},System.Boolean,System.Boolean)"]

removeDup (Optional)
Type: SystemBoolean

[Missing <param name="removeDup"/> documentation for "M:Karamba.Factories.FactoryPart.LineToBeam(System.Collections.Generic.List{Karamba.Geometry.Line3},System.Collections.Generic.List{System.String},System.Collections.Generic.List{Karamba.CrossSections.CroSec},Karamba.Utilities.MessageLogger,System.Collections.Generic.List{Karamba.Geometry.Point3}@,System.Boolean,System.Double,System.Collections.Generic.List{Karamba.Geometry.Vector3},System.Collections.Generic.List{System.Drawing.Color},System.Collections.Generic.List{Karamba.Geometry.Point3},System.Boolean,System.Boolean)"]

Return Value

Type: ListBuilderBeam
Builder objects for beams.
See Also