mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
Adding draft example to docs
This commit is contained in:
parent
55341a4c67
commit
3949645e5c
3 changed files with 108 additions and 0 deletions
BIN
docs/assets/examples/cast_bearing_unit.png
Normal file
BIN
docs/assets/examples/cast_bearing_unit.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 149 KiB |
|
|
@ -34,6 +34,11 @@ Most of the examples show the builder and algebra modes.
|
|||
:link: examples-canadian_flag
|
||||
:link-type: ref
|
||||
|
||||
.. grid-item-card:: Cast Bearing Unit |Builder|
|
||||
:img-top: assets/examples/cast_bearing_unit.png
|
||||
:link: examples-cast_bearing_unit
|
||||
:link-type: ref
|
||||
|
||||
.. grid-item-card:: Circuit Board With Holes |Builder| |Algebra|
|
||||
:img-top: assets/examples/thumbnail_circuit_board_01.png
|
||||
:link: examples-circuit_board
|
||||
|
|
@ -204,6 +209,23 @@ The builder mode example also generates the SVG file `logo.svg`.
|
|||
:end-before: [End]
|
||||
|
||||
|
||||
.. _examples-cast_bearing_unit:
|
||||
|
||||
Cast Bearing Unit
|
||||
-----------------
|
||||
.. image:: assets/examples/cast_bearing_unit.png
|
||||
:align: center
|
||||
|
||||
This example demonstrates the creation of a castable flanged bearing housing
|
||||
using the `draft` operation to add appropriate draft angles for mold release.
|
||||
|
||||
|
||||
.. dropdown:: |Builder| Reference Implementation (Builder Mode)
|
||||
|
||||
.. literalinclude:: ../examples/cast_bearing_unit.py
|
||||
:start-after: [Code]
|
||||
:end-before: [End]
|
||||
|
||||
.. _examples-canadian_flag:
|
||||
|
||||
Canadian Flag Blowing in The Wind
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue