Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 4 Next »

The "CADD" object in OpenBrIM enables users to create and annotate 2D drawings, such as elevation views and floor plans of the structure.

Users can either add a "CADD" object and create 2D drawings using the ParamML code, or they can add child elements of the "CADD" object through the "CADD" window to create the 2D drawings.

CADD drawings are created with the help of the following sub-items.

1) CADDShape:

This object draws a polygon.

Example:

<O N="CadObject1" T="Project" Category="CAD Object" TransAlignRule="Right">
    <!-- created by ParamML Examples on 03.02.2023 -->
    <O N="CADD_Objects" T="CADD">
        <O T="CADDShape" X="-11" Y="3" RZ="0">
            <O T="Point" X="-2" Y="2" />
            <O T="Point" X="-5" Y="-2" />
            <O T="Point" X="4" Y="-2" />
            <O T="Point" X="3" Y="2" />
        </O>
    </O>
</O>

To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&folder=CAD+Object&obj=objid0zvs1stvbzmnlydh61nngbh)

2)CADDRect:

This object draws a Rectangle.

Example:

<O N="CadObject2" T="Project" Category="CAD Object" TransAlignRule="Right">
    <!-- created by ParamML Examples on 03.02.2023 -->
    <O N="CADD_Objects" T="CADD">
        <O N="Shp1" T="CADDRect" X="-11" Y="10" RZ="0">
            <P N="W" V="5" />
            <P N="H" V="2" />
        </O>
    </O>
</O>

To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&folder=CAD+Object&obj=objidxmcjeqf3xwo4jjlo9w2e04)

3) CADDLine:

The "CADDLine" object draws a line in a 2D drawing. The line style and thickness can be adjusted using the parameters of "Thickness," "Color," and "LineStyle." The line thickness is set with the "Thickness" parameter, and the color is set with the "Color" parameter.

The "LineStyle" parameter determines the number of lines and spaces, for example, LineStyle=[5,15] will consist of 5 lines followed by 15 spaces.

Example:

<O N="CadObject3" T="Project" Category="CAD Object" TransAlignRule="Right">
    <!-- created by ParamML Examples on 03.02.2023 -->
    <O N="CADD_Objects" T="CADD">
        <O N="Shp1" T="CADDLine" X="0" Y="-10" RZ="0">
            <O T="Point" X="10" Y="0" />
            <O T="Point" X="50" Y="-10" />
        </O>
    </O>
</O>
<O N="CadObject3" T="Project" Category="CAD Object" TransAlignRule="Right">
    <!-- created by ParamML Examples on 03.02.2023 -->
    <O N="CADD_Objects" T="CADD">
        <O N="Shp1" T="CADDLine" X="0" Y="-10" RZ="0">
            <O T="Point" X="10" Y="0" />
            <O T="Point" X="50" Y="-10" />
        </O>
        <O N="Blue1" T="CADDLine" Color="#4286f4">
            <O T="Point" X="10" Y="0" />
            <O T="Point" X="50" Y="0" />
        </O>
        <O N="Red1" T="CADDLine" Color="red" Thickness="2" LineStyle="[6,3]">
            <O T="Point" X="10" Y="10" />
            <O T="Point" X="50" Y="10" />
        </O>
        <O N="Orange1" T="CADDLine" Color="orange" Thickness="10" LineStyle="[20,5]">
            <O T="Point" X="10" Y="20" />
            <O T="Point" X="50" Y="20" />
        </O>
        <O N="Green1" T="CADDLine" Color="#8ff441" Thickness="6" LineStyle="[15,5]">
            <O T="Point" X="10" Y="30" />
            <O T="Point" X="50" Y="30" />
        </O>
        <O N="Pink1" T="CADDLine" Color="pink" Thickness="4" LineStyle="[100,30,15,30]">
            <O T="Point" X="10" Y="40" />
            <O T="Point" X="50" Y="40" />
        </O>
        <O N="Purple1" T="CADDLine" Color="Purple" Thickness="2" LineStyle="[15,5,30]">
            <O T="Point" X="10" Y="50" />
            <O T="Point" X="50" Y="50" />
        </O>
    </O>
</O>

To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&obj=objide5hat4o9nsv6i9df86sqta&folder=CAD+Object)

4) CADDEllipse:

This object draws a Ellipse.

Example:

<O N="CadObject4" T="Project" Category="CAD Object" TransAlignRule="Right">
    <!-- created by ParamML Examples on 03.02.2023 -->
    <O N="CADD_Objects" T="CADD">
        <O T="CADDEllipse" X="6.3" Y="21.3" RZ="0">
            <P N="Radius1" V="1.9" />
            <P N="Radius2" V="0.5" />
        </O>
    </O>
</O>

To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&folder=CAD+Object&obj=objidrh9isdc09rnlfyl1vf8r3q)

5) CADDCircle:

This object draws a Circle.

Example:

<O N="CadObject5" T="Project" Category="CAD Object" TransAlignRule="Right">
    <!-- created by ParamML Examples on 03.02.2023 -->
    <O N="CADD_Objects" T="CADD">
        <O T="CADDCircle" X="2.7" Y="18.6" RZ="0">
            <P N="Radius" V="1.3" />
        </O>
    </O>
</O>

To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&folder=CAD+Object&obj=objid4054g344e0h8bzk362itq9)

6) CADDArc:

This object draws an Arc.

Example:

<O N="CadObject6" T="Project" Category="CAD Object" TransAlignRule="Right">
    <!-- created by ParamML Examples on 03.02.2023 -->
    <O N="CADD_Objects" T="CADD">
        <O T="CADDArc" X="8" Y="22.6" RZ="0">
            <O T="Point" X="-1.3" Y="0.8" />
            <O T="Point" X="-0.2" Y="1.5" />
            <O T="Point" X="1.1" Y="1.1" />
        </O>
    </O>
</O>

To view this example in the library, see (https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&folder=CAD+Object&obj=objidzh40piiqd68bpqrknaunhj)

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.