mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 10:41:20 -08:00
vectorized location multiplication
This commit is contained in:
parent
f871a73e34
commit
15bdaa05d4
7 changed files with 46 additions and 57 deletions
|
|
@ -1,7 +1,7 @@
|
|||
from build123d import *
|
||||
|
||||
b = Box(3, 3, 3)
|
||||
b2 = Rot(0, 0, 45) * extrude(Rectangle(1, 2), 0.2)
|
||||
b2 = Rot(0, 0, 45) * extrude(Rectangle(1, 2), 0.1)
|
||||
for plane in [Plane(f) for f in b.faces()]:
|
||||
b += plane * b2
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue