# [Python](https://www.python.org), <s>232</s> 223 bytes

*-9 bytes thanks to [@Kevin Cruijssen](https://codegolf.stackexchange.com/users/52210/kevin-cruijssen)*

<pre><code class="lang-python">def f(a):R=range;E=enumerate;s=[list(&quot; &quot;*6*len(a[0]))for _ in R(4*len(a))];[s[I+3*i].__setitem__(J+j*5,&quot;/|-o&quot;[2*(I%3&lt;1)+(J%5&lt;1)])for i,r in E(a)for j,x in E(r)if x for I in R(4)for J in R(6)];print(*map(&quot;&quot;.join,s),sep=&quot;\n&quot;)</code></pre>

[Attempt This Online!](https://ato.pxeger.com/run?1=TVBBbsMgEDy3r0BIkQCT1DRNFMX1MQf7mCtFlqVCgxVjC4iUSP1JL7m0f-qpXyk2jpTT7MzOzi58_fQXf-jM9fp98mq--f17lwooVOPtPre1-ZDZLpfm1Epbe5m5nB-18wgCSNbkKA2qeSowVp0FFdAG7NFLlDEWGXe8SJZEi0VVOem1l21VoTJpyIrCp895B_kzQcVs-cpwgsrZKqAYszS1Q9ou5Ay0oedILdYKnMGgFdO60VBGsg5Le6uNR6StewThoum0oQ5TJ_scvhmIp2dehql2mOKcp5TRVNCAoQrIAmdC0NCLZWylUbq52eieXPcR6dRmoxYNQojt44NC7XTA7b__AQ)