# Filter

Filter paths according to specified criterion. When an option is provided (e.g. <cite>--min-length 10cm</cite>) the corresponding criterion is applied and paths which do not respect the criterion (e.g. a 9cm-long path) are rejected. If multiple options are provided, paths will be kept only if they respect every corresponding criterion (i.e. logical AND operator). See [https://vpype.readthedocs.io/en/stable/reference.html#filter](https://vpype.readthedocs.io/en/stable/reference.html#filter). Also check out [vpype Free Mode](https://wiki.stadtfabrikanten.org/books/fablab-chemnitz/page/vpype-free-mode "vpype Free Mode") which can do the same and more.

<p class="callout info">Similar extension to [Filter By Length/Area](https://wiki.stadtfabrikanten.org/books/fablab-chemnitz/page/filter-by-lengtharea "Filter By Length/Area")</p>

[![grafik.png](https://wiki.stadtfabrikanten.org/uploads/images/gallery/2025-05/scaled-1680-/ZP9wmjAnrkdLtuJh-grafik.png)](https://wiki.stadtfabrikanten.org/uploads/images/gallery/2025-05/ZP9wmjAnrkdLtuJh-grafik.png) [![grafik.png](https://wiki.stadtfabrikanten.org/uploads/images/gallery/2025-05/scaled-1680-/AMrIXFCHEPMVv1Pw-grafik.png)](https://wiki.stadtfabrikanten.org/uploads/images/gallery/2025-05/AMrIXFCHEPMVv1Pw-grafik.png)