3D Geometric Objects

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.

<O N="3DGeometric_Objects3" T="Project" Category="3D Geometric Objects"> <!-- created by ParamML Examples on 30.01.2023 --> <O T="Circle" Radius="50" /> </O>
3D View

 

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.

<O N="3DGeometric_Objects4" T="Project" Category="3D Geometric Objects"> <!-- created by ParamML Examples on 30.01.2023 --> <P N="width" V="20" Role="Input" /> <O T="Volume"> <O T="Surface"> <O T="Point" X="-width" Y="-width" /> <O T="Point" X="width" Y="-width" /> <O T="Point" X="width" Y="width" /> <O T="Point" X="-width" Y="width" /> </O> <O T="Surface" Z="3*width"> <O T="Point" X="-width/2" Y="-width/2" /> <O T="Point" X="width/2" Y="-width/2" /> <O T="Point" X="width/2" Y="width/2" /> <O T="Point" X="-width/2" Y="width/2" /> </O> </O> </O>
3D View

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.

<O N="3DGeometric_Objects4" T="Project" Category="3D Geometric Objects"> <!-- created by ParamML Examples on 30.01.2023 --> <P N="width" V="20" Role="Input" /> <O T="Volume" Color="#3399ff"> ... </O> </O>
3D View

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.

<O N="3DGeometric_Objects4" T="Project" Category="3D Geometric Objects"> <!-- created by ParamML Examples on 30.01.2023 --> <P N="width" V="20" Role="Input" /> <O T="Volume" Color="#3399ff" Opacity="0.6"> ... </O> </O>
3D View

To view this example in the library, see (OpenBrIM Platform)