mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
modified example for review example_1.rst
modified: examples/benchy.py new file: examples/benchy_v2024.py modified: examples/boxes_on_faces.py modified: examples/boxes_on_faces_algebra.py modified: examples/build123d_customizable_logo.py modified: examples/build123d_customizable_logo_algebra.py modified: examples/build123d_logo_algebra.py
This commit is contained in:
parent
05477c4bce
commit
a836505173
7 changed files with 119 additions and 1 deletions
|
|
@ -1,5 +1,9 @@
|
|||
# license see [build123d_license](../LICENSE)
|
||||
# [Imports]
|
||||
from build123d import *
|
||||
from ocp_vscode import *
|
||||
|
||||
# [Code]
|
||||
b = Box(3, 3, 3)
|
||||
b2 = Rot(0, 0, 45) * extrude(Rectangle(1, 2), 0.1)
|
||||
for plane in [Plane(f) for f in b.faces()]:
|
||||
|
|
@ -7,3 +11,4 @@ for plane in [Plane(f) for f in b.faces()]:
|
|||
|
||||
if "show_object" in locals():
|
||||
show_object(b, name="box on faces")
|
||||
# [End]
|
||||
Loading…
Add table
Add a link
Reference in a new issue