250 Commits

Author SHA1 Message Date
Daniel Rojas
91b02fcf10 Comment out BOM modes (WIP) and BOM bubbles 2023-09-12 19:58:33 +02:00
Daniel Rojas
4b6f791bdc Add TODO for empty connector pin tables 2023-09-12 19:58:33 +02:00
Daniel Rojas
d8a6da373f WIP: BOM modes 2023-09-12 19:58:33 +02:00
Daniel Rojas
c21f81a2cc Fix node background color rendering 2023-09-12 19:58:32 +02:00
Daniel Rojas
634cdd5265 Fix color cell implementation 2023-09-12 19:58:32 +02:00
Daniel Rojas
1b6030c1a3 Implement multiple colors for components, improve multicolor table rendering 2023-09-12 19:58:32 +02:00
Daniel Rojas
2fc132bdb9 Allow multiple colors for components 2023-09-12 19:58:32 +02:00
Daniel Rojas
44d5966bf8 Implement pin color output
Small issue: GraphViz warning
```
Warning: table size too small for content
```
2023-09-12 19:58:32 +02:00
Daniel Rojas
6f79064802 Optimize BOM bubble geometry 2023-09-12 19:58:32 +02:00
Daniel Rojas
b4cd8a77f0 Fix line breaks in code 2023-09-12 19:58:31 +02:00
Daniel Rojas
728741e9ff Fix gauge conversion 2023-09-12 19:58:31 +02:00
Daniel Rojas
4a9a4c8d46 Add BOM bubble to additional component list (WIP) 2023-09-12 19:58:31 +02:00
Daniel Rojas
c7537f000a Stop recursive nesting of additional components 2023-09-12 19:58:31 +02:00
Daniel Rojas
b15658b926 Implement BOM bubbles 2023-09-12 19:58:31 +02:00
Daniel Rojas
df1e972b17 Change BOM output file extension from .bom.tsv to .tsv 2023-09-12 19:58:31 +02:00
Daniel Rojas
63046346f4 Rename Options.color_mode to .color_output_mod for consistency 2023-09-12 19:58:31 +02:00
Daniel Rojas
1d99889175 Sort BOM by category, assign BOM IDs 2023-09-12 19:58:31 +02:00
Daniel Rojas
b2e5c467c3 Compute qty's of additional components (WIP) 2023-09-12 19:58:30 +02:00
Daniel Rojas
7902ba6aa6 Make pin_objects and wire_objects dictionaries 2023-09-12 19:58:30 +02:00
Daniel Rojas
8b9d997054 Implement BOM population (missing: qty multipliers) 2023-09-12 19:53:49 +02:00
Daniel Rojas
4db8c165ca Clarify wireviz.parse() input types 2023-09-12 19:53:48 +02:00
Daniel Rojas
fb91be402a Rename modules, adjust imports, move build_examples.py 2023-09-12 19:44:21 +02:00
Daniel Rojas
f2bc5d79f2 Define CLI epilog str in single statement 2023-09-12 19:41:23 +02:00
Daniel Rojas
fe016d63ce Prepare harness.populate_bom() 2023-09-12 19:41:23 +02:00
Daniel Rojas
5c18001188 Improve BOM generation (TODO: wires from a bundle) 2023-09-12 19:41:22 +02:00
Daniel Rojas
b60db7902b do not add autogenerated designators to BOM 2023-09-12 19:41:22 +02:00
Daniel Rojas
a4f6c6ad7a Include nested additional components in BOM 2023-09-12 19:41:22 +02:00
Daniel Rojas
8ae4dc37a2 Clean up 2023-09-12 19:41:22 +02:00
Daniel Rojas
36ffa969f4 Improve subclassing of components, prepare for BOM refactoring 2023-09-12 19:41:22 +02:00
Daniel Rojas
ef2b406c78 Remove unused line 2023-09-12 19:41:22 +02:00
Daniel Rojas
842e174bb9 Apply dot tweaks last 2023-09-12 19:41:22 +02:00
Daniel Rojas
96a3a87f9e Make variable name more expressive 2023-09-12 19:41:21 +02:00
Daniel Rojas
cc0bd76e99 Break longer lines not caught by black
because they were unbroken strings or comments
2023-09-12 19:41:21 +02:00
Daniel Rojas
95cc1be647 Make green color darker 2023-09-12 19:37:11 +02:00
Daniel Rojas
22cd25871c Re-sort wv_colors.py 2023-09-12 19:37:11 +02:00
Daniel Rojas
e95f4bd53b Use color objects in WireViz 2023-09-12 19:37:11 +02:00
Daniel Rojas
1b31a6f044 Implement color objects 2023-09-12 19:37:11 +02:00
Daniel Rojas
8200e891d0 Streamline assignment of ports to simple connectors 2023-09-12 19:37:11 +02:00
Daniel Rojas
ebd271d54c Run autoflake -i --remove-all-unused-imports 2023-09-12 19:37:10 +02:00
Daniel Rojas
21bfebb9b4 Run autoflake -i 2023-09-12 19:37:10 +02:00
Daniel Rojas
fc820079fc Make mates object-oriented 2023-09-12 19:37:10 +02:00
Daniel Rojas
9e6d327c15 Alphabetize HTML tags, improve bgcolor rendering 2023-09-12 19:37:10 +02:00
Daniel Rojas
d9513865e2 Make connecting things more object-oriented 2023-09-12 19:37:10 +02:00
Daniel Rojas
8aaee0c85a Outsource gv_edge_wire() 2023-09-12 19:37:09 +02:00
Daniel Rojas
266eb659bb Reactivate cable edge generation 2023-09-12 19:37:09 +02:00
Daniel Rojas
84dd10a2dc Fix and simplify bgcolor logic 2023-09-12 19:37:09 +02:00
Daniel Rojas
31c5e1aad9 Make setting HTML tag attributes easier through kwargs 2023-09-12 19:37:09 +02:00
Daniel Rojas
587b359fa0 Outsource set_dot_basics() and apply_dot_tweaks() 2023-09-12 19:37:09 +02:00
Daniel Rojas
2f03dcd1a3 Add TODOs 2023-09-12 19:37:09 +02:00
Daniel Rojas
064c7fd7c8 Outsource gv_pin_table(), simplify padding 2023-09-12 19:37:09 +02:00