Skip to content

Enumerations

Node symbols

cadwork.node_symbol

node_symbol (IntEnum)

node symbol

Examples:

>>> cadwork.node_symbol.SmallSquare
SmallSquare
Source code in cadwork/node_symbol.py
@unique
class node_symbol(IntEnum):
    """node symbol

    Examples:
        >>> cadwork.node_symbol.SmallSquare
        SmallSquare

    Args:
        SmallSquare = 1
        Square = 2
        Cross = 3
        Circle = 4
        FilledCircle = 5
        ChessSquare = 6
        HalfFilledSquare = 7
        CrossSquare = 8
        FilledSquare = 9

    """
    SmallSquare = 1
    Square = 2
    Cross = 3
    Circle = 4
    FilledCircle = 5
    ChessSquare = 6
    HalfFilledSquare = 7
    CrossSquare = 8
    FilledSquare = 9

    def __int__(self) -> int:
        return self.value

Element module

cadwork.element_module_detail

element_module_detail (IntEnum)

element module detail

Examples:

>>> cadwork.element_module_detail.no_detail
no_detail
Source code in cadwork/element_module_detail.py
@unique
class element_module_detail(IntEnum):
    """element module detail

    Examples:
        >>> cadwork.element_module_detail.no_detail
        no_detail

    Args:
        no_detail = 1
        angle_detail = 2
        area_detail = 3
        cross_detail = 4
        edge_detail = 5
        end_detail = 6
        line_detail = 7
        open_detail = 8
        t_detail = 9
        floor_area_detail = 10
        floor_end_detail = 11
        floor_line_detail = 12
        floor_open_detail = 13

    """
    no_detail = 1
    angle_detail = 2
    area_detail = 3
    cross_detail = 4
    edge_detail = 5
    end_detail = 6
    line_detail = 7
    open_detail = 8
    t_detail = 9
    floor_area_detail = 10
    floor_end_detail = 11
    floor_line_detail = 12
    floor_open_detail = 13

    def __int__(self) -> int:
        return self.value

cadwork.division_zone_direction

division_zone_direction (IntEnum)

division zone direction

Examples:

>>> cadwork.division_zone_direction.positive
positive
Source code in cadwork/division_zone_direction.py
@unique
class division_zone_direction(IntEnum):
    """division zone direction

    Examples:
        >>> cadwork.division_zone_direction.positive
        positive

    Args:
        positive = 1
        negative = 2
        no_direction = 3

    """
    positive = 1
    negative = 2
    no_direction = 3

    def __int__(self) -> int:
        return self.value

cadwork.element_grouping_type

element_grouping_type (IntEnum)

element grouping type

Examples:

>>> cadwork.element_grouping_type.group
group
Source code in cadwork/element_grouping_type.py
@unique
class element_grouping_type(IntEnum):
    """element grouping type

    Examples:
        >>> cadwork.element_grouping_type.group
        group

    Args:
        group = 1
        subgroup = 2
        _none = 3

    """
    group = 1
    subgroup = 2
    _none = 3

    def __int__(self) -> int:
        return self.value

F-Keys

cadwork.shortcut_key

shortcut_key (IntEnum)

shortcut key

Examples:

>>> cadwork.shortcut_key.F1
F1
Source code in cadwork/shortcut_key.py
@unique
class shortcut_key(IntEnum):
    """shortcut key

    Examples:
        >>> cadwork.shortcut_key.F1
        F1

    Args:
        F1 = 1
        F2 = 2
        F3 = 3
        F4 = 4
        F5 = 5
        F6 = 6
        F7 = 7
        F8 = 8
        F9 = 9
        F10 = 10
        F11 = 11
        F12 = 12

    """
    F1 = 1
    F2 = 2
    F3 = 3
    F4 = 4
    F5 = 5
    F6 = 6
    F7 = 7
    F8 = 8
    F9 = 9
    F10 = 10
    F11 = 11
    F12 = 12

    def __int__(self) -> int:
        return self.value

cadwork.shortcut_key_modifier

shortcut_key_modifier (IntEnum)

shortcut key modifier

Examples:

>>> cadwork.shortcut_key_modifier.no_modifier
no_modifier
Source code in cadwork/shortcut_key_modifier.py
@unique
class shortcut_key_modifier(IntEnum):
    """shortcut key modifier

    Examples:
        >>> cadwork.shortcut_key_modifier.no_modifier
        no_modifier

    Args:
        no_modifier = 0
        ctrl = 2
        shift = 1
        alt = 3

    """
    no_modifier = 0
    ctrl = 2
    shift = 1
    alt = 3

    def __int__(self) -> int:
        return self.value

