Ensured all Markdown table heading markers have at least three dashes.
Before Width: | Height: | Size: 96 KiB After Width: | Height: | Size: 96 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 107 KiB After Width: | Height: | Size: 108 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 104 KiB After Width: | Height: | Size: 105 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 137 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 179 KiB After Width: | Height: | Size: 187 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 121 KiB After Width: | Height: | Size: 124 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 134 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
@ -30,7 +30,7 @@ Earth leakage can be measured Canadian CSA style by disconnected the neutral lin
|
|||||||
<a name="Parts_list"></a>
|
<a name="Parts_list"></a>
|
||||||
## Parts list
|
## Parts list
|
||||||
| <span style="writing-mode: vertical-rl; text-orientation: mixed;">Base</span> | <span style="writing-mode: vertical-rl; text-orientation: mixed;">Feet</span> | <span style="writing-mode: vertical-rl; text-orientation: mixed;">Mains In</span> | <span style="writing-mode: vertical-rl; text-orientation: mixed;">Main</span> | <span style="writing-mode: vertical-rl; text-orientation: mixed;">TOTALS</span> | |
|
| <span style="writing-mode: vertical-rl; text-orientation: mixed;">Base</span> | <span style="writing-mode: vertical-rl; text-orientation: mixed;">Feet</span> | <span style="writing-mode: vertical-rl; text-orientation: mixed;">Mains In</span> | <span style="writing-mode: vertical-rl; text-orientation: mixed;">Main</span> | <span style="writing-mode: vertical-rl; text-orientation: mixed;">TOTALS</span> | |
|
||||||
|--:|--:|--:|--:|--:|:--|
|
|---:|---:|---:|---:|---:|:---|
|
||||||
| | | | | | **Vitamins** |
|
| | | | | | **Vitamins** |
|
||||||
| . | . | . | 2 | 2 | 4mm shielded jack socket blue |
|
| . | . | . | 2 | 2 | 4mm shielded jack socket blue |
|
||||||
| . | . | . | 1 | 1 | 4mm shielded jack socket brown |
|
| . | . | . | 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
|
## Base Assembly
|
||||||
### Vitamins
|
### Vitamins
|
||||||
|Qty|Description|
|
|Qty|Description|
|
||||||
|--:|:----------|
|
|---:|:----------|
|
||||||
|2| Heatfit insert M3|
|
|2| Heatfit insert M3|
|
||||||
|
|
||||||
|
|
||||||
### 3D Printed parts
|
### 3D Printed parts
|
||||||
|
|
||||||
| 1 x socket_box.stl |
|
| 1 x socket_box.stl |
|
||||||
|--|
|
|---|
|
||||||
| ![socket_box.stl](stls/socket_box.png)
|
| ![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
|
## Feet Assembly
|
||||||
### Vitamins
|
### Vitamins
|
||||||
|Qty|Description|
|
|Qty|Description|
|
||||||
|--:|:----------|
|
|---:|:----------|
|
||||||
|4| Nut M3 x 2.4mm nyloc|
|
|4| Nut M3 x 2.4mm nyloc|
|
||||||
|4| Screw M3 dome x 10mm|
|
|4| Screw M3 dome x 10mm|
|
||||||
|8| Washer M3 x 7mm x 0.5mm|
|
|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
|
### 3D Printed parts
|
||||||
|
|
||||||
| 4 x foot.stl |
|
| 4 x foot.stl |
|
||||||
|--|
|
|---|
|
||||||
| ![foot.stl](stls/foot.png)
|
| ![foot.stl](stls/foot.png)
|
||||||
|
|
||||||
|
|
||||||
@ -105,7 +105,7 @@ Earth leakage can be measured Canadian CSA style by disconnected the neutral lin
|
|||||||
### Sub-assemblies
|
### Sub-assemblies
|
||||||
|
|
||||||
| 1 x base_assembly |
|
| 1 x base_assembly |
|
||||||
|--|
|
|---|
|
||||||
| ![base_assembled](assemblies/base_assembled_tn.png)
|
| ![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
|
## Mains In Assembly
|
||||||
### Vitamins
|
### Vitamins
|
||||||
|Qty|Description|
|
|Qty|Description|
|
||||||
|--:|:----------|
|
|---:|:----------|
|
||||||
|3| Heatshrink sleeving ID 3.2mm x 15mm - not shown|
|
|3| Heatshrink sleeving ID 3.2mm x 15mm - not shown|
|
||||||
|1| IEC inlet for ATX|
|
|1| IEC inlet for ATX|
|
||||||
|2| Nut M3 x 2.4mm nyloc|
|
|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
|
### Sub-assemblies
|
||||||
|
|
||||||
| 1 x feet_assembly |
|
| 1 x feet_assembly |
|
||||||
|--|
|
|---|
|
||||||
| ![feet_assembled](assemblies/feet_assembled_tn.png)
|
| ![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
|
## Main Assembly
|
||||||
### Vitamins
|
### Vitamins
|
||||||
|Qty|Description|
|
|Qty|Description|
|
||||||
|--:|:----------|
|
|---:|:----------|
|
||||||
|2| 4mm shielded jack socket blue|
|
|2| 4mm shielded jack socket blue|
|
||||||
|1| 4mm shielded jack socket brown|
|
|1| 4mm shielded jack socket brown|
|
||||||
|2| 4mm shielded jack socket green|
|
|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
|
### Sub-assemblies
|
||||||
|
|
||||||
| 1 x mains_in_assembly |
|
| 1 x mains_in_assembly |
|
||||||
|--|
|
|---|
|
||||||
| ![mains_in_assembled](assemblies/mains_in_assembled_tn.png)
|
| ![mains_in_assembled](assemblies/mains_in_assembled_tn.png)
|
||||||
|
|
||||||
|
|
||||||
|
@ -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.
|
They should work with both Python 2 and Python 3.
|
||||||
|
|
||||||
| Script | Function |
|
| Script | Function |
|
||||||
|:--|:--|''', file = doc_file)
|
|:---|:---|''', file = doc_file)
|
||||||
for file in os.listdir('scripts'):
|
for file in os.listdir('scripts'):
|
||||||
if file.endswith('.py'):
|
if file.endswith('.py'):
|
||||||
blurb = ''
|
blurb = ''
|
||||||
|
@ -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.
|
They should work with both Python 2 and Python 3.
|
||||||
|
|
||||||
| Script | Function |
|
| Script | Function |
|
||||||
|:--|:--|
|
|:---|:---|
|
||||||
| ```bom.py``` | Generates BOM files for the project. |
|
| ```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. |
|
| ```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. |
|
| ```doc_scripts.py``` | Makes this document and doc/usage.md. |
|
||||||
|
@ -240,7 +240,7 @@ def views(target, do_assemblies = None):
|
|||||||
print('| <span style="writing-mode: vertical-rl; text-orientation: mixed;">%s</span> ' % name, file = doc_file, end = '')
|
print('| <span style="writing-mode: vertical-rl; text-orientation: mixed;">%s</span> ' % name, file = doc_file, end = '')
|
||||||
print('| <span style="writing-mode: vertical-rl; text-orientation: mixed;">TOTALS</span> | |', file = doc_file)
|
print('| <span style="writing-mode: vertical-rl; text-orientation: mixed;">TOTALS</span> | |', file = doc_file)
|
||||||
|
|
||||||
print(('|--:' * len(flat_bom) + '|--:|:--|'), file = doc_file)
|
print(('|---:' * len(flat_bom) + '|---:|:---|'), file = doc_file)
|
||||||
|
|
||||||
for t in types:
|
for t in types:
|
||||||
if things[t]:
|
if things[t]:
|
||||||
@ -283,7 +283,7 @@ def views(target, do_assemblies = None):
|
|||||||
if vitamins:
|
if vitamins:
|
||||||
print("### Vitamins", file = doc_file)
|
print("### Vitamins", file = doc_file)
|
||||||
print("|Qty|Description|", 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]):
|
for v in sorted(vitamins, key = lambda s: s.split(":")[-1]):
|
||||||
print("|%d|%s|" % (vitamins[v], v.split(":")[1]), file = doc_file)
|
print("|%d|%s|" % (vitamins[v], v.split(":")[1]), file = doc_file)
|
||||||
print("\n", 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 = '')
|
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:
|
if (i % 3) == 2 or i == len(printed) - 1:
|
||||||
n = (i % 3) + 1
|
n = (i % 3) + 1
|
||||||
print('\n|%s' % ('--|' * n), file = doc_file)
|
print('\n|%s' % ('---|' * n), file = doc_file)
|
||||||
for j in range(n):
|
for j in range(n):
|
||||||
part = keys[i - n + j + 1]
|
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)
|
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 = '')
|
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:
|
if (i % 3) == 2 or i == len(routed) - 1:
|
||||||
n = (i % 3) + 1
|
n = (i % 3) + 1
|
||||||
print('\n|%s' % ('--|' * n), file = doc_file)
|
print('\n|%s' % ('---|' * n), file = doc_file)
|
||||||
for j in range(n):
|
for j in range(n):
|
||||||
part = keys[i - n + j + 1]
|
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)
|
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 = '')
|
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:
|
if (i % 3) == 2 or i == len(keys) - 1:
|
||||||
n = (i % 3) + 1
|
n = (i % 3) + 1
|
||||||
print('\n|%s' % ('--|' * n), file = doc_file)
|
print('\n|%s' % ('---|' * n), file = doc_file)
|
||||||
for j in range(n):
|
for j in range(n):
|
||||||
a = keys[i - n + j + 1].replace('_assembly', '_assembled')
|
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)
|
print('| ![%s](assemblies/%s) %s' % (a, a + '_tn.png', '|\n' if j == j - 1 else ''), end = '', file = doc_file)
|
||||||
|