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:
By specifying a thickness value for a surface object
By connecting a line object and a surface object
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:
Add Comment