> For the complete documentation index, see [llms.txt](https://docs.openbrim.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.openbrim.org/developers/paramml-developer-guide/core-objects/3d-geometric-objects/shape.md).

# 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:**

```xml
<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>
```

![](https://openbrim.atlassian.net/wiki/download/attachments/2158526484/image-20230201-120430.png?api=v2) To view this example in the library, see(<https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&obj=objid09yecgqaj0ktqx3y23jmgj>)

**Example:**

```xml
<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>
```

![](https://openbrim.atlassian.net/wiki/download/attachments/2158526484/image-20230201-121954.png?api=v2) To view this example in the library, see (<https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&obj=objidnpn45cgytx1y84ks3dgzh>)

**Example:**

```xml
<O N="ShapeObject3" 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="thk" V="2" D="Wall thickness of the tube" />
    <O N="Column3D" T="Line">
        <O T="Point" X="0" Y="0" Z="0" />
        <O T="Point" X="0" Y="0" Z="height" />
        <O T="Section">
            <O T="Shape">
                <O T="Point" R="1 + thk" X="-width/2" Y="-depth/2" Z="0" />
                <O T="Point" R="1 + thk" X="-width/2" Y="depth/2" Z="0" />
                <O T="Point" R="1 + thk" X="width/2" Y="depth/2" Z="0" />
                <O T="Point" R="1 + thk" X="width/2" Y="-depth/2" Z="0" />
            </O>
            <O T="Shape">
                <P N="IsCutout" V="1" />
                <O T="Point" R="1" X="-width/2 + thk" Y="-depth/2 + thk" Z="0" />
                <O T="Point" R="1" X="-width/2 + thk" Y="depth/2 - thk" Z="0" />
                <O T="Point" R="1" X="width/2 - thk" Y="depth/2 - thk" Z="0" />
                <O T="Point" R="1" X="width/2 - thk" Y="-depth/2 + thk" Z="0" />
            </O>
        </O>
    </O>
</O>
```

![](https://openbrim.atlassian.net/wiki/download/attachments/2158526484/image-20230201-123037.png?api=v2) 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:**

```xml
<O N="ShapeObject4" T="Project" Category="3D Geometric Objects" TransAlignRule="Right">
    <!-- created by ParamML Examples on 01.02.2023 -->
    <P N="height" V="10" />
    <P N="width" V="5" />
    <P N="depth" V="10" />
    <P N="thk" V="1" D="Thickness" />
    <P N="C1" V="1" D="outer chamfer distance" />
    <P N="C2" V="1 + thk/sin(PI/4) - thk - thk/tan(PI/4)" D="inner chamfer distance" />
    <O N="Column3D" T="Line">
        <O T="Point" X="0" Y="0" Z="0" />
        <O T="Point" X="0" Y="0" Z="height" />
        <O T="Section">
            <O T="Shape">
                <O T="Point" C="C1" X="-width/2" Y="-depth/2" Z="0" />
                <O T="Point" C="C1" X="-width/2" Y="depth/2" Z="0" />
                <O T="Point" C="C1" X="width/2" Y="depth/2" Z="0" />
                <O T="Point" C="C1" X="width/2" Y="-depth/2" Z="0" />
            </O>
            <O T="Shape">
                <P N="IsCutout" V="1" />
                <O T="Point" C="C2" X="-width/2 + thk" Y="-depth/2 + thk" Z="0" />
                <O T="Point" C="C2" X="-width/2 + thk" Y="depth/2 - thk" Z="0" />
                <O T="Point" C="C2" X="width/2 - thk" Y="depth/2 - thk" Z="0" />
                <O T="Point" C="C2" X="width/2 - thk" Y="-depth/2 + thk" Z="0" />
            </O>
        </O>
    </O>
</O>
```

![](https://openbrim.atlassian.net/wiki/download/attachments/2158526484/image-20230201-123749.png?api=v2) 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" T="Material" | D="Material: The material of the shape." V="" | No | Role="Input" | | 2 | X | N="X" | D="X: The x location of this shape." V="0" | No | Role="Input" UT="Length" UC="Section" | | 3 | Y | N="Y" | D="X: The y location of this shape." V="0" | No | Role="Input" UT="Length" UC="Section" |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.openbrim.org/developers/paramml-developer-guide/core-objects/3d-geometric-objects/shape.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
