@@ -18,7 +18,7 @@ The following methods allow you to select points (aka vertices) in a sketch base
18
18
* :py:meth: `Sketch.chamfer `
19
19
* :py:meth: `Sketch.fillet `
20
20
21
- The following query strings are supported:
21
+ The following query bits are supported:
22
22
23
23
.. list-table ::
24
24
:header-rows: 1
@@ -42,11 +42,11 @@ The following query strings are supported:
42
42
- >>X[1]
43
43
- The search string ">>X" sorts all vertices in positive X direction.\
44
44
The "[1]" selects the second vertex (or list of vertices with the\
45
- same distance ) in that list (first in the list has index 0).
45
+ same position ) in that list (first in the list has index 0).
46
46
* - <<[]
47
47
- <<Y[2]
48
- - The search string "<<Y" sorts all vertices in nagative Y direction.\
49
- Returns the third vertex (or list of vertices with the same distance )\
48
+ - The search string "<<Y" sorts all vertices in negative Y direction.\
49
+ Returns the third vertex (or list of vertices with the same position )\
50
50
in that list.
51
51
* - or
52
52
- >Y or <Y
@@ -56,9 +56,77 @@ The following query strings are supported:
56
56
- Vertices farthest in the positive y dir and negative x dir
57
57
* - not
58
58
- not >Y
59
- - Vertices not farthest in the positive y dir
59
+ - All vertices but farthest in the positive y dir
60
60
61
61
62
62
63
+ .. _query_edges :
63
64
65
+ Selecting Edges
66
+ ---------------
67
+
68
+
69
+ The following methods allow you to select points (aka vertices) in a sketch based on a query string.
70
+
71
+ .. hlist ::
72
+
73
+ * :py:meth: `Body.chamfer `
74
+ * :py:meth: `Body.fillet `
75
+
76
+ The following query bits are supported:
77
+
78
+
79
+
80
+ .. list-table ::
81
+ :header-rows: 1
82
+
83
+ * - Query
84
+ - Example
85
+ - Selects
86
+ * - \*
87
+ - \*
88
+ - Selects all edges
89
+ * - ALL
90
+ - ALL
91
+ - Selects all edges
92
+ * - \+
93
+ - \+ Z
94
+ - Edges aligned in the Z direction
95
+ * - \|
96
+ - \| Z
97
+ - Edges parallel to z direction
98
+ * - #
99
+ - #Z
100
+ - Edges perpendicular to z direction
101
+ * - >
102
+ - >Y
103
+ - Edges farthest in positive y direction
104
+ * - <
105
+ - <Y
106
+ - Edges closest in positive y direction
107
+ * - >>[]
108
+ - >>Y[1]
109
+ - The search string ">>Y" sorts all edges in positive Y direction.\
110
+ The "[1]" selects the second edge (or list of edges with the\
111
+ same position) in that list (first in the list has index 0).
112
+ * - <<[]
113
+ - <<Y[0]
114
+ - The search string "<<Y" sorts all edges in negative Y direction.\
115
+ The "[0]" selects the first edge (or list of edges with the\
116
+ same position) in that list.
117
+ * - >[]
118
+ - >Y[1]
119
+ - Sorts all **parallel ** edges in the positive y direction, gets the second one.
120
+ * - <[]
121
+ - <Y[2]
122
+ - Sorts all **parallel ** edges in the negative y direction, gets the third one.
123
+ * - or
124
+ - >Y or <Y
125
+ - Edges farthest in the positive or negative y dir
126
+ * - and
127
+ - >Y and <X
128
+ - Edges farthest in the positive y dir and negative x dir
129
+ * - not
130
+ - not >Y
131
+ - All edges but the farthest in the positive y dir
64
132
0 commit comments