Shape
The "Shape" object is part of the "Section" object, and creating its shape is similar to creating a "Surface" object. It is made up of at least three points, defined in sequence, and is used to define the overall “Shape” object. You can include multiple "Shape" objects within a single "Section" object.
Example Syntax:
...
<O T="Shape">
...
...
</O>
Example:
<O N="ShapeObject1" T="Project" Category="3D Geometric Objects" TransAlignRule="Right">
<!-- created by ParamML Examples on 01.02.2023 -->
<O N="Inputs" T="Group">
<P N="w" V="10" Role="Input" Category="Inputs" />
<P N="l" V="20" Role="Input" Category="Inputs" />
<P N="d" V="14" Role="Input" Category="Inputs" />
<P N="bf" V="7" Role="Input" Category="Inputs" />
<P N="t" V="1" Role="Input" Category="Inputs" />
</O>
<O T="Line">
<O T="Point" X="0" Y="0" Z="0" />
<O T="Point" X="20" Y="0" Z="0" />
<O N="Section" T="Section">
<O N="ConcreteN" T="Shape">
<P N="Opacity" V="0.8" />
<O T="Point" X="w/2" Y="-l/2" />
<O T="Point" X="w/2" Y="l/2" />
<O T="Point" X="-w/2" Y="l/2" />
<O T="Point" X="-w/2" Y="-l/2" />
</O>
<O N="IGirder" T="Shape" IsCutout="1">
<O T="Point" X="bf/2" Y="-d/2" />
<O T="Point" X="bf/2" Y="-d/2+t" />
<O T="Point" X="t/2" Y="-d/2+t" />
<O T="Point" X="t/2" Y="d/2-t" />
<O T="Point" X="bf/2" Y="d/2-t" />
<O T="Point" X="bf/2" Y="d/2" />
<O T="Point" X="-bf/2" Y="d/2" />
<O T="Point" X="-bf/2" Y="d/2-t" />
<O T="Point" X="-t/2" Y="d/2-t" />
<O T="Point" X="-t/2" Y="-d/2+t" />
<O T="Point" X="-bf/2" Y="-d/2+t" />
<O T="Point" X="-bf/2" Y="-d/2" />
</O>
</O>
</O>
</O> |
3D View |
To view this example in the library, see(https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&obj=objid09yecgqaj0ktqx3y23jmgj) |
Example:
<O N="ShapeObject2" T="Project" Category="3D Geometric Objects" TransAlignRule="Right">
<!-- created by ParamML Examples on 01.02.2023 -->
<P N="height" V="40" />
<P N="width" V="10" />
<P N="depth" V="20" />
<P N="t" V="2" />
<O N="Column3D" T="Line">
<O T="Point" X="0" Y="0" Z="0" />
<O T="Point" X="0" Y="0" Z="height" />
<O N="Section" T="Section">
<O T="Shape">
<O T="Point" X="0" Y="0" />
<O T="Point" X="width" Y="0" />
<O T="Point" X="width" Y="t" />
<O T="Point" X="t" Y="t" />
<O T="Point" X="t" Y="depth" />
<O T="Point" X="-0" Y="depth" />
</O>
</O>
</O>
</O> |
CAD View |
To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&obj=objidnpn45cgytx1y84ks3dgzh) |
Example:
To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&obj=objidthy7xlwj2cdf30gn6ed4sa&folder=3D+Geometric+Objects) |
Example:
To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&folder=3D+Geometric+Objects&obj=objid6z1tibidwn1lu722nzhydh) |
Parameters of Shape Object:
Label | Name and Type | Description | Mandatory | Attributes | |
---|---|---|---|---|---|
1 | Material | N="Material" | D="Material: The material of the shape." V="" | No | Role="Input" |
2 | X | N="X" | D="X: The x location of this shape." | No | Role="Input" |
3 | Y | N="Y" | D="X: The y location of this shape." | No | Role="Input" |