> 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/cad-objects/caddfrom3d-object.md).

# CADDFrom3D Object

The "CADDFrom3D" object generates 2D drawings from a 3D model. This is particularly useful for objects located on the route because all changes made to these objects are reflected in the 2D drawings. Additionally, the 2D drawings can be customized by adjusting the rotation properties of the object. For a cut through the model along an alignment (a cross section at a station, a profile, a plan), use "CADDFromSection" instead; it also separates cut, projection and hidden lines, which "CADDFrom3D" does not. See [CAD Objects](https://docs.openbrim.org/developers/paramml-developer-guide/core-objects/cad-objects.md).

**Example Syntax:**

```
...
<O T="CADDFrom3D">
...
...
</O>
```

**Example:**

```
<O N="CadObject13" T="Project" Category="CAD Object" TransAlignRule="Right">
    <!-- created by ParamML Examples on 03.02.2023 -->
    <P N="width" V="20" Role="Input" />
    <P N="height" V="10" Role="Input" />
    <O N="VolumeX" T="Volume" Z="height" Opacity="0.7">
        <O T="Surface" Z="0">
            <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="height">
            <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 N="ZZ" T="CADDFrom3D" RX="0" RY="0" RZ="PI/2">
        <P N="Obj3D" V="VolumeX" T="Volume" />
    </O>
    <O N="YY" T="CADDFrom3D" RX="0" RY="PI/2" RZ="0">
        <P N="Obj3D" V="VolumeX" T="Volume" />
    </O>
    <O N="XX" T="CADDFrom3D" RX="PI/2" RY="0" RZ="0">
        <P N="Obj3D" V="VolumeX" T="Volume" />
    </O>
</O>
```

**Parameters of CADDFrom3D Object:**

\| Symbol | Label | Description | Mandatory | Default Unit | Example | | RX | X-axis rotation | Rotates 3D object about X-axis Default: RX="0" Can be an integer or a float Can be an expression | No | Category: Geometry Type: Angle | RX="3.14" RX="PI/2" | | RY | Y-axis rotation | Rotates 3D object about Y-axis Default: RY="0" Can be an integer or a float Can be an expression | No | Category: Geometry Type: Angle | RY="3.14" RY="PI/2" | | RZ | Z-axis rotation | Rotates 3D object about Z-axis Default: RZ="0" Can be an integer or a float Can be an expression | No | Category: Geometry Type: Angle | RZ="3.14" RZ="PI/2" | | AX, AY, AZ | Rotation origin | The point the rotation is applied about Default: 0 | No | Category: Geometry Type: Length | AX="width/2" | | ClipX1, ClipX2, ClipY1, ClipY2, ClipZ1, ClipZ2 | Clipping range | Start and end of the range kept along X, Y and Z of the rotated view plane. Default: no limit | No | | ClipX1="-50" ClipX2="50" |

| **Label** | **Name and Type Attribute**                                                          | **Description**                                                                        | **Mandatory** |
| --------- | ------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------- | ------------- |
| Obj3D     | N="Obj3D" T="Group" or 3D objects (T="Surface" / T="Circle" / T="Volume" / T="Line") | Specifies the 3D object or group of 3D objects that will be generated into 2D drawing. | Yes           |


---

# 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/cad-objects/caddfrom3d-object.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.
