mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
added alg123d only where needed
This commit is contained in:
parent
e9964e465b
commit
aaae6f5a08
15 changed files with 99 additions and 80 deletions
|
|
@ -1,6 +1,7 @@
|
|||
from itertools import product
|
||||
import alg123d as ad
|
||||
|
||||
from alg123d import *
|
||||
from build123d import *
|
||||
|
||||
pcb = Rectangle(70, 30)
|
||||
|
||||
|
|
@ -15,7 +16,7 @@ for x, i in product((30, 35), range(30 // 5 - 1)):
|
|||
y = i * 5 - 10
|
||||
pcb -= Pos(x, y) * Circle(1)
|
||||
|
||||
pcb = extrude(pcb, 3)
|
||||
pcb = ad.extrude(pcb, 3)
|
||||
|
||||
if "show_object" in locals():
|
||||
show(pcb)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue