# [Python 2], <s>156</s> 153 bytes

<!-- language-all: lang-python -->

    x,y=input()
    d="000020104124505525707727757777"
    for o in d[3*x:][:3]+"$"+d[3*y:][:3]:
     try:print"%03d"%(int(bin(int(o))[2:]),)
     except:print'---';continue

[Try it online!][TIO-jbki5ysl]

[Python 2]: https://docs.python.org/2/
[TIO-jbki5ysl]: https://tio.run/##JYrRCoMgGEbvfQqRRbkK/iyROXqS1s2qkTe/Egr59M6tc3O@A5@LfrcoUhhf6WziaNAFX3GyjgwyAjoYOjFIkFJIBUoJpaTKMPKxB7XUIF2n/n7qedL9XLMbq38dr9aE@iNqdxj0rIB@ZUWVZ/U2@LflfBJ65g0ndDuXzfnrW7ZtWz4Xi95g2FKC5vEF "Python 2 – Try It Online"

-3 with thanks to @NieDzejkob

Not intended as a serious contender. Just an experiment with binary, exceptions and string formatting. Takes input as 2 integers and outputs in vertical format with 0=space and 1=dot. The $ is there to force an exception. It could actually be anything that cannot be converted to binary.