intro ex24 remove unnecessary parens

This commit is contained in:
jdegenstein 2023-04-07 16:50:29 -05:00 committed by GitHub
parent a2624e9497
commit e9d244fc3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -553,7 +553,7 @@ length, width, thickness = 80.0, 60.0, 10.0
with BuildPart() as ex24: with BuildPart() as ex24:
Box(length, length, thickness) Box(length, length, thickness)
with BuildSketch((ex24.faces().group_by(Axis.Z)[0])[0]) as ex24_sk: with BuildSketch(ex24.faces().group_by(Axis.Z)[0][0]) as ex24_sk:
Circle(length / 3) Circle(length / 3)
with BuildSketch(ex24_sk.faces()[0].offset(length / 2)) as ex24_sk2: with BuildSketch(ex24_sk.faces()[0].offset(length / 2)) as ex24_sk2:
Rectangle(length / 6, width / 6) Rectangle(length / 6, width / 6)