Versions Compared

Key

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

This section will discuss the use of Surface object(s) to represent a 2D surface or a 3D volume if thickness parameter is specified.

To create a Surface object, at least three points are required. The values of these points at each corner of the surface must be determined in the coordinate system and the surface must be defined by connecting the points in a consecutive, counter-clockwise manner.

Surface objects conform to the cross-sectional definition of the assigned Alignment in the transverse direction.

Syantax:

Code Block
languagexml
...
<O T="Surface">
...
...
</O>

Example:

The "Surface" object combines the entered points and defines them as a surface. In simpler terms, the surface is formed by grouping each entered point under the Surface object.

Code Block
languagexml
<O N="SurfaceObject1" T="Project" Category="3D Geometric Objects">
    <!-- created by ParamML Examples on 31.01.2023 -->
    <O T="Surface" Z="20">
        <O T="Point" X="-10" Y="-10" />
        <O T="Point" X="10" Y="-10" />
        <O T="Point" X="10" Y="10" />
        <O T="Point" X="-10" Y="10" />
    </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=objidskk4yc2vmxerkzijy3xxwi)