From f2e350803e53dea3a17b4a3aa271e1faedb64e91 Mon Sep 17 00:00:00 2001 From: jdegenstein Date: Mon, 28 Nov 2022 16:00:25 -0600 Subject: [PATCH] Obsolete "XY" to Plane.XY and other minor doc fixes --- docs/key_concepts.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/key_concepts.rst b/docs/key_concepts.rst index 51ec143..157a2ac 100644 --- a/docs/key_concepts.rst +++ b/docs/key_concepts.rst @@ -55,10 +55,10 @@ workplane will apply. For example: .. code-block:: python - with BuildPart(workplane="XY") example: + with BuildPart(Plane.XY) as example: with BuildSketch() as bottom: ... - with Workplanes("XZ") as vertical: + with Workplanes(Plane.XY) as vertical: with BuildSketch() as side: ... with Workplanes(example.faces().sort_by(SortBy.Z)[-1]): @@ -130,7 +130,7 @@ to retrieve the global locations relative to the current workplane(s) as follows .. code-block:: python - with Workplanes("XY", "XZ"): + with Workplanes(Plane.XY, Plane.XZ): locs = GridLocations(1, 1, 2, 2) for l in locs: print(l)