mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
Adding mini_nuke to docs
This commit is contained in:
parent
dbaa68b31a
commit
8865981b1a
4 changed files with 32 additions and 0 deletions
BIN
docs/assets/examples/mini_nuke.png
Normal file
BIN
docs/assets/examples/mini_nuke.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 184 KiB |
BIN
docs/assets/examples/mini_nuke_cutaway.png
Normal file
BIN
docs/assets/examples/mini_nuke_cutaway.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 111 KiB |
|
|
@ -64,6 +64,11 @@ Most of the examples show the builder and algebra modes.
|
||||||
:link: maker_coin
|
:link: maker_coin
|
||||||
:link-type: ref
|
:link-type: ref
|
||||||
|
|
||||||
|
.. grid-item-card:: Mini Nuke |Builder|
|
||||||
|
:img-top: assets/examples/mini_nuke.png
|
||||||
|
:link: mini_nuke
|
||||||
|
:link-type: ref
|
||||||
|
|
||||||
.. grid-item-card:: Multi-Sketch Loft |Builder| |Algebra|
|
.. grid-item-card:: Multi-Sketch Loft |Builder| |Algebra|
|
||||||
:img-top: assets/examples/loft.png
|
:img-top: assets/examples/loft.png
|
||||||
:link: multi_sketch_loft
|
:link: multi_sketch_loft
|
||||||
|
|
@ -363,6 +368,31 @@ YouTube channel. There are two key features:
|
||||||
:start-after: [Code]
|
:start-after: [Code]
|
||||||
:end-before: [End]
|
:end-before: [End]
|
||||||
|
|
||||||
|
.. _mini_nuke:
|
||||||
|
|
||||||
|
Mini Nuke
|
||||||
|
---------
|
||||||
|
.. image:: assets/examples/mini_nuke.png
|
||||||
|
:align: center
|
||||||
|
|
||||||
|
This example demonstrates the creation of a container featuring a screw top designed
|
||||||
|
after the "Mini Nuke" from the Fallout video game series. It showcases the process
|
||||||
|
of constructing intricate non-planar objects and leverages the bd_warehouse thread
|
||||||
|
and fastener library to create customize threads and Clearance Holes to match a variety
|
||||||
|
of fasteners. The holes are positioned in locations that do not align with any primary
|
||||||
|
axes, illustrating advanced techniques in 3D object design.
|
||||||
|
|
||||||
|
.. dropdown:: Gallery
|
||||||
|
|
||||||
|
.. image:: assets/examples/mini_nuke_cutaway.png
|
||||||
|
:align: center
|
||||||
|
|
||||||
|
.. dropdown:: |Builder| Reference Implementation (Builder Mode)
|
||||||
|
|
||||||
|
.. literalinclude:: ../examples/mini_nuke.py
|
||||||
|
:start-after: [Code]
|
||||||
|
:end-before: [End]
|
||||||
|
|
||||||
.. _multi_sketch_loft:
|
.. _multi_sketch_loft:
|
||||||
|
|
||||||
Multi-Sketch Loft
|
Multi-Sketch Loft
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,7 @@ license:
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
# [Code]
|
||||||
import copy
|
import copy
|
||||||
import random
|
import random
|
||||||
from airfoils import Airfoil
|
from airfoils import Airfoil
|
||||||
|
|
@ -364,3 +365,4 @@ if MULTIPART_FINS:
|
||||||
nuke_assembly = Compound(children=components)
|
nuke_assembly = Compound(children=components)
|
||||||
|
|
||||||
show(nuke_assembly, center_grid=True, names=["nuke_assembly"])
|
show(nuke_assembly, center_grid=True, names=["nuke_assembly"])
|
||||||
|
# [End]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue