Fix docs for Ex.19

This commit is contained in:
jdegenstein 2023-01-11 14:52:58 -06:00 committed by GitHub
parent 3644f63837
commit 83603ede58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -283,7 +283,7 @@ with a negative distance and Mode.SUBTRACT to cut it out from the main body.
Here a face is selected and passed to ``Workplanes``, then the X and Y positions of a vertex are selected
and passed to ``Locations`` as the center point for a ``BuldSketch`` which is used to place a circle that
cuts through the main part. Note that if you passed the variable ``vtx`` directly to ``Locations`` then
the part would be offset from the Workplane by the vertex z-position. The ``sort_by(Axis.X and Axis.Y)``
the part would be offset from the Workplane by the vertex z-position. The ``.sort_by(Axis.X).sort_by(Axis.Y)``
first sorts by Axis.X and then by Axis.Y.
.. image:: assets/general_ex19.svg
@ -431,4 +431,4 @@ the bottle opening.
.. literalinclude:: general_examples.py
:start-after: [Ex. 29]
:end-before: [Ex. 29]
:end-before: [Ex. 29]