End-Type Controller
clear_errors()
clear errors
Returns:
Type | Description |
---|---|
None
|
None |
Source code in src/endtype_controller/__init__.pyi
125 126 127 128 129 130 |
|
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
132 133 134 135 136 137 138 139 140 141 142 |
|
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(element_id, face_number)
get endtype id facet
Parameters:
Name | Type | Description | Default |
---|---|---|---|
element_id |
int
|
element_id |
required |
face_number |
int
|
face_number |
required |
Returns:
Type | Description |
---|---|
int
|
int |
Source code in src/endtype_controller/__init__.pyi
44 45 46 47 48 49 50 51 52 53 |
|
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
144 145 146 147 148 149 150 151 152 |
|
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
164 165 166 167 168 169 170 171 172 |
|
get_endtype_name_facet(element_id, face_number)
get endtype name facet
Parameters:
Name | Type | Description | Default |
---|---|---|---|
element_id |
int
|
element_id |
required |
face_number |
int
|
face_number |
required |
Returns:
Type | Description |
---|---|
str
|
str |
Source code in src/endtype_controller/__init__.pyi
175 176 177 178 179 180 181 182 183 184 |
|
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
154 155 156 157 158 159 160 161 162 |
|
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
207 208 209 210 211 212 |
|
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
200 201 202 203 204 205 |
|
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
214 215 216 217 218 219 |
|
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
193 194 195 196 197 198 |
|
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
186 187 188 189 190 191 |
|
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
101 102 103 104 105 106 107 108 109 110 |
|
set_endtype_id_facet(element_id, endtype_id, face_number)
set endtype id facet
Parameters:
Name | Type | Description | Default |
---|---|---|---|
element_id |
int
|
element_id |
required |
endtype_id |
int
|
endtype_id |
required |
face_number |
int
|
face_number |
required |
Returns:
Type | Description |
---|---|
None
|
None |
Source code in src/endtype_controller/__init__.pyi
113 114 115 116 117 118 119 120 121 122 123 |
|
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
90 91 92 93 94 95 96 97 98 99 |
|
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
66 67 68 69 70 71 72 73 74 75 |
|
set_endtype_name_facet(element_id, name, face_number)
set endtype name facet
Parameters:
Name | Type | Description | Default |
---|---|---|---|
element_id |
int
|
element_id |
required |
name |
str
|
name |
required |
face_number |
int
|
face_number |
required |
Returns:
Type | Description |
---|---|
None
|
None |
Source code in src/endtype_controller/__init__.pyi
78 79 80 81 82 83 84 85 86 87 88 |
|
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
55 56 57 58 59 60 61 62 63 64 |
|
start_endtype_dialog()
Start endtype dialog
Returns:
Type | Description |
---|---|
int
|
Selected endtypeID |
Source code in src/endtype_controller/__init__.pyi
221 222 223 224 225 226 |
|