BREP
facet_list
Source code in src/cadwork/facet_list.pyi
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
|
at(index)
at
Parameters:
Name | Type | Description | Default |
---|---|---|---|
index |
int
|
index |
required |
Returns:
Type | Description |
---|---|
point_3d
|
point_3d |
Source code in src/cadwork/facet_list.pyi
14 15 16 17 18 19 20 21 22 |
|
count()
count
Returns:
Type | Description |
---|---|
int
|
int |
Source code in src/cadwork/facet_list.pyi
7 8 9 10 11 12 |
|
get_distance_to_origin(index)
get distance to origin
Parameters:
Name | Type | Description | Default |
---|---|---|---|
index |
int
|
index |
required |
Returns:
Type | Description |
---|---|
float
|
float |
Source code in src/cadwork/facet_list.pyi
75 76 77 78 79 80 81 82 83 |
|
get_external_polygon(index)
get external polygon
Parameters:
Name | Type | Description | Default |
---|---|---|---|
index |
int
|
index |
required |
Returns:
Type | Description |
---|---|
vertex_list
|
vertex_list |
Source code in src/cadwork/facet_list.pyi
24 25 26 27 28 29 30 31 32 |
|
get_external_polygon_for_reference_face()
get external polygon for reference face
Returns:
Type | Description |
---|---|
vertex_list
|
vertex_list |
Source code in src/cadwork/facet_list.pyi
51 52 53 54 55 56 |
|
get_internal_polygons(index)
get internal polygons
Parameters:
Name | Type | Description | Default |
---|---|---|---|
index |
int
|
index |
required |
Returns:
Type | Description |
---|---|
polygon_list
|
polygon_list |
Source code in src/cadwork/facet_list.pyi
34 35 36 37 38 39 40 41 42 |
|
get_internal_polygons_for_reference_face()
get internal polygons for reference face
Returns:
Type | Description |
---|---|
polygon_list
|
polygon_list |
Source code in src/cadwork/facet_list.pyi
58 59 60 61 62 63 |
|
get_normal_vector(index)
get normal vector
Parameters:
Name | Type | Description | Default |
---|---|---|---|
index |
int
|
index |
required |
Returns:
Type | Description |
---|---|
point_3d
|
point_3d |
Source code in src/cadwork/facet_list.pyi
65 66 67 68 69 70 71 72 73 |
|
get_vertices_for_reference_face()
get vertices for reference face
Returns:
Type | Description |
---|---|
vertex_list
|
vertex_list |
Source code in src/cadwork/facet_list.pyi
44 45 46 47 48 49 |
|
edge_list
Source code in src/cadwork/edge_list.pyi
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
|
at(index)
at
Parameters:
Name | Type | Description | Default |
---|---|---|---|
index |
int
|
index |
required |
Returns:
Type | Description |
---|---|
point_3d
|
point_3d |
Source code in src/cadwork/edge_list.pyi
12 13 14 15 16 17 18 19 20 |
|
count()
count
Returns:
Type | Description |
---|---|
int
|
int |
Source code in src/cadwork/edge_list.pyi
5 6 7 8 9 10 |
|
polygon_list
Source code in src/cadwork/polygon_list.pyi
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
|
at(index)
at
Parameters:
Name | Type | Description | Default |
---|---|---|---|
index |
int
|
index |
required |
Returns:
Type | Description |
---|---|
point_3d
|
point_3d |
Source code in src/cadwork/polygon_list.pyi
12 13 14 15 16 17 18 19 20 |
|
count()
count
Returns:
Type | Description |
---|---|
int
|
int |
Source code in src/cadwork/polygon_list.pyi
5 6 7 8 9 10 |
|
vertex_list
Source code in src/cadwork/vertex_list.pyi
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
|
append(vertex)
append
Parameters:
Name | Type | Description | Default |
---|---|---|---|
vertex |
point_3d
|
vertex |
required |
Returns:
Type | Description |
---|---|
None
|
None |
Source code in src/cadwork/vertex_list.pyi
22 23 24 25 26 27 28 29 30 |
|
at(index)
at
Parameters:
Name | Type | Description | Default |
---|---|---|---|
index |
int
|
index |
required |
Returns:
Type | Description |
---|---|
point_3d
|
point_3d |
Source code in src/cadwork/vertex_list.pyi
12 13 14 15 16 17 18 19 20 |
|
count()
count
Returns:
Type | Description |
---|---|
int
|
int |
Source code in src/cadwork/vertex_list.pyi
5 6 7 8 9 10 |
|