Machines

cadwork.btl_version

btl_version (IntEnum)

btl version

Examples:

>>> cadwork.btl_version.btl_1_0
btl_1_0
Source code in cadwork/btl_version.py
@unique
class btl_version(IntEnum):
    """btl version

    Examples:
        >>> cadwork.btl_version.btl_1_0
        btl_1_0

    Args:
        btl_1_0 = 110
        btl_1_1 = 111
        btl_1_2 = 112
        btl_1_3 = 113
        btl_1_4 = 114
        btl_1_5 = 115
        btl_1_6 = 116
        btl_10_0 = 100
        btl_10_1 = 101
        btl_10_2 = 102
        btl_10_3 = 103
        btl_10_4 = 104
        btl_10_5 = 105
        btl_10_6 = 106
        btlx_1_0 = 110
        btlx_1_1 = 111
        btlx_2_0 = 120
        btlx_2_1 = 121
        btlx_2_2 = 122

    """
    # btl_1_0 = 110
    # btl_1_1 = 111
    btl_1_2 = 112
    btl_1_3 = 113
    btl_1_4 = 114
    btl_1_5 = 115
    btl_1_6 = 116
    btl_10_0 = 100
    btl_10_1 = 101
    btl_10_2 = 102
    btl_10_3 = 103
    btl_10_4 = 104
    btl_10_5 = 105
    btl_10_6 = 106
    btlx_1_0 = 110
    btlx_1_1 = 111
    btlx_2_0 = 120
    btlx_2_1 = 121
    btlx_2_2 = 122

    def __int__(self) -> int:
        return self.value

cadwork.hundegger_machine_type

hundegger_machine_type (IntEnum)

hundegger machine type

Examples:

>>> cadwork.hundegger_machine_type.p8_10
p8_10
Source code in cadwork/hundegger_machine_type.py
@unique
class hundegger_machine_type(IntEnum):
    """hundegger machine type

    Examples:
        >>> cadwork.hundegger_machine_type.p8_10
        p8_10

    Args:
        p8_10 = 1
        k1 = 2
        k2 = 3
        k2_cambium = 4
        k2_uf_5 = 5
        k2_uf_5_cambium = 6
        speedcut = 7
        pba = 8
        pba_bvx = 9
        pba_bvx_cambium = 10
        spm = 12
        spm_cambium = 13
        robot_drive = 14
        turbo_drive = 15

    """
    p8_10 = 1
    k1 = 2
    k2 = 3
    k2_cambium = 4
    k2_uf_5 = 5
    k2_uf_5_cambium = 6
    speedcut = 7
    pba = 8
    pba_bvx = 9
    pba_bvx_cambium = 10
    spm = 12
    spm_cambium = 13
    robot_drive = 14
    turbo_drive = 15

    def __int__(self) -> int:
        return self.value

cadwork.weinmann_mfb_version

weinmann_mfb_version (IntEnum)

weinmann mfb version

Examples:

>>> cadwork.weinmann_mfb_version.wup_2_0
wup_2_0
Source code in cadwork/weinmann_mfb_version.py
@unique
class weinmann_mfb_version(IntEnum):
    """weinmann mfb version

    Examples:
        >>> cadwork.weinmann_mfb_version.wup_2_0
        wup_2_0

    Args:
        wup_2_0 = 20
        wup_3_1 = 31
        wup_3_2 = 32
        wup_3_3 = 33
        wup_3_4 = 34

    """
    wup_2_0 = 20
    wup_3_1 = 31
    wup_3_2 = 32
    wup_3_3 = 33
    wup_3_4 = 34

    def __int__(self) -> int:
        return self.value

IFC Aggregation Behaviour

cadwork.ifc_element_combine_behaviour

ifc_element_combine_behaviour (IntEnum)

ifc element combine behaviour

Examples:

>>> cadwork.ifc_element_combine_behaviour.element_module
element_module
Source code in cadwork/ifc_element_combine_behaviour.py
@unique
class ifc_element_combine_behaviour(IntEnum):
    """ifc element combine behaviour

    Examples:
        >>> cadwork.ifc_element_combine_behaviour.element_module
        element_module

    Args:
        element_module = 0
        element_assembly = 1

    """
    element_module = 0
    element_assembly = 1

    def __int__(self) -> int:
        return self.value