176 Commits

Author SHA1 Message Date
Andreas Nordin
cb1d6cdcd9 fix install notes
Explicitly mention the system graphviz dependency and clarify possible
need for separate python install on old ubuntus
2020-06-25 11:40:58 +02:00
Andreas Nordin
e86d09fdc7 update example ex06 with awg -> mm2 conversion
Show conversions for ex06, and make sure it displays conversions in both
directions. Rebuild the example files.
2020-06-24 20:20:01 +02:00
Andreas Nordin
6c055374a7 fix awg<->mm2 conversions
Add an inverted dictionary and a lookup function from awg -> mm2. Also
do some minor refactoring. Both sides of the conversion table were
converted to strings, since '0000' and '2/0' are perfectly valid AWG
values.
2020-06-24 20:20:01 +02:00
Andreas Nordin
653597a0e9 Add 'specified_cable' field for BOM generation
There is no obvious way of specifying exactly which cable type
(manufacturer, part number) to use for a given cable, which is useful
for BOM purposes. Add a 'specified_cable' field to the Cable class to
remedy this, and render it both in the graph and the BOM.
2020-06-24 20:20:01 +02:00
Andreas Nordin
23eaa07188 Fix typo 2020-06-24 20:20:01 +02:00
Andreas Nordin
121d664529 update rebuilt examples/demos etc 2020-06-24 20:20:01 +02:00
Andreas Nordin
2834392e6b update build_examples script 2020-06-24 20:20:01 +02:00
Andreas Nordin
869454ce58 add install instructions to readme 2020-06-24 20:20:01 +02:00
Andreas Nordin
7af7567088 clean up imports, cmdline handling
Order imports properly. Fix path when running script directly from repo
rather than as an installed package. Refactor command line handling.
2020-06-24 20:20:01 +02:00
Andreas Nordin
2d428e8613 refactor dependencies and installation
There are hard copies of the graphviz and pyyaml dependencies included
in the repo. Remove these.

Sort out installation and dependency handling by writing a functional
setup.py script. Rename top level documentation. Refactor wireviz.py
slightly to allow it to run as an installed script.
2020-06-24 20:20:01 +02:00
Daniel Rojas
66a47169e6 Merge branch 'dev' 2020-06-18 12:55:20 +02:00
Daniel Rojas
c1e6cf14d2 Update readme 2020-06-18 12:55:04 +02:00
Daniel Rojas
6406e28c95 Merge branch 'dev' 2020-06-15 22:41:37 +02:00
Daniel Rojas
644bcd79de Add usage info to readme 2020-06-15 22:41:11 +02:00
Daniel Rojas
aba14780b8 Merge branch 'dev' 2020-06-15 18:42:45 +02:00
Daniel Rojas
4384ca504d Fine-tune tutorial, add tutorial BOMs 2020-06-15 18:42:24 +02:00
Daniel Rojas
1c5713888c Update to-do and readme 2020-06-15 18:07:42 +02:00
Daniel Rojas
9aea158274 Fine-tune tutorials 2020-06-15 18:04:00 +02:00
Daniel Rojas
37f0f8b408 Add syntax highlighting to readme's 2020-06-15 18:00:13 +02:00
Daniel Rojas
07fa0e2ee2 Fine-tune tutorials 2020-06-15 17:54:44 +02:00
Daniel Rojas
f09a81c9b4 Add batch tutorial generation 2020-06-15 16:49:42 +02:00
Daniel Rojas
75990d853d Add tutorial source files and readme 2020-06-15 11:46:18 +02:00
Daniel Rojas
17a6e430f7 Add tutorial folder to batch script 2020-06-15 11:38:24 +02:00
Daniel Rojas
f8582876a1 Improve ferrule handling, BOM creation 2020-06-15 11:37:10 +02:00
Daniel Rojas
a7be096d71 Make wires white by default if no color is specified 2020-06-15 11:36:52 +02:00
Daniel Rojas
d14e017dec Merge branch 'dev' 2020-06-14 21:56:31 +02:00
Daniel Rojas
4fa700eb2d Include BOM in example gallery 2020-06-14 21:56:06 +02:00
Daniel Rojas
ccf4db5555 Update examples and readme
Tune demo 02
2020-06-14 21:56:06 +02:00
Daniel Rojas
a6cfa53fb9 Implement HTML output 2020-06-14 21:31:41 +02:00
Daniel Rojas
6785417c5a Implement sorting of BOM sections 2020-06-14 21:31:02 +02:00
Daniel Rojas
5a601f73d0 Move color stuff and helper functions into separate modules 2020-06-14 20:53:27 +02:00
Daniel Rojas
22cc494aca Remove unused code 2020-06-14 20:43:25 +02:00
Daniel Rojas
653937fc2e Improve BOM item names 2020-06-14 20:20:41 +02:00
Daniel Rojas
aeccc2ec69 Implement handling of wire bundles during BOM creation 2020-06-14 19:01:40 +02:00
Daniel Rojas
d5356260ca Change type: bundle to category: bundle 2020-06-14 17:52:22 +02:00
Daniel Rojas
d97d1e1f41 Restructure and simplify BOM creation 2020-06-14 17:46:21 +02:00
Daniel Rojas
93be0cba49 Change wire lengths on demo 02
for better cutlist functionality demo
2020-06-14 00:30:05 +02:00
Daniel Rojas
2eb6f1caff Implement proof-of-concept HTML output 2020-06-14 00:25:36 +02:00
Daniel Rojas
a5035456ea Fine-tune some details 2020-06-14 00:18:16 +02:00
Daniel Rojas
a43d7701f4 Change 'gender' to 'subtype' for more flexibility 2020-06-13 20:15:48 +02:00
Daniel Rojas
567e65f062 Update readme 2020-06-13 19:55:02 +02:00
Daniel Rojas
d2abf5f597 Make BOM output optional 2020-06-13 19:50:50 +02:00
Daniel Rojas
db313365ee Streamline BOM creation, implement cutlist 2020-06-13 19:10:45 +02:00
Daniel Rojas
a8b9fc03c7 Add shield parameter to BOM generation 2020-06-13 18:07:49 +02:00
Daniel Rojas
19f0a82544 Improve handling of mm² and AWG gauges 2020-06-13 17:57:20 +02:00
Daniel Rojas
3eaabc3b53 Rename nodes and wires to connectors and cables 2020-06-13 16:11:09 +02:00
Daniel Rojas
2687afcdd2 Rename num_wires to wirecount 2020-06-13 15:46:26 +02:00
Daniel Rojas
5bff36d4c4 Rename num_pins to pincount 2020-06-13 15:40:21 +02:00
Daniel Rojas
75e1c119d4 Add list of designators to BOM 2020-06-13 15:38:37 +02:00
Daniel Rojas
c0f72bcc16 Implement proof-of-concept BOM output 2020-06-13 14:11:47 +02:00