...
Code Block |
---|
| <O N="VolumeObject4" T="Project" Category="3D Geometric Objects" TransAlignRule="Right">
<!-- created by ParamML Examples on 01.02.2023 -->
<P N="width_1" V="20" />
<P N="width_2" V="40" />
<P N="length_1" V="20" />
<P N="length_2" V="20" />
<P N="height_1" V="50" />
<P N="height_2" V="150" />
<P N="height_3" V="300" />
<O T="Volume">
<O N="TSurface1" T="Surface" Z="0">
<O T="Point" X="-width_1/2" Y="-length_1/2" />
<O T="Point" X="width_1/2" Y="-length_1/2" />
<O T="Point" X="width_1/2" Y="length_1/2" />
<O T="Point" X="-width_1/2" Y="length_1/2" />
</O>
<O N="Slice2" T="Surface" Extends="TSurface1" Z="height_1" />
<O N="TSurface2" T="Surface" Z="height_1">
<O T="Point" X="-width_2/2" Y="-length_2/2" />
<O T="Point" X="width_2/2" Y="-length_2/2" />
<O T="Point" X="width_2/2" Y="length_2/2" />
<O T="Point" X="-width_2/2" Y="length_2/2" />
</O>
<O N="Slice4" T="Surface" Extends="TSurface2" Z="height_2" />
<O N="Slice5" T="Surface" Extends="TSurface1" Z="height_2" />
<O N="Slice6" T="Surface" Extends="TSurface1" Z="height_3" />
</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=objidfpstzllu0051ivl56scn3j) |
Example:
Code Block |
---|
| <O N="VolumeObject5" T="Project">
<!-- created by ParamML Examples on 01.02.2023 -->
<P N="width" V="30" />
<O N="TSurface1" T="Surface">
<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 N="Column3D" T="Volume">
<P N="step" V="30" />
<P N="ang1" V="10" />
<O T="Repeat" S="0" E="10" I="1" CTRL="index" index="0">
<O N="Slice" T="Surface" Extends="TSurface1" Z="step*index" RZ="ang1*PI/180*index" />
</O>
</O>
</O> |
|
Image Added |
To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&obj=objidy57xcqq7vucrpvtj8ujxt) |
Parameters of Volume Object:
| Label | Mandatory | Name and Type Attributes | Default Description and Value Attributes | Other Attributes |
---|
1 | Draw Face A | No | N="DrawFaceA"
| D="Draw Face A?: Should graphics display face A of this volume? [Yes=1/No=0]" V="1" | Role="Input" |
2 | Draw Face B | No | N="DrawFaceB"
| D="Draw Face B?: Should graphics display face B of this volume? [Yes=1/No=0]" V="1" | Role="Input" |
3 | Draw Border | No | N="DrawBorder"
| D="Draw Border?: Should graphics display a border along the lines connecting the faces? [Yes=1/No=0]" V="1" | Role="Input" |
4 | Draw Border Around Face A | No | N="DrawFaceABorder"
| D="Draw Border Around Face A?: Should graphics display a border around face A? [Yes=1/No=0]" V="1" | Role="Input" |
5 | Draw Border Around Face B | No | N="DrawFaceBBorder"
| D="Draw Border Around Face B?: Should graphics display a border around face B? [Yes=1/No=0]" V="1" | Role="Input" |