mirror of
https://github.com/DJSundog/NopSCADlib.git
synced 2025-02-20 09:33:45 -05:00
Try again GFM is so broken!
This commit is contained in:
parent
8297dc75ba
commit
00c6914e23
@ -1,4 +1,4 @@
|
|||||||
<a name="TOP"/>
|
<a name="TOP"></a>
|
||||||
# MainsBreakOutBox
|
# MainsBreakOutBox
|
||||||
13A socket break out box with 4mm jacks to measure voltage and / or load current and earth leakage current.
|
13A socket break out box with 4mm jacks to measure voltage and / or load current and earth leakage current.
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ Earth leakage can be measured Canadian CSA style by disconnected the neutral lin
|
|||||||
[Top](#TOP)
|
[Top](#TOP)
|
||||||
|
|
||||||
---
|
---
|
||||||
<a name="Parts_list"/>
|
<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> | |
|
||||||
|--:|--:|--:|--:|--:|:--|
|
|--:|--:|--:|--:|--:|:--|
|
||||||
@ -54,7 +54,7 @@ Earth leakage can be measured Canadian CSA style by disconnected the neutral lin
|
|||||||
[Top](#TOP)
|
[Top](#TOP)
|
||||||
|
|
||||||
---
|
---
|
||||||
<a name="base_assembly"/>
|
<a name="base_assembly"></a>
|
||||||
## Base Assembly
|
## Base Assembly
|
||||||
### Vitamins
|
### Vitamins
|
||||||
|Qty|Description|
|
|Qty|Description|
|
||||||
@ -81,7 +81,7 @@ Earth leakage can be measured Canadian CSA style by disconnected the neutral lin
|
|||||||
[Top](#TOP)
|
[Top](#TOP)
|
||||||
|
|
||||||
---
|
---
|
||||||
<a name="feet_assembly"/>
|
<a name="feet_assembly"></a>
|
||||||
## Feet Assembly
|
## Feet Assembly
|
||||||
### Vitamins
|
### Vitamins
|
||||||
|Qty|Description|
|
|Qty|Description|
|
||||||
@ -117,7 +117,7 @@ Earth leakage can be measured Canadian CSA style by disconnected the neutral lin
|
|||||||
[Top](#TOP)
|
[Top](#TOP)
|
||||||
|
|
||||||
---
|
---
|
||||||
<a name="mains_in_assembly"/>
|
<a name="mains_in_assembly"></a>
|
||||||
## Mains In Assembly
|
## Mains In Assembly
|
||||||
### Vitamins
|
### Vitamins
|
||||||
|Qty|Description|
|
|Qty|Description|
|
||||||
@ -156,7 +156,7 @@ Earth leakage can be measured Canadian CSA style by disconnected the neutral lin
|
|||||||
[Top](#TOP)
|
[Top](#TOP)
|
||||||
|
|
||||||
---
|
---
|
||||||
<a name="main_assembly"/>
|
<a name="main_assembly"></a>
|
||||||
## Main Assembly
|
## Main Assembly
|
||||||
### Vitamins
|
### Vitamins
|
||||||
|Qty|Description|
|
|Qty|Description|
|
||||||
|
@ -178,8 +178,7 @@ def views(target, do_assemblies = None):
|
|||||||
# Title, description and picture
|
# Title, description and picture
|
||||||
#
|
#
|
||||||
project = ' '.join(word[0].upper() + word[1:] for word in os.path.basename(os.getcwd()).split('_'))
|
project = ' '.join(word[0].upper() + word[1:] for word in os.path.basename(os.getcwd()).split('_'))
|
||||||
print('<a name="TOP"/>', file = doc_file)
|
print('<a name="TOP"></a>\n# %s' % project, file = doc_file)
|
||||||
print('# %s' % project, file = doc_file)
|
|
||||||
main_file = bom.find_scad_file('main_assembly')
|
main_file = bom.find_scad_file('main_assembly')
|
||||||
if not main_file:
|
if not main_file:
|
||||||
raise Exception("can't find source for main_assembly")
|
raise Exception("can't find source for main_assembly")
|
||||||
@ -205,8 +204,7 @@ def views(target, do_assemblies = None):
|
|||||||
#
|
#
|
||||||
# Global BOM
|
# Global BOM
|
||||||
#
|
#
|
||||||
print('<a name="Parts_list"/>', file = doc_file)
|
print('<a name="Parts_list"></a>\n## Parts list', file = doc_file)
|
||||||
print('## Parts list', file = doc_file)
|
|
||||||
vitamins = {}
|
vitamins = {}
|
||||||
printed = {}
|
printed = {}
|
||||||
routed = {}
|
routed = {}
|
||||||
@ -246,11 +244,10 @@ def views(target, do_assemblies = None):
|
|||||||
name = ass["name"]
|
name = ass["name"]
|
||||||
cap_name = name.replace('_', ' ').title()
|
cap_name = name.replace('_', ' ').title()
|
||||||
|
|
||||||
print('<a name="%s"/>' % name, file = doc_file)
|
|
||||||
if ass["count"] > 1:
|
if ass["count"] > 1:
|
||||||
print("## %d x %s" % (ass["count"], cap_name), file = doc_file)
|
print('<a name="%s"></a>\n## %d x %s' % (name, ass["count"], cap_name), file = doc_file)
|
||||||
else:
|
else:
|
||||||
print("## %s" % cap_name, file = doc_file)
|
print('<a name="%s"></a>\n## %s' % (name, cap_name), file = doc_file)
|
||||||
vitamins = ass["vitamins"]
|
vitamins = ass["vitamins"]
|
||||||
if vitamins:
|
if vitamins:
|
||||||
print("### Vitamins", file = doc_file)
|
print("### Vitamins", file = doc_file)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user