> 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.md).

# 3D Geometric Objects

### **Basic Geometric Core Objects:**

**Point:**

To create a point, the X, Y, and Z coordinates are defined.

```
<O N="3DGeometric_Objects1" T="Project" Category="3D Geometric Objects">
    <!-- created by ParamML Examples on 30.01.2023 -->
    <!-- Point -->
    <O N="station" T="Point" X="10" Y="15" Z="20" />
```

**Line:**

To create a line, two distinct points with their X, Y, and Z coordinates are defined.

```xml
...
    <!-- Line -->
    <O N="beam" T="Line" X="firstpoint.X" Y="firstpoint.Y" Z="firstpoint.Z">
        <O T="Point" X="0" Y="0" Z="0" />
        <O T="Point" X="10" Y="0" Z="0" />
    </O>
</O>
```

![](https://openbrim.atlassian.net/wiki/download/attachments/2158690305/image-20230130-163049.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=objid80dprmd85utio21ele2iie>)

**Surface:**

When it is desired to define a surface, the surface must have at least three different points, the coordinates of these points are determined and the surface is created as follows.

```xml
<O N="3DGeometric_Objects2" T="Project" Category="3D Geometric Objects">
    <!-- created by ParamML Examples on 30.01.2023 -->
    <!-- Surface -->
    <O T="Surface">
        <O T="Point" X="0" Y="60" Z="0" />
        <O T="Point" X="60" Y="60" Z="0" />
        <O T="Point" X="60" Y="0" Z="0" />
        <O T="Point" X="0" Y="-40" Z="0" />
        <O T="Point" X="-40" Y="0" Z="0" />
    </O>
</O>
```

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

**Circle:**

When it is desired to defined a circle, the radius is determined and created as follows.

```xml
<O N="3DGeometric_Objects3" T="Project" Category="3D Geometric Objects">
    <!-- created by ParamML Examples on 30.01.2023 -->
    <O T="Circle" Radius="50" />
</O>
```

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

**Volume:**

A volume is a 3D object formed by combining two surfaces with varying depths. To define a volume, the coordinates of each point on both surfaces are determined and the volume is created based on this information.

```xml
<O N="3DGeometric_Objects4" T="Project" Category="3D Geometric Objects">
    <!-- created by ParamML Examples on 30.01.2023 -->
    <P N="width" V="20" Role="Input" />
    <O T="Volume">
        <O T="Surface">
            <O T="Point" X="-width" Y="-width" />
            <O T="Point" X="width" Y="-width" />
            <O T="Point" X="width" Y="width" />
            <O T="Point" X="-width" Y="width" />
        </O>
        <O T="Surface" Z="3*width">
            <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>
</O>
```

![](https://openbrim.atlassian.net/wiki/download/attachments/2158690305/image-20230130-170359.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=objidsdm9ews00j8n1n7tst9jpo>)

**Color Parameter:**

An object's color can be specified by adding a "color" parameter. The color parameter value must be a hexadecimal code, which can be found internet browse. This parameter is crucial in determining the color of "Volume" and "Surface" objects.

For the purpose of this example, we will utilize the volume object created in the previous step.

```xml
<O N="3DGeometric_Objects4" T="Project" Category="3D Geometric Objects">
    <!-- created by ParamML Examples on 30.01.2023 -->
    <P N="width" V="20" Role="Input" />
    <O T="Volume" Color="#3399ff">
    ...
    </O>
</O>
```

![](https://openbrim.atlassian.net/wiki/download/attachments/2158690305/image-20230131-083920.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=objidsdm9ews00j8n1n7tst9jpo>)

**Opacity Parameter:**

The transparency of a 3D object can be set using the "opacity" parameter. The value for opacity ranges from 0 to 1, where a value closer to 1 represents higher opacity and a value closer to 0 represents greater transparency. If the "opacity" parameter is not specified, it defaults to 1, making the object fully opaque. This parameter is crucial in determining the visibility of "Volume" and "Surface" objects.

```xml
<O N="3DGeometric_Objects4" T="Project" Category="3D Geometric Objects">
    <!-- created by ParamML Examples on 30.01.2023 -->
    <P N="width" V="20" Role="Input" />
    <O T="Volume" Color="#3399ff" Opacity="0.6">
    ...
    </O>
</O>
```

![](https://openbrim.atlassian.net/wiki/download/attachments/2158690305/image-20230131-084430.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=objidsdm9ews00j8n1n7tst9jpo>)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
