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:
<O N="LineObject1" T="Project" Category="3D Geometric Objects"> <!-- created by ParamML Examples on 31.01.2023 --> <P N="height" V="40" Role="Input" /> <P N="width" V="2" Role="Input" /> <P N="depth" V="4" Role="Input" /> <O N="Column3D" T="Line"> <O T="Point" X="0" Y="0" Z="0" /> <O T="Point" X="0" Y="0" Z="height" /> <O N="Section" T="Section"> <O T="Shape"> <O T="Point" X="-width/2" Y="-depth/2" /> <O T="Point" X="-width/2" Y="depth/2" /> <O T="Point" X="width/2" Y="depth/2" /> <O T="Point" X="width/2" Y="-depth/2" /> </O> </O> </O> </O> |
The Line object is used in conjunction with the Section and Shape objects. |
To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&folder=3D+Geometric+Objects&obj=objidmad1yypvle6g3jr892mg4) |
<O N="LineObject2" T="Project" Category="3D Geometric Objects"> <!-- created by ParamML Examples on 31.01.2023 --> <P N="height" V="100" /> <P N="width" V="10" /> <P N="depth" V="2" /> <P N="step" V="50" /> <O N="TShape1" T="Shape"> <O T="Point" X="-width/2" Y="-depth/2" /> <O T="Point" X="-width/2" Y="depth/2" /> <O T="Point" X="width/2" Y="depth/2" /> <O T="Point" X="width/2" Y="-depth/2" /> </O> <O N="Column3D_1" T="Line"> <O T="Point" X="0" Y="0" Z="0" /> <O T="Point" X="0" Y="step" Z="height" /> <O N="Section_1" T="Section"> <O N="Shape1" T="Shape" Extends="TShape1" Override="1" /> </O> </O> <O N="Column3D_2" T="Line"> <O T="Point" X="0" Y="step" Z="height" /> <O T="Point" X="0" Y="step*2" Z="0" /> <O N="Section_2" T="Section"> <O N="Shape2" T="Shape" Extends="TShape1" Override="1" /> </O> </O> <O N="Column3D_3" T="Line"> <O T="Point" X="0" Y="step*2" Z="0" /> <O T="Point" X="0" Y="" Z="0" /> <O N="Section_2" T="Section"> <O N="Shape2" T="Shape" Extends="TShape1" Override="1" /> </O> </O> </O> |
To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&obj=objidjsj8tye7xgzomqqlkdvpc&folder=3D+Geometric+Objects) |
0 Comments