Versions Compared

Key

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

...

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

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

Code Block
languagexml
...
    <!-- 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>
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=objid80dprmd85utio21ele2iie)

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.

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

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

Circle:

When it is desired to defined a circle, the radius is determined and created as follows.

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

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

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.

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>
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)