End-Type Controller
clear_errors()
clear errors
Returns:
Type | Description |
---|---|
None
|
None |
Source code in src/endtype_controller/__init__.pyi
122 123 124 125 126 127 |
|
create_new_endtype(endtype_name, endtype_id, folder_name)
Creates a new Endtype
Parameters:
Name | Type | Description | Default |
---|---|---|---|
endtype_name |
str
|
endtype_name |
required |
endtype_id |
int
|
endtype_id |
required |
folder_name |
str
|
folder_name |
required |
Returns:
Type | Description |
---|---|
int
|
int |
Source code in src/endtype_controller/__init__.pyi
129 130 131 132 133 134 135 136 137 138 139 |
|
get_endtype_id(name)
Gets the endtypeID by endtypename
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name |
str
|
name |
required |
Returns:
Type | Description |
---|---|
int
|
int |
Source code in src/endtype_controller/__init__.pyi
13 14 15 16 17 18 19 20 21 |
|
get_endtype_id_end(element_id)
Gets the endtypeID of the end face
Parameters:
Name | Type | Description | Default |
---|---|---|---|
element_id |
int
|
element_id |
required |
Returns:
Type | Description |
---|---|
int
|
int |
Source code in src/endtype_controller/__init__.pyi
33 34 35 36 37 38 39 40 41 |
|
get_endtype_id_facet(a0, a1)
get endtype id facet
Parameters:
Name | Type | Description | Default |
---|---|---|---|
a0 |
int
|
a0 |
required |
a1 |
int
|
a1 |
required |
Returns:
Type | Description |
---|---|
int
|
int |
Source code in src/endtype_controller/__init__.pyi
43 44 45 46 47 48 49 50 51 52 |
|
get_endtype_id_start(element_id)
Gets the endtypeID of the start face
Parameters:
Name | Type | Description | Default |
---|---|---|---|
element_id |
int
|
element_id |
required |
Returns:
Type | Description |
---|---|
int
|
int |
Source code in src/endtype_controller/__init__.pyi
23 24 25 26 27 28 29 30 31 |
|
get_endtype_name(element_id)
Gets the endtypename by endtypeID
Parameters:
Name | Type | Description | Default |
---|---|---|---|
element_id |
int
|
element_id |
required |
Returns:
Type | Description |
---|---|
str
|
str |
Source code in src/endtype_controller/__init__.pyi
141 142 143 144 145 146 147 148 149 |
|
get_endtype_name_end(element_id)
Gets the endtypename of the end face
Parameters:
Name | Type | Description | Default |
---|---|---|---|
element_id |
int
|
element_id |
required |
Returns:
Type | Description |
---|---|
str
|
str |
Source code in src/endtype_controller/__init__.pyi
161 162 163 164 165 166 167 168 169 |
|
get_endtype_name_facet(a0, a1)
get endtype name facet
Parameters:
Name | Type | Description | Default |
---|---|---|---|
a0 |
int
|
a0 |
required |
a1 |
int
|
a1 |
required |
Returns:
Type | Description |
---|---|
str
|
str |
Source code in src/endtype_controller/__init__.pyi
171 172 173 174 175 176 177 178 179 180 |
|
get_endtype_name_start(element_id)
Gets the endtypename of the start face
Parameters:
Name | Type | Description | Default |
---|---|---|---|
element_id |
int
|
element_id |
required |
Returns:
Type | Description |
---|---|
str
|
str |
Source code in src/endtype_controller/__init__.pyi
151 152 153 154 155 156 157 158 159 |
|
get_existing_dovetail_dado_ids()
Get the existing dado endtypeIDs
Returns:
Type | Description |
---|---|
List[int]
|
list of existing dado endtypeIDs |
Source code in src/endtype_controller/__init__.pyi
203 204 205 206 207 208 |
|
get_existing_dovetail_ids()
Get the existing dovetail endtypeIDs
Returns:
Type | Description |
---|---|
List[int]
|
list of existing dovetail endtypeIDs |
Source code in src/endtype_controller/__init__.pyi
196 197 198 199 200 201 |
|
get_existing_japanese_tenon_ids()
Get the existing japanese-tenon endtypeIDs
Returns:
Type | Description |
---|---|
List[int]
|
list of existing japanese-tenon endtypeIDs |
Source code in src/endtype_controller/__init__.pyi
210 211 212 213 214 215 |
|
get_existing_lengthening_ids()
Get the existing lengthening endtypeIDs
Returns:
Type | Description |
---|---|
List[int]
|
list of existing lengthening endtypeIDs |
Source code in src/endtype_controller/__init__.pyi
189 190 191 192 193 194 |
|
get_existing_tenon_ids()
Get the existing tenon endtypeIDs
Returns:
Type | Description |
---|---|
List[int]
|
list of existing tenon endtypeIDs |
Source code in src/endtype_controller/__init__.pyi
182 183 184 185 186 187 |
|
get_last_error(error_code)
get last error
Parameters:
Name | Type | Description | Default |
---|---|---|---|
error_code |
int
|
error_code |
required |
Returns:
Type | Description |
---|---|
str
|
str |
Source code in src/endtype_controller/__init__.pyi
3 4 5 6 7 8 9 10 11 |
|
set_endtype_id_end(element_id, endtype_id)
Sets the endtype to end face by endtypeID
Parameters:
Name | Type | Description | Default |
---|---|---|---|
element_id |
int
|
element_id |
required |
endtype_id |
int
|
endtype_id |
required |
Returns:
Type | Description |
---|---|
None
|
None |
Source code in src/endtype_controller/__init__.pyi
99 100 101 102 103 104 105 106 107 108 |
|
set_endtype_id_facet(a0, a1, a2)
set endtype id facet
Parameters:
Name | Type | Description | Default |
---|---|---|---|
a0 |
int
|
a0 |
required |
a1 |
int
|
a1 |
required |
a2 |
int
|
a2 |
required |
Returns:
Type | Description |
---|---|
None
|
None |
Source code in src/endtype_controller/__init__.pyi
110 111 112 113 114 115 116 117 118 119 120 |
|
set_endtype_id_start(element_id, endtype_id)
Sets the endtype to start face by endtypeID
Parameters:
Name | Type | Description | Default |
---|---|---|---|
element_id |
int
|
element_id |
required |
endtype_id |
int
|
endtype_id |
required |
Returns:
Type | Description |
---|---|
None
|
None |
Source code in src/endtype_controller/__init__.pyi
88 89 90 91 92 93 94 95 96 97 |
|
set_endtype_name_end(element_id, name)
Sets the endtype to end face by endtypename
Parameters:
Name | Type | Description | Default |
---|---|---|---|
element_id |
int
|
element_id |
required |
name |
str
|
name |
required |
Returns:
Type | Description |
---|---|
None
|
None |
Source code in src/endtype_controller/__init__.pyi
65 66 67 68 69 70 71 72 73 74 |
|
set_endtype_name_facet(a0, a1, a2)
set endtype name facet
Parameters:
Name | Type | Description | Default |
---|---|---|---|
a0 |
int
|
a0 |
required |
a1 |
str
|
a1 |
required |
a2 |
int
|
a2 |
required |
Returns:
Type | Description |
---|---|
None
|
None |
Source code in src/endtype_controller/__init__.pyi
76 77 78 79 80 81 82 83 84 85 86 |
|
set_endtype_name_start(element_id, name)
Sets the endtype to start face by endtypename
Parameters:
Name | Type | Description | Default |
---|---|---|---|
element_id |
int
|
element_id |
required |
name |
str
|
name |
required |
Returns:
Type | Description |
---|---|
None
|
None |
Source code in src/endtype_controller/__init__.pyi
54 55 56 57 58 59 60 61 62 63 |
|
start_endtype_dialog()
Start endtype dialog
Returns:
Type | Description |
---|---|
int
|
Selected endtypeID |
Source code in src/endtype_controller/__init__.pyi
217 218 219 220 221 222 |
|