The "Dimension3D" Object is used to display measurements on 3D objects. The FontSize parameter sets the font size of the text, while the ArrowSize parameter sets the size of the arrows. Three points are defined in the object to represent the start and end points of the measurement and the center point where the dimension text will be displayed. This allows users to view the dimensions of the 3D objects in an easily understandable way.
Example:
Code Block |
---|
| <O N="CadObject14" T="Project" Category="CAD Object" TransAlignRule="Right">
<!-- created by ParamML Examples on 03.02.2023 -->
<O N="Inputs" T="Group">
<P N="lox" V="10" D="column width" Role="Input" Category="Input" />
<P N="loy" V="10" D="column width" Role="Input" Category="Input" />
<P N="loz" V="10" D="column width" Role="Input" Category="Input" />
<P N="W" V="60" D="column width" Role="Input" Category="Input" />
<P N="L" V="20" D="column length" Role="Input" Category="Input" />
<P N="H" V="10" D="column height" Role="Input" Category="Input" />
</O>
<O N="Column3D" T="Surface">
<P N="Thickness" V="H" />
<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="DIMGroup" T="Group">
<O T="DimensionLine" FontSize="2.5" ArrowSize="1.7">
<O T="Point" Z="0" Y="L/2" X="-W/2" />
<O T="Point" Z="H" Y="L/2" X="-W/2" />
<O T="Point" Z="H/2" Y="L" X="-W/2" />
</O>
<O T="DimensionLine" FontSize="2.5" ArrowSize="1.7">
<O T="Point" Z="H" Y="L/2" X="-W/2" />
<O T="Point" Z="H" Y="L/2" X="W/2" />
<O T="Point" Z="H" Y="L" X="W/4" />
</O>
<O T="DimensionLine" FontSize="2.5" ArrowSize="1.7">
<O T="Point" Z="H" Y="L/2" X="W/2" />
<O T="Point" Z="H" Y="-L/2" X="W/2" />
<O T="Point" Z="H" Y="L/4" X="W-L" />
</O>
</O>
</O> |
|
Image Added |
To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&folder=CAD+Object&obj=objid5w1bs893qd3u77bq5z0u8l) |
Example:
Code Block |
---|
| <O N="CadObject15" T="Project" Category="CAD Object" TransAlignRule="Right">
<!-- created by ParamML Examples on 03.02.2023 -->
<O N="Input" T="Group">
<P N="W" V="15" D="column width" Role="Input" Category="Input" />
<P N="L" V="25" D="column length" Role="Input" Category="Input" />
<P N="H" V="50" D="column height" Role="Input" Category="Input" />
</O>
<O T="Volume">
<O T="Surface">
<O T="Point" X="-L" Y="-W" />
<O T="Point" X="L" Y="-W" />
<O T="Point" X="L" Y="W" />
<O T="Point" X="-L" Y="W" />
</O>
<O T="Surface" Z="H">
<O T="Point" X="-L/2" Y="-W/2" />
<O T="Point" X="L/2" Y="-W/2" />
<O T="Point" X="L/2" Y="W/2" />
<O T="Point" X="-L/2" Y="W/2" />
</O>
</O>
<O N="DIMGroup" T="Group">
<O T="DimensionLine" FontSize="4" ArrowSize="1.7">
<O T="Point" Z="0" Y="L/2" X="-L/2" />
<O T="Point" Z="H" Y="L/2" X="-L/2" />
<O T="Point" Z="H/2" Y="W/2 + L/2" X="-L/2" />
</O>
<O T="DimensionLine" FontSize="4" ArrowSize="1.7">
<O T="Point" Z="H" Y="W/2" X="-L/2" />
<O T="Point" Z="H" Y="W/2" X="L/2" />
<O T="Point" Z="H" Y="W/2 +L/2" X="L/4" />
</O>
<O T="DimensionLine" FontSize="4" ArrowSize="1.7">
<O T="Point" Z="H" Y="W/2" X="L/2" />
<O T="Point" Z="H" Y="-W/2" X="L/2" />
<O T="Point" Z="H" Y="W/4" X="L/3 + L/2" />
</O>
</O>
</O> |
|
Image Added |
To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&folder=CAD+Object&obj=objid53ylr9lpa545ypamr59d06) |