@@ -191,7 +191,7 @@ def filter(self, objectList: Sequence[Shape]) -> List[Shape]:
191
191
192
192
193
193
class ParallelDirSelector (BaseDirSelector ):
194
- """
194
+ r """
195
195
Selects objects parallel with the provided direction.
196
196
197
197
Applicability:
@@ -677,9 +677,9 @@ def _getVector(self, pr):
677
677
return self .axes [pr .simple_dir ]
678
678
679
679
def filter (self , objectList ):
680
- """
680
+ r """
681
681
selects minimum, maximum, positive or negative values relative to a direction
682
- [+\|-\|<\|>\ |] \<X\|Y\ |Z>
682
+ ``[+|-|<|> |] <X|Y |Z>``
683
683
"""
684
684
return self .mySelector .filter (objectList )
685
685
@@ -740,7 +740,7 @@ def not_callback(res):
740
740
741
741
742
742
class StringSyntaxSelector (Selector ):
743
- """
743
+ r """
744
744
Filter lists objects using a simple string syntax. All of the filters available in the string syntax
745
745
are also available ( usually with more functionality ) through the creation of full-fledged
746
746
selector objects. see :py:class:`Selector` and its subclasses
@@ -776,11 +776,11 @@ class StringSyntaxSelector(Selector):
776
776
:and:
777
777
Logical AND, e.g. >X and >Y
778
778
:or:
779
- Logical OR, e.g. |X or |Y
779
+ Logical OR, e.g. \ |X or \ |Y
780
780
:not:
781
781
Logical NOT, e.g. not #XY
782
782
:exc(ept):
783
- Set difference (equivalent to AND NOT): |X exc >Z
783
+ Set difference (equivalent to AND NOT): \ |X exc >Z
784
784
785
785
Finally, it is also possible to use even more complex expressions with nesting
786
786
and arbitrary number of terms, e.g.
0 commit comments