Adding draft example to docs

This commit is contained in:
gumyr 2025-05-25 16:57:23 -04:00
parent 55341a4c67
commit 3949645e5c
3 changed files with 108 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB

View file

@ -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