Add->add, restored context logging and validation

This commit is contained in:
Roger Maitland 2023-03-23 15:32:15 -04:00
parent cb05ee97b6
commit 92979fc29c
21 changed files with 210 additions and 239 deletions

View file

@ -64,9 +64,9 @@ with BuildLine() as extension_lines:
(logo_width, -ext_line_length - font_height * 0.1),
)
with Locations(l1 @ 0.5):
Add(*arrow_left.line)
add(*arrow_left.line)
with Locations(l2 @ 0.5):
Add(*arrow_left.line, rotation=180.0)
add(*arrow_left.line, rotation=180.0)
Line(l1 @ 0.5, l1 @ 0.5 + Vector(dim_line_length, 0))
Line(l2 @ 0.5, l2 @ 0.5 - Vector(dim_line_length, 0))
@ -76,7 +76,7 @@ with BuildSketch() as build:
(l1 @ 0.5 + l2 @ 0.5) / 2
- Vector((build_vertices[-1].X + build_vertices[0].X) / 2, 0)
):
Add(build_text.sketch)
add(build_text.sketch)
# logo = Assembly(None, name="logo")
# logo.add(one.wires()[0], name="one")