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

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

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

[Try it online!][TIO-jbkow8gr]

[Python 2]: https://docs.python.org/2/
[TIO-jbkow8gr]: https://tio.run/##JYrBCoQgGITvPoXIRkoGf24SufQkbZfNlvXyK6GQT@9GzRzmm2FCjj@PqqTpXQ6ZJ4chRS6InRhA12k9nAJ1Ww8AfX9vjHz9Tj11SO18GNPB0rAHa@ycr2IIjXs2YXcYWQVPyyp@Iv84vNILMSuzCCkI3Y51C/H@1m3b1q/VY3SYtlJAjn8 "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.