Commit Graph

1141 Commits

Author SHA1 Message Date
Salvador E. Tropea 7aac98a239 [PCB variant] Fixed title for sub-PCBs
- Must be applied after filtering
2022-12-22 10:12:32 -03:00
Salvador E. Tropea 6790ccc547 [% patterns] Added %S to get the sub-PCB name 2022-12-22 10:11:46 -03:00
Salvador E. Tropea 11773e920d [Windows][Fixed] Avoid asuming bash is part of the system
Related to #325
2022-12-22 08:44:46 -03:00
Salvador E. Tropea c1f7b8dcff [Windows] Fixed use of /dev/null
- Now using os.devnull
Related to #325
2022-12-22 08:23:56 -03:00
Salvador E. Tropea 648bf49834 [DOCs] Clarified what `multivar` needs in the `diff` output
Related to #353
2022-12-22 07:10:46 -03:00
Salvador E. Tropea 5594fa0b7c [iBoM][Fixed] Variant changes to the *.Fab weren't exported
- Now all 2D variant stuff is applied before calling iBoM

Closes #350
2022-12-19 13:22:11 -03:00
Salvador E. Tropea ccaefd7e90 [iBoM][Added] `hide_excluded` to hide excluded *.Fab drawings. 2022-12-19 13:18:08 -03:00
Salvador E. Tropea 3c501d3054 [iBoM][Fixed] Variant changes to the *.Fab weren't exported
- Now all 2D variant stuff is applied before calling iBoM

