1 of 5

Python 2, 156 bytes

x,y=input()
d="000 020 104 124 505 525 707 727 757 777".split()
for o in d[x]+"$"+d[y]:
 try:print"%03d"%(int(bin(int(o))[2:]),)
 except:print'---';continue

Try it online!

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.