adapt examples to newest part_operations

This commit is contained in:
Bernhard 2023-03-20 22:00:35 +01:00
parent 11a5b20f2f
commit 9ac5393c17
10 changed files with 23 additions and 16 deletions

View file

@ -1,7 +1,6 @@
from itertools import product
import alg123d as ad
from build123d import *
from build123d.part_operations import *
pcb = Rectangle(70, 30)
@ -16,7 +15,7 @@ for x, i in product((30, 35), range(30 // 5 - 1)):
y = i * 5 - 10
pcb -= Pos(x, y) * Circle(1)
pcb = ad.extrude(pcb, 3)
pcb = extrude(pcb, 3)
if "show_object" in locals():
show(pcb)