added alg123d only where needed

This commit is contained in:
Bernhard 2023-03-20 20:20:33 +01:00
parent e9964e465b
commit aaae6f5a08
15 changed files with 99 additions and 80 deletions

View file

@ -1,7 +1,8 @@
from build123d import *
import alg123d as ad
b = Box(3, 3, 3)
b2 = Rot(0, 0, 45) * Box(1, 2, 0.1)
b2 = Rot(0, 0, 45) * ad.extrude(Rectangle(1, 2), 0.2)
for plane in [Plane(f) for f in b.faces()]:
b += plane * b2