mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
Introduced with notation for workplanes and points
This commit is contained in:
parent
81a6a2bde3
commit
69abdd9c45
19 changed files with 660 additions and 481 deletions
|
|
@ -29,15 +29,15 @@ from build123d import *
|
|||
|
||||
with BuildPart() as pipes:
|
||||
Box(10, 10, 10, rotation=(10, 20, 30))
|
||||
WorkplanesFromFaces(*pipes.faces(), replace=True)
|
||||
with BuildSketch() as pipe:
|
||||
Circle(4)
|
||||
Extrude(-5, mode=Mode.SUBTRACT)
|
||||
with BuildSketch() as pipe:
|
||||
Circle(4.5)
|
||||
Circle(4, mode=Mode.SUBTRACT)
|
||||
Extrude(10)
|
||||
Fillet(*pipes.edges(Select.LAST), radius=0.2)
|
||||
with Workplanes(*pipes.faces()):
|
||||
with BuildSketch() as pipe:
|
||||
Circle(4)
|
||||
Extrude(-5, mode=Mode.SUBTRACT)
|
||||
with BuildSketch() as pipe:
|
||||
Circle(4.5)
|
||||
Circle(4, mode=Mode.SUBTRACT)
|
||||
Extrude(10)
|
||||
Fillet(*pipes.edges(Select.LAST), radius=0.2)
|
||||
|
||||
if "show_object" in locals():
|
||||
show_object(pipes.part, name="intersecting pipes")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue