3D Geometric Objects
Basic Geometric Core Objects:
Point:
To create a point, the X, Y, and Z coordinates are defined.
<O N="3DGeometric_Objects1" T="Project" Category="3D Geometric Objects">
<!-- created by ParamML Examples on 30.01.2023 -->
<!-- Point -->
<O N="station" T="Point" X="10" Y="15" Z="20" />
Line:
To create a line, two distinct points with their X, Y, and Z coordinates are defined.
...
<!-- Line -->
<O N="beam" T="Line" X="firstpoint.X" Y="firstpoint.Y" Z="firstpoint.Z">
<O T="Point" X="0" Y="0" Z="0" />
<O T="Point" X="10" Y="0" Z="0" />
</O>
</O> |
3D View |
To view this example in the library, see(OpenBrIM Platform) |
Surface:
When it is desired to define a surface, the surface must have at least three different points, the coordinates of these points are determined and the surface is created as follows.
<O N="3DGeometric_Objects2" T="Project" Category="3D Geometric Objects">
<!-- created by ParamML Examples on 30.01.2023 -->
<!-- Surface -->
<O T="Surface">
<O T="Point" X="0" Y="60" Z="0" />
<O T="Point" X="60" Y="60" Z="0" />
<O T="Point" X="60" Y="0" Z="0" />
<O T="Point" X="0" Y="-40" Z="0" />
<O T="Point" X="-40" Y="0" Z="0" />
</O>
</O> |
3D View |
To view this example in the library, see (OpenBrIM Platform) |
Circle:
When it is desired to defined a circle, the radius is determined and created as follows.
|
To view this example in the library, see (OpenBrIM Platform) |
Volume:
A volume is a 3D object formed by combining two surfaces with varying depths. To define a volume, the coordinates of each point on both surfaces are determined and the volume is created based on this information.
To view this example in the library, see (OpenBrIM Platform) |
Color Parameter:
An object's color can be specified by adding a "color" parameter. The color parameter value must be a hexadecimal code, which can be found internet browse. This parameter is crucial in determining the color of "Volume" and "Surface" objects.
For the purpose of this example, we will utilize the volume object created in the previous step.
To view this example in the library, see (OpenBrIM Platform) |
Opacity Parameter:
The transparency of a 3D object can be set using the "opacity" parameter. The value for opacity ranges from 0 to 1, where a value closer to 1 represents higher opacity and a value closer to 0 represents greater transparency. If the "opacity" parameter is not specified, it defaults to 1, making the object fully opaque. This parameter is crucial in determining the visibility of "Volume" and "Surface" objects.
To view this example in the library, see (OpenBrIM Platform) |