Closes #350
2022-12-19 11:26:24 -03:00
Salvador E. Tropea d4047b78c9 [iBoM][Added] `hide_excluded` to hide excluded *.Fab drawings. 2022-12-19 11:22:00 -03:00
Salvador E. Tropea 0f574705cf [Variants][Fixed] _sub_pcb initialization 2022-12-18 18:00:12 -03:00
Salvador E. Tropea da2d5f1001 [Variants] Added some limited support for `kikit separate` 2022-12-18 17:14:38 -03:00
Salvador E. Tropea fafd5d2f6d New VRML output 2022-12-17 20:55:09 -03:00
Salvador E. Tropea 8c3e5b982b [PCB_Print][Fixed] Images not showing in custom frames.
Closes #352
2022-12-16 13:44:12 -03:00
Salvador E. Tropea 6b41f41e93 Bumped version to 1.5.2 2022-12-16 13:42:47 -03:00
Salvador E. Tropea bb4047e748 Changed the system look-up resources patch
- Slightly more portable, not really much
2022-12-16 13:40:35 -03:00
Salvador E. Tropea c1a646aba8 [Fixed] Missing / in system level look-up
- Bumped version to 1.5.1
2022-12-16 12:47:52 -03:00
Salvador E. Tropea b8cb51a996 Bumped version to 1.5.0
- Updated docs
- Fixed Debian dependency
2022-12-16 09:58:42 -03:00
Salvador E. Tropea fe56d5ba64 [KiKit Present][Fixed] Temporal .md is now removed 2022-12-16 09:06:31 -03:00
Salvador E. Tropea 8cc3ff7237 [KiKit Present] Check for markdown2
- Also added as dependency for PyPi
2022-12-16 07:07:56 -03:00
Salvador E. Tropea 52fc3e610f [DOCs] Added example of how to hide KiCost secrets on CI/CD 2022-12-15 14:22:57 -03:00
Salvador E. Tropea 302a762e7a [KiCost] Log version of the imported module 2022-12-15 09:37:06 -03:00
Salvador E. Tropea ae450b15a4 [KiKit Present] Now using the detected git binary
- Also added repository URL detection
2022-12-06 13:36:35 -03:00
Salvador E. Tropea 6b253d3c52 [KiKit Present] Added quick start support
- Also added mechanism to embed the markdown description
- Some adjusts to the help
2022-12-06 12:58:59 -03:00
Salvador E. Tropea b74ed0f66b [Panelize][Fixed] Don't generate Quick Start example if no KiKit 2022-12-06 12:47:43 -03:00
Salvador E. Tropea 83684caf11 [KiKit Present] Implemented external mode and get_targets 2022-12-05 21:27:39 -03:00
Salvador E. Tropea 23593ac477 [KiKit Present] Added Template member to list resources
- To make easier the get_targets implementation
2022-12-05 21:26:16 -03:00
Salvador E. Tropea eb4514f570 [Navigate Results] Added CSS and Folders 2022-12-05 21:24:30 -03:00
Salvador E. Tropea 509f74fd31 [KiKit Present] Implemented various modes 2022-12-04 19:50:29 -03:00
Salvador E. Tropea cc53d655c0 [KiKit Present] Imported local pybars 2022-12-04 11:39:25 -03:00
Salvador E. Tropea aeaf52fd02 [KiKit Present] Removed `kikit` import
- _renderBoards must be implemented in a different way
2022-12-04 11:37:28 -03:00
Salvador E. Tropea b3d664fa94 [KiKit Present] Removed the try in boardpage
- Too broad, doesn't help
2022-12-04 11:32:58 -03:00
Salvador E. Tropea 266cf0a6a4 [KiKit Present] Removed `click` import, unused
- Also added author and license
2022-12-04 11:30:40 -03:00
Salvador E. Tropea 5cd508ac3b [PcbDraw] Added present.py
- This is from KiKit, but is very similar to populate.py
2022-12-04 11:28:16 -03:00
Salvador E. Tropea 5ad49e435d [Stencil *] Clarified the warning about using stencil.side 2022-12-04 11:21:51 -03:00
Salvador E. Tropea ae84edf1fc [Navigate Results] Added icon association for PCB/SCH files 2022-12-03 21:19:43 -03:00
Salvador E. Tropea 4ddf1772a2 [Panelize] Fixed template, now default_units is just units
- This change was done so the global default units apply here
2022-12-03 21:04:39 -03:00
Salvador E. Tropea f7dceabd0e Fixed KiCad project reload
- Otherwise KiCad SIGSEGVs when trying to plot
2022-12-03 20:48:49 -03:00
Salvador E. Tropea 4c356f14aa [Panelize] Added preview image to the targets 2022-12-03 20:48:10 -03:00
Salvador E. Tropea 2cea9925d5 [Panelize] Added preview option
- Enabled for quick start
2022-12-03 18:38:28 -03:00
Salvador E. Tropea adcdd5fde9 Suggest closer option
When using an invalid option and we list the availables
2022-12-03 18:33:20 -03:00
Salvador E. Tropea e81b743ebb [KiBoM][Fixed] User defined fields wasn't available as column names.
Fixes #344
2022-12-02 23:25:27 -03:00
Salvador E. Tropea 7d8cadd0f4 [Stencil*] Now using Xvfb 2022-12-02 19:24:19 -03:00
Salvador E. Tropea 44c7b95e77 [Makefile][Fixed] What is included in all target
- Now outputs marked with run_by_default=False aren't included.
- They are included in other targets, just not in the default
  target.
2022-12-02 13:45:43 -03:00
Salvador E. Tropea 8c72fc23c9 [Navigate Results] Added support for compress output 2022-12-02 13:26:49 -03:00
Salvador E. Tropea be4582efb0 [Internal BoM][Fixed] Problems when using HRTXT and no options
- Also made the quick-start use a better column separator
2022-12-02 11:32:45 -03:00
Salvador E. Tropea 3b963a195b [Panelize] Added support for the plugin options 2022-12-02 10:51:53 -03:00
Salvador E. Tropea 3fd8dbf953 [Stencil*] Added quick start examples 2022-12-02 10:22:54 -03:00
Salvador E. Tropea 5de3b8cc6f [Stencil*] Added category 2022-12-02 09:34:25 -03:00
Salvador E. Tropea bd9d2ec7b7 [Navigate results][Fixed] Exception when no outputs 2022-12-02 09:33:43 -03:00
Salvador E. Tropea 64b2cd780f [Stencil*] Added missing PNG targets 2022-12-02 09:10:51 -03:00
Salvador E. Tropea 4dcc566395 [Navigate Results] Added STL and SCAD icons 2022-12-02 09:09:24 -03:00
Salvador E. Tropea d935ce17b7 [Stencil*] Added PNG preview for the 3D model 2022-12-02 08:41:12 -03:00
Salvador E. Tropea f68855f4d8 [Stencil*] Added get_targets implementation 2022-12-01 13:59:24 -03:00
Salvador E. Tropea 2b86ef9e80 [Stencil*] Moved common code to out_any_stencil.py 2022-12-01 13:19:28 -03:00
Salvador E. Tropea a9000716a7 [Stencil_For_Jig] New output
- Just the other type of stencil supported by KiKit.
2022-12-01 12:59:55 -03:00
Salvador E. Tropea 2a46ab1cff [Stencil_3D] New output
- KiKit's "stencil createprinted"
2022-12-01 11:15:12 -03:00
Salvador E. Tropea 5767a03868 [Panelize] Added link to KiKit docs 2022-12-01 08:17:35 -03:00
Salvador E. Tropea 75ebc7a677 [Windows] Try to fix %X expansions
- They convert \ to / and remove :
- So we now avoid it on Windows
Related to #325
2022-12-01 07:36:53 -03:00
Salvador E. Tropea fdd38d176a [set_text_avriables][Windows][Fixed] Git command replacement
- Python implementation used by KiCad uses \ in the file names, which
  IMHO is wrong, they should learn from DJGPP tools, even DOS can
  handle /
