Commit Graph

  • 4e69372469 Remove parentheses around return expressions KV 2020-11-16 19:59:52 +01:00
  • 731add070f Simplify deduplication and sorting of collected designators KV 2020-11-14 21:43:57 +01:00
  • 6984ca181d Simplify collecting designators for a joined BOM entry KV 2020-11-14 21:37:31 +01:00
  • 186cecf7ea Simplify BOM header row logic KV 2020-11-14 21:28:33 +01:00
  • 4a77d86fc4 Redefine the common lambda to an ordinary function KV 2020-11-14 21:26:15 +01:00
  • f255548df5 Convert dataclass object to dict to use the same lambda KV 2020-11-14 21:06:22 +01:00
  • a43271c018 Use the same lambda in get_bom_index() as for deduplicating BOM KV 2020-11-14 20:51:50 +01:00
  • 300fc5025f Simplify get_bom_index() parameters KV 2020-11-14 20:21:58 +01:00
  • 09b0996cd6 Skip assignment and return expression directly KV 2020-11-14 20:19:31 +01:00
  • 6f56fcda99 Add small fixes Daniel Rojas 2021-03-29 14:14:40 +02:00
  • 616cbb815e Tweak HTML template Daniel Rojas 2021-03-28 14:27:37 +02:00
  • f424ea541e Allow line breaks in generic metadata Daniel Rojas 2021-03-28 13:20:06 +02:00
  • 1a41faf187 Tweak sheet number output Daniel Rojas 2021-03-27 23:47:23 +01:00
  • 24585ae441 Rearrange code and rename variables Daniel Rojas 2021-03-27 15:50:10 +01:00
  • 6a7f1fdcd8 Generalize metadata filling for nested dicts Daniel Rojas 2021-03-27 15:45:48 +01:00
  • b3e47e148a Generalize metadata filling, change placeholder syntax Daniel Rojas 2021-03-27 15:05:48 +01:00
  • 14565ec8f5 Fix typo Daniel Rojas 2021-03-27 14:03:49 +01:00
  • 33533407ec Fix template fallback logic Daniel Rojas 2021-03-27 13:58:00 +01:00
  • ef8ff3d4da Fix simple template Daniel Rojas 2021-03-27 13:54:06 +01:00
  • b6761a983d Use external template file when generating HTML Daniel Rojas 2021-03-27 13:45:46 +01:00
  • 7112adbc34 Implement smart file resolving Daniel Rojas 2021-03-27 13:45:07 +01:00
  • b9a5a8d51d Simplify Harness.metadata to Dict Daniel Rojas 2021-03-27 13:36:31 +01:00
  • fc1ae46b6d Add two built-in HTML templates Daniel Rojas 2021-03-27 13:35:02 +01:00
  • 2beb50c27e
    Merge c3bcaf7a8ecf704a89da1b42b902b0b253aad314 into cf919770daed34363705e68cdf477cf8c4b995ac kvid 2021-03-25 13:20:50 -04:00
  • 1127bcb142 Use unique index for connector pin ports Daniel Rojas 2021-03-23 22:49:42 +01:00
  • edbe2b1e89
    Merge 9821ca31f77edfc0e0b0793a76ba27cdfd174cf3 into 523d0c659ee58412d8cf11416978eb80e424ec4c Daniel Rojas 2021-03-23 17:09:33 +00:00
  • 9821ca31f7 Update demo02 to showcase more features feature/bom-bubbles Daniel Rojas 2021-03-23 18:02:28 +01:00
  • 37bf5309f0 Allow line breaks in additional parameters Daniel Rojas 2021-03-23 18:02:55 +01:00
  • b4a0ae50b8 Implement additional parameter table Daniel Rojas 2021-03-23 15:57:38 +01:00
  • 1f86c97c67 Fix rendering bug for empty add.comp. table Daniel Rojas 2021-03-23 15:15:20 +01:00
  • 09d5496ca4 Add new bom_item_number property to components Daniel Rojas 2021-03-23 13:04:31 +01:00
  • 6aa53f6ce4 Remove unused columns in BOM table Daniel Rojas 2021-03-23 12:40:56 +01:00
  • aaf88d7601 Remove vertical separators in BOM table Daniel Rojas 2021-03-23 12:15:03 +01:00
  • 0e62bc8cc2 Add placeholder commit Daniel Rojas 2021-03-23 11:59:11 +01:00
  • cf919770da Update contribution guidelines Daniel Rojas 2021-03-23 11:58:14 +01:00
  • cbc30b7323
    Update changelog and syntax documentation Daniel Rojas 2021-03-23 11:53:02 +01:00
  • f928bc73ca Add BOM bubble cell to cables Daniel Rojas 2021-03-23 11:50:02 +01:00
  • 7e168ea775 Improve GraphViz output, remove debug print Daniel Rojas 2021-03-23 11:26:13 +01:00
  • 4338b7a1c5 Remove header row for additional components Daniel Rojas 2021-03-23 11:22:09 +01:00
  • 9a93d86058 remove component_table_entry() as separate func. Daniel Rojas 2021-03-23 11:19:20 +01:00
  • 0dc02fe8b5 Correctly determine qty Daniel Rojas 2021-03-23 11:14:49 +01:00
  • 53fefa8f3c Add note attribute to additional components Daniel Rojas 2021-03-23 11:04:33 +01:00
  • e61d14ba43 Create bom_bubble() function Daniel Rojas 2021-03-23 11:00:26 +01:00
  • 8c26c8fbbd New addit. compo. BOM table proof of concept Daniel Rojas 2021-03-23 10:49:56 +01:00
  • 71a1c52e22 Remove . from requirements.txt Daniel Rojas 2021-03-20 14:20:10 +01:00
  • bdc405a443 Remove duplicate contribution guidelines Daniel Rojas 2021-03-20 11:16:04 +01:00
  • d2edd0f1f8 Add #218, #221 Daniel Rojas 2021-03-20 11:12:29 +01:00
  • 7546991b04 Show connector pins even when all are unconnected KV 2021-02-12 21:31:52 +01:00
  • c0a885a800 Correctly check for default of None gopiballava 2021-03-09 01:04:29 -05:00
  • 523d0c659e Group common function arguments into a dict feature/simplify-BOM-code KV 2021-01-09 18:13:47 +01:00
  • 3eec789578
    Correctly check for default of None gopiballava 2021-03-09 01:04:29 -05:00
  • 75a9a758a8 Add bgcolor_node option KV 2021-02-26 00:34:20 +01:00
  • 2f579995fd Avoid a node size greater than the HTML label KV 2021-02-25 23:35:15 +01:00
  • 733e21182d Avoid transparent cable nodes KV 2021-02-23 20:56:44 +01:00
  • 1227915de5 Add bgcolor option KV 2021-02-23 20:44:40 +01:00
  • 35cb8a2c94 Add fontname option KV 2021-02-22 19:18:24 +01:00
  • 183a9432c3 Move repeated code into new optional_fields() function KV 2021-01-06 23:58:30 +01:00
  • 7ccbc46604 Show connector pins even when all are unconnected KV 2021-02-12 21:31:52 +01:00
  • 0a40a30548 Show cable color in BOM similar to wires and connectors KV 2021-02-07 20:50:01 +01:00
  • a4e301e227 Apply options.color_mode where showing color as text KV 2021-02-07 20:15:51 +01:00
  • 2c12433d4b Increase HTML readability by adding indents and linebreaks KV 2021-02-07 16:59:05 +01:00
  • d1b007f913 Add basic metadata and options to Harness KV 2021-02-06 22:03:38 +01:00
  • 30dbd9573b Rename the 'item' key to 'description' in all BOMEntry dicts KV 2021-01-06 22:53:33 +01:00
  • 8e7c48d42e Eliminate local variable KV 2021-01-05 04:20:44 +01:00
  • 2e244981fe Move default qty value=1 to BOM deduplication KV 2021-01-05 04:12:05 +01:00
  • d15eeb1f9f Build output string in one big expression KV 2021-01-03 05:51:02 +01:00
  • d6d0d2a486 Rename extra variable to part for consistency KV 2021-01-03 05:29:30 +01:00
  • c22c42e722 Add BOMEntry type alias KV 2020-12-01 16:54:32 +01:00
  • 12e570fdad Add function type hints and doc strings KV 2020-11-30 19:31:08 +01:00
  • 1d653c44ed Replace accumulation loop with sum expressions KV 2020-11-30 18:10:24 +01:00
  • 96d393dfb7 Use a generator expressions and raise exception if failing KV 2020-11-27 22:20:45 +01:00
  • f13f8a7dd7 Make the BOM grouping function return string tuple for sorting KV 2020-11-27 21:15:59 +01:00
  • cdca708da9 Move BOM sorting above grouping to use groupby() KV 2020-11-27 01:16:26 +01:00
  • 10b1198b77 Move out code from inner loop into helper functions KV 2020-11-27 00:37:03 +01:00
  • 74462cd225 Remove parentheses around return expressions KV 2020-11-16 19:59:52 +01:00
  • e1d7babf63 Simplify deduplication and sorting of collected designators KV 2020-11-14 21:43:57 +01:00
  • d2f8034961 Simplify collecting designators for a joined BOM entry KV 2020-11-14 21:37:31 +01:00
  • 6378b96541 Simplify BOM header row logic KV 2020-11-14 21:28:33 +01:00
  • 347f1e3031 Redefine the common lambda to an ordinary function KV 2020-11-14 21:26:15 +01:00
  • da453db9f0 Convert dataclass object to dict to use the same lambda KV 2020-11-14 21:06:22 +01:00
  • 45b13ef797 Use the same lambda in get_bom_index() as for deduplicating BOM KV 2020-11-14 20:51:50 +01:00
  • 6525537312 Simplify get_bom_index() parameters KV 2020-11-14 20:21:58 +01:00
  • 0f3b5e9edf Skip assignment and return expression directly KV 2020-11-14 20:19:31 +01:00
  • 9d5bd092ca Add #205, #206 Daniel Rojas 2020-12-29 13:39:13 +01:00
  • da56841290
    Assign the default cable length unit when not present (#206) kvid 2020-12-29 13:31:55 +01:00
  • b294033c88 Assign the default cable length unit when not present KV 2020-12-26 04:46:21 +01:00
  • d00cc8362d Add suggestion by @kvid Daniel Rojas 2020-12-13 13:12:59 +01:00
  • 0a59e97d29
    Apply suggestions from code review by @kvid Daniel Rojas 2020-12-13 13:00:17 +01:00
  • 2ea0e3f6db Add #198 Daniel Rojas 2020-12-13 12:41:55 +01:00
  • 606ddbf977
    Detect and assign unit within cable length attribute (#198) Daniel Rojas 2020-12-13 12:39:29 +01:00
  • 6a42a30523 Change parse() function's arguments` Daniel Rojas 2020-12-06 13:30:01 +01:00
  • 2d7770a755 Apply more suggestions by @kvid Daniel Rojas 2020-12-06 13:03:26 +01:00
  • 426c11b766
    Apply some of @kvid's suggestions for svgembed.py Daniel Rojas 2020-12-06 12:54:55 +01:00
  • e9292fbf03 Remove unnecessary check for length unit Daniel Rojas 2020-12-06 12:40:14 +01:00
  • d9b67e4567
    Apply suggestions from code review by @kvid Daniel Rojas 2020-12-06 12:37:02 +01:00
  • c3bcaf7a8e Avoid href=None for edges KV 2020-11-23 23:39:15 +01:00
  • 4ee928684d Rename .href to .url as suggested in review KV 2020-11-08 00:57:55 +01:00
  • ab077bce67 Add href attribute to connectors, cables, and additional_bom_items KV 2020-09-14 21:46:06 +02:00
  • 0d1e3d715d Make separator character configurable backup/feature/mate+autogenerate_2021-09-23 Daniel Rojas 2020-11-17 09:33:21 +01:00
  • a18550e79e Implement image embedding in Harness.svg() Daniel Rojas 2020-11-16 19:57:15 +01:00