Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Basic Geometric Core Objects:

Point:

To create a point, the X, Y, and Z coordinates are defined.

...

Code Block
languagexml
<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>

To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&folder=3D+Geometric+Objects&obj=objidsdm9ews00j8n1n7tst9jpo)

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.

Code Block
languagexml
<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>
Image Added

To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&folder=3D+Geometric+Objects&obj=objidsdm9ews00j8n1n7tst9jpo)

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.

Code Block
languagexml
<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>
Image Added

To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&folder=3D+Geometric+Objects&obj=objidsdm9ews00j8n1n7tst9jpo)