- So we can't use filenames in re.sub without first escaping all \
Related to #325
2022-12-01 07:14:50 -03:00
Salvador E. Tropea 79b0c3f45a [Panelize] Added `source` options 2022-11-30 18:20:57 -03:00
Salvador E. Tropea 425840059c [Panelize] Added mechanism to extend defined options. 2022-11-30 17:01:40 -03:00
Salvador E. Tropea 5750cfd10a [Panelize] Added error when using KiCad 5 and KiKit >= 1.1.0 2022-11-29 17:04:30 -03:00
Salvador E. Tropea 99467d4d05 [Added] Panelize output
- First working version
2022-11-28 16:31:00 -03:00
Salvador E. Tropea 788aabeeed [PCB_Print][Added] Margins for the autoscale mode.
Closes #337
2022-11-25 12:03:43 -03:00
Salvador E. Tropea 1f8bad0a9b [Imports][Fixed] Problems with recursive imports
- When the intermediate import didn't contain any of the requested
  elements (i.e. importing outputs, but no outputs in the middle).

Closes #335
2022-11-24 13:16:31 -03:00
Salvador E. Tropea 02aa6bce0d [BoM][Added] Human readable text output format.
Closes #334
2022-11-24 11:32:47 -03:00
Salvador E. Tropea d72913a280 [BoM] Using \t, \n, \r and \\ is now supported.
See #334
2022-11-24 09:58:16 -03:00
Salvador E. Tropea be68daace1 [BoM][Fixed] The length of the CSV separator is now validated. 2022-11-23 20:54:58 -03:00
Salvador E. Tropea a9ece9042d [PCB_Print] Now the text in the PDF is searchable.
Closes #331
2022-11-23 18:18:21 -03:00
Salvador E. Tropea c4d9a26d20 [DOCs][Dependencies] Suggest to install texlive for Pandoc
- In #264 we see that texlive is needed in some cases.
- Looking at texlive-latex-base I see the fonts aren't installed.
2022-11-23 15:24:23 -03:00
Salvador E. Tropea cfa54d032b [Gerber][Fixed] Extension used for JLCPCB inner layers.
- The .gpN stands for "Gerber Plane N", which are plotted negative.
- Normal (positive) inner layers should be named.gN
- We are plotting them in positive.

Fixes #329
2022-11-23 14:58:59 -03:00
Salvador E. Tropea 5e3404949d [Stack-up][Fixed] Problems when using more than one dielectric
Fixes #328
2022-11-10 18:09:00 -03:00
Salvador E. Tropea e42ab5e6be [Report] Removed warning for drill tool missmatch
- When an NPTH hole with drill size == pad size is found and its
  diameter isn't standard.
- We verified KiCad doesn't really generate a pad in this case.

