diff --git a/examples/MainsBreakOutBox/assemblies/base_assembled.png b/examples/MainsBreakOutBox/assemblies/base_assembled.png
index b94632f..c190589 100644
Binary files a/examples/MainsBreakOutBox/assemblies/base_assembled.png and b/examples/MainsBreakOutBox/assemblies/base_assembled.png differ
diff --git a/examples/MainsBreakOutBox/assemblies/base_assembled_tn.png b/examples/MainsBreakOutBox/assemblies/base_assembled_tn.png
index 5b3053c..6076039 100644
Binary files a/examples/MainsBreakOutBox/assemblies/base_assembled_tn.png and b/examples/MainsBreakOutBox/assemblies/base_assembled_tn.png differ
diff --git a/examples/MainsBreakOutBox/assemblies/base_assembly.png b/examples/MainsBreakOutBox/assemblies/base_assembly.png
index 3f92054..cd08516 100644
Binary files a/examples/MainsBreakOutBox/assemblies/base_assembly.png and b/examples/MainsBreakOutBox/assemblies/base_assembly.png differ
diff --git a/examples/MainsBreakOutBox/assemblies/base_assembly_tn.png b/examples/MainsBreakOutBox/assemblies/base_assembly_tn.png
index 6a63150..b8fb335 100644
Binary files a/examples/MainsBreakOutBox/assemblies/base_assembly_tn.png and b/examples/MainsBreakOutBox/assemblies/base_assembly_tn.png differ
diff --git a/examples/MainsBreakOutBox/assemblies/feet_assembled.png b/examples/MainsBreakOutBox/assemblies/feet_assembled.png
index 2c97f24..c0c47e0 100644
Binary files a/examples/MainsBreakOutBox/assemblies/feet_assembled.png and b/examples/MainsBreakOutBox/assemblies/feet_assembled.png differ
diff --git a/examples/MainsBreakOutBox/assemblies/feet_assembled_tn.png b/examples/MainsBreakOutBox/assemblies/feet_assembled_tn.png
index 7242185..28f523b 100644
Binary files a/examples/MainsBreakOutBox/assemblies/feet_assembled_tn.png and b/examples/MainsBreakOutBox/assemblies/feet_assembled_tn.png differ
diff --git a/examples/MainsBreakOutBox/assemblies/feet_assembly.png b/examples/MainsBreakOutBox/assemblies/feet_assembly.png
index e385b2e..fce5a70 100644
Binary files a/examples/MainsBreakOutBox/assemblies/feet_assembly.png and b/examples/MainsBreakOutBox/assemblies/feet_assembly.png differ
diff --git a/examples/MainsBreakOutBox/assemblies/feet_assembly_tn.png b/examples/MainsBreakOutBox/assemblies/feet_assembly_tn.png
index 538278d..18ef797 100644
Binary files a/examples/MainsBreakOutBox/assemblies/feet_assembly_tn.png and b/examples/MainsBreakOutBox/assemblies/feet_assembly_tn.png differ
diff --git a/examples/MainsBreakOutBox/assemblies/main_assembly.png b/examples/MainsBreakOutBox/assemblies/main_assembly.png
index d281fae..c9433c7 100644
Binary files a/examples/MainsBreakOutBox/assemblies/main_assembly.png and b/examples/MainsBreakOutBox/assemblies/main_assembly.png differ
diff --git a/examples/MainsBreakOutBox/assemblies/main_assembly_tn.png b/examples/MainsBreakOutBox/assemblies/main_assembly_tn.png
index dbad629..c70e5bb 100644
Binary files a/examples/MainsBreakOutBox/assemblies/main_assembly_tn.png and b/examples/MainsBreakOutBox/assemblies/main_assembly_tn.png differ
diff --git a/examples/MainsBreakOutBox/assemblies/mains_in_assembled.png b/examples/MainsBreakOutBox/assemblies/mains_in_assembled.png
index e86d432..378e117 100644
Binary files a/examples/MainsBreakOutBox/assemblies/mains_in_assembled.png and b/examples/MainsBreakOutBox/assemblies/mains_in_assembled.png differ
diff --git a/examples/MainsBreakOutBox/assemblies/mains_in_assembled_tn.png b/examples/MainsBreakOutBox/assemblies/mains_in_assembled_tn.png
index b5aa414..5387f39 100644
Binary files a/examples/MainsBreakOutBox/assemblies/mains_in_assembled_tn.png and b/examples/MainsBreakOutBox/assemblies/mains_in_assembled_tn.png differ
diff --git a/examples/MainsBreakOutBox/assemblies/mains_in_assembly.png b/examples/MainsBreakOutBox/assemblies/mains_in_assembly.png
index ce31501..c733bb7 100644
Binary files a/examples/MainsBreakOutBox/assemblies/mains_in_assembly.png and b/examples/MainsBreakOutBox/assemblies/mains_in_assembly.png differ
diff --git a/examples/MainsBreakOutBox/assemblies/mains_in_assembly_tn.png b/examples/MainsBreakOutBox/assemblies/mains_in_assembly_tn.png
index 01f2b3c..0056846 100644
Binary files a/examples/MainsBreakOutBox/assemblies/mains_in_assembly_tn.png and b/examples/MainsBreakOutBox/assemblies/mains_in_assembly_tn.png differ
diff --git a/examples/MainsBreakOutBox/readme.md b/examples/MainsBreakOutBox/readme.md
index 75d4472..0239352 100644
--- a/examples/MainsBreakOutBox/readme.md
+++ b/examples/MainsBreakOutBox/readme.md
@@ -30,7 +30,7 @@ Earth leakage can be measured Canadian CSA style by disconnected the neutral lin
## Parts list
| Base | Feet | Mains In | Main | TOTALS | |
-|--:|--:|--:|--:|--:|:--|
+|---:|---:|---:|---:|---:|:---|
| | | | | | **Vitamins** |
| . | . | . | 2 | 2 | 4mm shielded jack socket blue |
| . | . | . | 1 | 1 | 4mm shielded jack socket brown |
@@ -61,14 +61,14 @@ Earth leakage can be measured Canadian CSA style by disconnected the neutral lin
## Base Assembly
### Vitamins
|Qty|Description|
-|--:|:----------|
+|---:|:----------|
|2| Heatfit insert M3|
### 3D Printed parts
| 1 x socket_box.stl |
-|--|
+|---|
| ![socket_box.stl](stls/socket_box.png)
@@ -88,7 +88,7 @@ Earth leakage can be measured Canadian CSA style by disconnected the neutral lin
## Feet Assembly
### Vitamins
|Qty|Description|
-|--:|:----------|
+|---:|:----------|
|4| Nut M3 x 2.4mm nyloc|
|4| Screw M3 dome x 10mm|
|8| Washer M3 x 7mm x 0.5mm|
@@ -97,7 +97,7 @@ Earth leakage can be measured Canadian CSA style by disconnected the neutral lin
### 3D Printed parts
| 4 x foot.stl |
-|--|
+|---|
| ![foot.stl](stls/foot.png)
@@ -105,7 +105,7 @@ Earth leakage can be measured Canadian CSA style by disconnected the neutral lin
### Sub-assemblies
| 1 x base_assembly |
-|--|
+|---|
| ![base_assembled](assemblies/base_assembled_tn.png)
@@ -124,7 +124,7 @@ Earth leakage can be measured Canadian CSA style by disconnected the neutral lin
## Mains In Assembly
### Vitamins
|Qty|Description|
-|--:|:----------|
+|---:|:----------|
|3| Heatshrink sleeving ID 3.2mm x 15mm - not shown|
|1| IEC inlet for ATX|
|2| Nut M3 x 2.4mm nyloc|
@@ -138,7 +138,7 @@ Earth leakage can be measured Canadian CSA style by disconnected the neutral lin
### Sub-assemblies
| 1 x feet_assembly |
-|--|
+|---|
| ![feet_assembled](assemblies/feet_assembled_tn.png)
@@ -163,7 +163,7 @@ Earth leakage can be measured Canadian CSA style by disconnected the neutral lin
## Main Assembly
### Vitamins
|Qty|Description|
-|--:|:----------|
+|---:|:----------|
|2| 4mm shielded jack socket blue|
|1| 4mm shielded jack socket brown|
|2| 4mm shielded jack socket green|
@@ -178,7 +178,7 @@ Earth leakage can be measured Canadian CSA style by disconnected the neutral lin
### Sub-assemblies
| 1 x mains_in_assembly |
-|--|
+|---|
| ![mains_in_assembled](assemblies/mains_in_assembled_tn.png)
diff --git a/scripts/doc_scripts.py b/scripts/doc_scripts.py
index 1b5d293..d272728 100755
--- a/scripts/doc_scripts.py
+++ b/scripts/doc_scripts.py
@@ -40,7 +40,7 @@ These are located in the ```scripts``` subdirectory, which needs to be added to
They should work with both Python 2 and Python 3.
| Script | Function |
-|:--|:--|''', file = doc_file)
+|:---|:---|''', file = doc_file)
for file in os.listdir('scripts'):
if file.endswith('.py'):
blurb = ''
diff --git a/scripts/readme.md b/scripts/readme.md
index bd6e53a..f4787a9 100644
--- a/scripts/readme.md
+++ b/scripts/readme.md
@@ -5,7 +5,7 @@ These are located in the ```scripts``` subdirectory, which needs to be added to
They should work with both Python 2 and Python 3.
| Script | Function |
-|:--|:--|
+|:---|:---|
| ```bom.py``` | Generates BOM files for the project. |
| ```c14n_stl.py``` | OpenSCAD produces randomly ordered STL files. This script re-orders them consistently so that GIT can tell if they have changed or not. |
| ```doc_scripts.py``` | Makes this document and doc/usage.md. |
diff --git a/scripts/views.py b/scripts/views.py
index 1db9fc4..02286f3 100755
--- a/scripts/views.py
+++ b/scripts/views.py
@@ -240,7 +240,7 @@ def views(target, do_assemblies = None):
print('| %s ' % name, file = doc_file, end = '')
print('| TOTALS | |', file = doc_file)
- print(('|--:' * len(flat_bom) + '|--:|:--|'), file = doc_file)
+ print(('|---:' * len(flat_bom) + '|---:|:---|'), file = doc_file)
for t in types:
if things[t]:
@@ -283,7 +283,7 @@ def views(target, do_assemblies = None):
if vitamins:
print("### Vitamins", file = doc_file)
print("|Qty|Description|", file = doc_file)
- print("|--:|:----------|", file = doc_file)
+ print("|---:|:----------|", file = doc_file)
for v in sorted(vitamins, key = lambda s: s.split(":")[-1]):
print("|%d|%s|" % (vitamins[v], v.split(":")[1]), file = doc_file)
print("\n", file = doc_file)
@@ -297,7 +297,7 @@ def views(target, do_assemblies = None):
print('%s %d x %s |' % ('\n|' if not (i % 3) else '', printed[p], p), file = doc_file, end = '')
if (i % 3) == 2 or i == len(printed) - 1:
n = (i % 3) + 1
- print('\n|%s' % ('--|' * n), file = doc_file)
+ print('\n|%s' % ('---|' * n), file = doc_file)
for j in range(n):
part = keys[i - n + j + 1]
print('| ![%s](stls/%s) %s' % (part, part.replace('.stl','.png'), '|\n' if j == j - 1 else ''), end = '', file = doc_file)
@@ -313,7 +313,7 @@ def views(target, do_assemblies = None):
print('%s %d x %s |' % ('\n|' if not (i % 3) else '', routed[r], r), file = doc_file, end = '')
if (i % 3) == 2 or i == len(routed) - 1:
n = (i % 3) + 1
- print('\n|%s' % ('--|' * n), file = doc_file)
+ print('\n|%s' % ('---|' * n), file = doc_file)
for j in range(n):
part = keys[i - n + j + 1]
print('| ![%s](dxfs/%s) %s' % (part, part.replace('.dxf','.png'), '|\n' if j == j - 1 else ''), end = '', file = doc_file)
@@ -329,7 +329,7 @@ def views(target, do_assemblies = None):
print('%s %d x %s |' % ('\n|' if not (i % 3) else '', sub_assemblies[a], a), file = doc_file, end = '')
if (i % 3) == 2 or i == len(keys) - 1:
n = (i % 3) + 1
- print('\n|%s' % ('--|' * n), file = doc_file)
+ print('\n|%s' % ('---|' * n), file = doc_file)
for j in range(n):
a = keys[i - n + j + 1].replace('_assembly', '_assembled')
print('| ![%s](assemblies/%s) %s' % (a, a + '_tn.png', '|\n' if j == j - 1 else ''), end = '', file = doc_file)