Skip to content

Commit

Permalink
Adding TTT example
Browse files Browse the repository at this point in the history
  • Loading branch information
gumyr committed Feb 29, 2024
1 parent f43dac3 commit a489324
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
Binary file added docs/assets/ttt/ttt-23-02-02-sm_hanger.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
limitations under the License.
"""

from build123d import *
from ocp_vscode import *

Expand Down Expand Up @@ -91,7 +92,6 @@
mirror(about=Plane.YZ)
mirror(about=Plane.XZ)

# Target 1028g +/- 10g
print(f"Mass: {sm_hanger.part.volume*7800*1e-6:0.1f} g") # 1027.7g
print(f"Mass: {sm_hanger.part.volume*7800*1e-6:0.1f} g")

show(sm_hanger)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions docs/tttt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ Feel free to click on the parts below to embark on these engaging challenges.
:link: ttt-ppp0110
:link-type: ref

.. grid-item-card:: 24-SPO-06 Buffer Stand
:img-top: assets/ttt/ttt-23-02-02-sm_hanger_object.png
:link: ttt-23-02-02-sm_hanger
:link-type: ref

.. grid-item-card:: 23-T-24 Curved Support
:img-top: assets/ttt/ttt-23-t-24-curved_support_object.png
:link: ttt-23-t-24
Expand Down Expand Up @@ -230,6 +235,21 @@ Party Pack 01-10 Light Cap

.. literalinclude:: assets/ttt/ttt-ppp0110.py

.. _ttt-23-02-02-sm_hanger:

23-02-02 SM Hanger
------------------
.. image:: assets/ttt/ttt-23-02-02-sm_hanger.png
:align: center

.. dropdown:: Object Mass

1028g +/- 10g

.. dropdown:: Reference Implementation

.. literalinclude:: assets/ttt/ttt-23-02-02-sm_hanger.py

.. _ttt-23-t-24:

23-T-24 Curved Support
Expand Down

0 comments on commit a489324

Please sign in to comment.