mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 10:41:20 -08:00
Replaced Grid/HexLocations centered for align
This commit is contained in:
parent
0ee290c816
commit
c8928a8e68
6 changed files with 61 additions and 42 deletions
|
|
@ -61,7 +61,7 @@ class Hinge(Compound):
|
|||
with BuildPart() as hinge_profile:
|
||||
with BuildSketch():
|
||||
for i, loc in enumerate(
|
||||
GridLocations(0, length / 5, 1, 5, centered=(False, False))
|
||||
GridLocations(0, length / 5, 1, 5, align=(Align.MIN, Align.MIN))
|
||||
):
|
||||
if i % 2 == inner:
|
||||
with Locations(loc):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue