more usage message updates

This commit is contained in:
Adrian Mariano
2022-03-31 19:36:56 -04:00
parent de67e5be43
commit c1cbfdfb12
3 changed files with 88 additions and 117 deletions

View File

@@ -756,6 +756,7 @@ function right_triangle(size=[1,1], center, anchor, spin=0) =
anchor = get_anchor(anchor, center, [-1,-1], [-1,-1])
)
assert(is_vector(size,2))
assert(min(size)>0, "Must give positive size")
let(
path = [ [size.x/2,-size.y/2], [-size.x/2,-size.y/2], [-size.x/2,size.y/2] ]
) reorient(anchor,spin, two_d=true, size=[size.x,size.y], size2=0, shift=-size.x/2, p=path);