In OpenBrIM, 3D representations can be defined using the following objects:
Surface
Volume
Line
Each Line object must include:
A first Point object
A second Point object
At least one Section/Shape/Surface object
Given two points and a cross section, OpenBrIM can render the line with the specified section profile. For polylines, multiple points can be specified, and a Line object can contain multiple Section objects if multiple points are defined in the line.
To create a line, two "point" objects are required that define the start and end of the line. These points are combined using the "line" object to express the line.
Syntax:
...
<O T="Line">
...
...
</O>
Example:
<ON="LineObject1"T="Project"Category="3D Geometric Objects"><!-- created by ParamML Examples on 31.01.2023 --><PN="height"V="40"Role="Input"/><PN="width"V="2"Role="Input"/><PN="depth"V="4"Role="Input"/><ON="Column3D"T="Line"><OT="Point"X="0"Y="0"Z="0"/><OT="Point"X="0"Y="0"Z="height"/><ON="Section"T="Section"><OT="Shape"><OT="Point"X="-width/2"Y="-depth/2"/><OT="Point"X="-width/2"Y="depth/2"/><OT="Point"X="width/2"Y="depth/2"/><OT="Point"X="width/2"Y="-depth/2"/></O></O></O></O>