Skip to content

Commit

Permalink
Update advantages.rst
Browse files Browse the repository at this point in the history
Current advantages.rst embeds the wrong lines from examples/intersecting_pipes.py. With these changes, the lines you would see are

```python
from build123d import *

with BuildPart() as pipes:
    box = Box(10, 10, 10, rotation=(10, 20, 30))
    with BuildSketch(*box.faces()) as pipe:
        Circle(4)
    extrude(amount=-5, mode=Mode.SUBTRACT)
    with BuildSketch(*box.faces()) as pipe:
        Circle(4.5)
        Circle(4, mode=Mode.SUBTRACT)
    extrude(amount=10)
    fillet(pipes.edges(Select.LAST), 0.2)
```
  • Loading branch information
xela144 authored Sep 7, 2024
1 parent 88a4057 commit 95ffaa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/advantages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ by the last operation and fillets them. Such a selection would be quite difficul
otherwise.

.. literalinclude:: ../examples/intersecting_pipes.py
:lines: 29, 37-48
:lines: 30, 39-49


Extensions
Expand Down

0 comments on commit 95ffaa3

Please sign in to comment.