mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-15 15:20:37 -08:00
Fix docs for Ex.19
This commit is contained in:
parent
3644f63837
commit
83603ede58
1 changed files with 2 additions and 2 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue