MCPcopy
hub / github.com/CadQuery/cadquery / filter

Method filter

cadquery/occ_impl/shapes.py:1928–1930  ·  view source on GitHub ↗
(self, f: Callable[[Shape], bool])

Source from the content-addressed store, hash-verified

1926 return rv
1927
1928 def filter(self, f: Callable[[Shape], bool]) -> Compound:
1929
1930 return compound(*filter(f, self))
1931
1932 def sort(self, key: Callable[[Shape], Any]) -> Compound:
1933

Callers

nothing calls this directly

Calls 1

compoundFunction · 0.85

Tested by

no test coverage detected