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. Producing 2D drawings with the "CADDFrom3D" object is important because it is the only way to accurately display changes in objects on the route. While other CAD methods may be appropriate for flat building projects or sectional views, using the "CADDFrom3D" object is necessary to accurately represent changes on the route.
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 | Yes | Category: Coordinate | RX="3.14" RX="PI/2" |
RY | Y-axis rotation | Rotates 3D object about Y-axis
Default: RX="0"
Can be an integer or a float
Can be an expression | Yes | Category: Coordinate Type: Length
| RX="3.14" RX="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 | Yes | Category: Coordinate Type: Length
| RX="3.14" RX="PI/2" |
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 |