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. You can include multiple "Shape" objects within a single "Section" statement.
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> |
To view this example in the library, see(https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&obj=objid09yecgqaj0ktqx3y23jmgj) |
0 Comments