From c618967e15290a691ee46782eec2238e7c33b097 Mon Sep 17 00:00:00 2001 From: Jonathan Wagenet Date: Mon, 10 Mar 2025 00:39:09 -0400 Subject: [PATCH] Remove outdated filter_by_normal reference --- docs/advantages.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/advantages.rst b/docs/advantages.rst index 690d871..51a6ac0 100644 --- a/docs/advantages.rst +++ b/docs/advantages.rst @@ -100,13 +100,13 @@ prompt users for valid options without having to refer to documentation. Selectors replaced by Lists =========================== String based selectors have been replaced with standard python filters and -sorting which opens up the full functionality of python lists. To aid the +sorting which opens up the full functionality of python lists. To aid the user, common operations have been optimized as shown here along with a fully custom selection: .. code-block:: python - top = rail.faces().filter_by_normal(Axis.Z)[-1] + top = rail.faces().filter_by(Axis.Z)[-1] ... outside_vertices = filter( lambda v: (v.Y == 0.0 or v.Y == height) and -width / 2 < v.X < width / 2,