See #326
2022-11-08 14:13:08 -03:00
Salvador E. Tropea a4e68b1c18 [KiBoM] Added support for Mouser links 2022-11-07 11:34:14 -03:00
Salvador E. Tropea dbea3ca183 [BoM][Added] Option to link to Mouser site. 2022-11-07 10:50:58 -03:00
Salvador E. Tropea ca1faa9102 [BoM][Fixed] Digi-key link in the HTML output. 2022-11-07 10:10:59 -03:00
Salvador E. Tropea c2cd439bb6 [Report][Fixed] Problems for NPTH holes with some sizes
- When using NPTH holes with sizes that doesn't correspond to
  real drill tools. It generated bogus reports about wrong OARs.

Close #326
2022-11-05 15:48:13 -03:00
Salvador E. Tropea c3f426a1d5 [Diff][Fixed] Problems when missing file from repo
- When comparing to a repo point where the PCB/SCH didn't exist yet.
Closes #323
2022-11-05 14:37:19 -03:00
Salvador E. Tropea e7b35da4e1 [Render_3D] Updated comment about KiCad bug 2022-11-02 11:17:51 -03:00
Salvador E. Tropea 39991b72bc [PcbDraw][Fixed] Adapted to the solev_filters change 2022-11-01 13:42:01 -03:00
Salvador E. Tropea 06f5fc12f4 [Render_3D] Separated the crop and transparent options 2022-11-01 13:36:05 -03:00
Salvador E. Tropea 3400dcca70 [Render_3D][Fixed] Problems when the list of components is None 2022-11-01 13:26:26 -03:00
Salvador E. Tropea e874b3af8e [Populate] Added support for `render_3d`
- So now we have a better image and no need for 2D representations
  of the 3D models
2022-11-01 12:54:09 -03:00
Salvador E. Tropea 0ee280b6d9 [Render_3D] Added filter support for show_components and highlight
- Just like in PcbDraw output
2022-11-01 12:53:09 -03:00
Salvador E. Tropea 8933fdd681 [Render_3D] Better highlight
- Now we compute the component rotation
- The Bounding Box is computed using the court yard
2022-11-01 12:52:11 -03:00
Salvador E. Tropea 6d3d2c37d0 [Render_3D] Added option to highlight components 2022-10-31 10:16:21 -03:00
Salvador E. Tropea 81ce2004d5 [Render_3D] Added option to auto-crop the resulting PNG 2022-10-30 14:35:18 -03:00
Salvador E. Tropea 5b19227625 [Render_3D] Added option to render only some components
- `show_components` like in PcbDraw
2022-10-30 12:36:36 -03:00
Salvador E. Tropea 58e3e9e847 [PcbDraw][Populate] Added filter expansion
- in `show_components` and `highlight`
2022-10-29 16:12:44 -03:00
Salvador E. Tropea d379c67790 [Filters][generic] added options to filter by PCB side 2022-10-29 15:51:33 -03:00
Salvador E. Tropea da34175cb3 [PcbDraw] Updated the changes docs 2022-10-28 13:45:38 -03:00
Salvador E. Tropea 1df9d1da46 [PcbDraw][PCB_Print] Removed all PcbDraw convert.py usage
- Currently not needed
2022-10-28 13:41:33 -03:00
Salvador E. Tropea 700bf5bff3 [PcbDraw][Print_PCB] Fixed issues when LXML isn't installed
- Moved PcbDraw import after the tool check
2022-10-28 13:03:30 -03:00
Salvador E. Tropea 3b9f6e2f49 [DOCs] Trying to use relative markdown links 2022-10-28 08:53:58 -03:00
Salvador E. Tropea 648cd1cc8d [DOCs] Documented the `populate` mechanism 2022-10-28 08:50:46 -03:00
Salvador E. Tropea 171803ff64 [Populate] Added support to compress and Makefile generation 2022-10-28 08:29:54 -03:00
Salvador E. Tropea ddd0018f43 [Populate] Handle missing mistune properly 2022-10-28 07:51:54 -03:00
Salvador E. Tropea 8512b41feb [Populate] Added pybars and pymeta 2022-10-28 07:16:05 -03:00
Salvador E. Tropea f3049351da [Populate] Documented the changes
- Also added author and license to the files
2022-10-28 06:30:17 -03:00
Salvador E. Tropea e56343d214 New populate output
- The PcbDraw command
2022-10-27 21:24:57 -03:00