491 Commits

Author SHA1 Message Date
Daniel Rojas
e7c32d7678 Implement pin color output
Small issue: GraphViz warning
```
Warning: table size too small for content
```
2021-10-31 11:00:37 +01:00
Daniel Rojas
9e950f3ca0 Optimize BOM bubble geometry 2021-10-25 21:21:21 +02:00
Daniel Rojas
84dc4cf689 Fix line breaks in code 2021-10-25 21:20:26 +02:00
Daniel Rojas
2d98973192 Fix gauge conversion 2021-10-25 20:46:44 +02:00
Daniel Rojas
c1121ef86a Add BOM bubble to additional component list (WIP) 2021-10-25 20:35:51 +02:00
Daniel Rojas
a4f673f265 Stop recursive nesting of additional components 2021-10-25 20:31:22 +02:00
Daniel Rojas
98f140201e Implement BOM bubbles 2021-10-25 20:04:24 +02:00
Daniel Rojas
27f48a93bb Change BOM output file extension from .bom.tsv to .tsv 2021-10-24 21:02:52 +02:00
Daniel Rojas
adc7a39923 Rename Options.color_mode to .color_output_mod for consistency 2021-10-24 20:58:35 +02:00
Daniel Rojas
4522d79a13 Sort BOM by category, assign BOM IDs 2021-10-24 20:54:17 +02:00
Daniel Rojas
0e3aa84926 Add tabulate to dependency list (might remove later if not needed) 2021-10-24 18:28:47 +02:00
Daniel Rojas
aa8f8a932f Adapt tutorial08.yml (remove unit field) 2021-10-24 18:25:46 +02:00
Daniel Rojas
5cc11dc53b Add qty test file 2021-10-24 18:20:59 +02:00
Daniel Rojas
30e44733ae Compute qty's of additional components (WIP) 2021-10-24 18:20:59 +02:00
Daniel Rojas
46e6b239eb Make pin_objects and wire_objects dictionaries 2021-10-24 17:01:28 +02:00
Daniel Rojas
a976aa169a Implement BOM population (missing: qty multipliers) 2021-10-24 16:32:52 +02:00
Daniel Rojas
aff08b6081 Clarify wireviz.parse() input types 2021-10-23 11:56:35 +02:00
Daniel Rojas
a2a57caa58 Restructure and update .gitignore 2021-10-23 11:53:18 +02:00
Daniel Rojas
622986a247 Add pyan to devtools.txt 2021-10-22 21:13:53 +02:00
Daniel Rojas
b45d0aee50 Rename modules, adjust imports, move build_examples.py 2021-10-22 18:21:39 +02:00
Daniel Rojas
6c84db7055 Deprecate Python 3.7, add Python 3.10 2021-10-22 17:52:25 +02:00
Daniel Rojas
0882c51e10 Define CLI epilog str in single statement 2021-10-21 22:17:00 +02:00
Daniel Rojas
e62e385238 Change description to type in additional BOM item YAML 2021-10-21 22:08:57 +02:00
Daniel Rojas
5d45725684 Prepare harness.populate_bom() 2021-10-21 22:07:30 +02:00
Daniel Rojas
cb5e8be940 Improve BOM generation (TODO: wires from a bundle) 2021-10-21 21:01:38 +02:00
Daniel Rojas
8e9738cc56 do not add autogenerated designators to BOM 2021-10-21 20:25:42 +02:00
Daniel Rojas
4b4ce29830 Include nested additional components in BOM 2021-10-21 20:25:28 +02:00
Daniel Rojas
7cb8042dbc Clean up 2021-10-21 19:36:23 +02:00
Daniel Rojas
52026a39dc Improve subclassing of components, prepare for BOM refactoring 2021-10-21 17:15:02 +02:00
Daniel Rojas
84a85327fe Remove unused line 2021-10-21 12:21:00 +02:00
Daniel Rojas
f8300913c6 Apply dot tweaks last 2021-10-21 12:11:04 +02:00
Daniel Rojas
962f7d3eda Make variable name more expressive 2021-10-21 12:09:28 +02:00
Daniel Rojas
9c48b625ec Break longer lines not caught by black
because they were unbroken strings or comments
2021-10-21 12:05:00 +02:00
Daniel Rojas
496b6b1146 Make green color darker 2021-10-20 21:05:56 +02:00
Daniel Rojas
9e354e25c7 Re-sort wv_colors.py 2021-10-20 21:04:28 +02:00
Daniel Rojas
ab358442ae Use color objects in WireViz 2021-10-20 20:14:10 +02:00
Daniel Rojas
ff9e35a2a5 Implement color objects 2021-10-20 17:33:05 +02:00
Daniel Rojas
e89a98f142 Add cleanup.sh (maybe move/delete later? or add commit hook?) 2021-10-19 23:05:38 +02:00
Daniel Rojas
652fcc2f8e Streamline assignment of ports to simple connectors 2021-10-19 22:53:47 +02:00
Daniel Rojas
63f21b2e8a Add sample use to devtools.txt 2021-10-19 21:49:31 +02:00
Daniel Rojas
7abfd1df4a Run autoflake -i --remove-all-unused-imports 2021-10-19 21:47:40 +02:00
Daniel Rojas
395b8788e0 Run autoflake -i 2021-10-19 21:46:43 +02:00
Daniel Rojas
b8d9ca02a5 Add devtools.txt 2021-10-19 21:44:14 +02:00
Daniel Rojas
40e693df41 Make mates object-oriented 2021-10-19 21:44:08 +02:00
Daniel Rojas
8fde579e45 Alphabetize HTML tags, improve bgcolor rendering 2021-10-19 19:43:12 +02:00
Daniel Rojas
3a7a5e85bc Make connecting things more object-oriented 2021-10-19 19:16:59 +02:00
Daniel Rojas
0c149a9b4b Outsource gv_edge_wire() 2021-10-19 16:54:30 +02:00
Daniel Rojas
db5666f037 Reactivate cable edge generation 2021-10-19 16:17:38 +02:00
Daniel Rojas
aac4b5d1d6 Fix and simplify bgcolor logic 2021-10-19 15:57:00 +02:00
Daniel Rojas
29d847e5cd Make setting HTML tag attributes easier through kwargs 2021-10-19 15:45:54 +02:00