Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

Volume objects define 3D entities by extending surface objects. To create a volume object, you need to connect two or more surface objects that have the same number of points.

Example Syntax:

...
<O T="Volume"
...
...
</O>

There are three methods to create a volume object:

  1. By specifying a thickness value for a surface object

  2. By connecting a line object and a surface object

  3. By connecting two different surface objects.

Example:

<O N="VolumeObject1" T="Project" Category="3D Geometric Objects" TransAlignRule="Right">
    <!-- created by ParamML Examples on 01.02.2023 -->
    <O N="Prsm1" T="Surface" Thickness="20" Y="80">
        <O T="Point" X="0" Y="0" Z="0" />
        <O T="Point" X="20" Y="0" Z="0" />
        <O T="Point" X="20" Y="20" Z="0" />
        <O T="Point" X="0" Y="20" Z="0" />
    </O>
    <O N="Prsm2" T="Line" Y="50">
        <O T="Point" X="0" Y="0" Z="0" />
        <O T="Point" X="0" Y="0" Z="50" />
        <O N="Section" T="Section">
            <O T="Shape">
                <O T="Point" X="-2" Y="-2" />
                <O T="Point" X="2" Y="-2" />
                <O T="Point" X="2" Y="2" />
                <O T="Point" X="-2" Y="2" />
            </O>
        </O>
    </O>
    <O N="Prsm3" T="Volume">
        <P N="w" V="20" />
        <O T="Surface" Z="0">
            <O T="Point" X="-w" Y="-w" />
            <O T="Point" X="w" Y="-w" />
            <O T="Point" X="w" Y="w" />
            <O T="Point" X="-w" Y="w" />
        </O>
        <O T="Surface" Z="25">
            <O T="Point" X="-w/2" Y="-w/2" />
            <O T="Point" X="w/2" Y="-w/2" />
            <O T="Point" X="w/2" Y="w/2" />
            <O T="Point" X="-w/2" Y="w/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=objid71pnngfe1y80ae039z10d)

Example:

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.