mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-10 12:50:40 -08:00
Fix sort for Axis.X, Axis.Y in Ex. 19
This commit is contained in:
parent
8b87b58f48
commit
3644f63837
1 changed files with 1 additions and 1 deletions
|
|
@ -444,7 +444,7 @@ with BuildPart() as ex19:
|
|||
Box(length, width, thickness)
|
||||
topf = ex19.faces().sort_by(Axis.Z)[-1]
|
||||
with Workplanes(topf):
|
||||
vtx = topf.vertices().sort_by(Axis.X and Axis.Y)[1]
|
||||
vtx = topf.vertices().sort_by(Axis.X).sort_by(Axis.Y)[1]
|
||||
with Locations((vtx.X, vtx.Y)):
|
||||
with BuildSketch() as ex19_sk:
|
||||
Circle(radius=width / 4)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue