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
Salvador E. Tropea
b8f9b2e924
[PcbDraw] Applied the SVG patch like the upstream
...
- To make the code more convergent, is equivalent
2022-10-24 13:02:37 -03:00
Salvador E. Tropea
491c598afb
[iBoM] Added support for the `offset_back_rotation` option
2022-10-24 12:58:36 -03:00
Salvador E. Tropea
417dbadcd2
[PcbDraw][PCB_Print][Fixed] SVG issues for browsers
...
- Same fix used for SVG output
2022-10-21 13:42:29 -03:00
Salvador E. Tropea
623ce5c65e
[SVG][Fixed] Problems using Chrome and Firefox
...
- The KiCad 6 default scale is too big
2022-10-21 11:51:08 -03:00
Salvador E. Tropea
446f87aad1
[Debug] Added command line information
...
- For level 2 or more
2022-10-19 13:14:53 -03:00
Salvador E. Tropea
8ec4d481c0
[Package] Moved all resources to a central place
...
- All KiBot resources are now under kibot/resources
- PcbDraw resources are now in kibot/resources/pcbdraw
- All resources can be loaded relative to the script or from
/usr/share/kibot
- The Debian package installs the resources in /usr/share/kibot
- The Python manifest includes all resources
- PcbDraw is now detected as a Python package
2022-10-19 13:05:56 -03:00
Salvador E. Tropea
5fe00f2598
Bumped version to 1.4.1
...
- Just to identify it as different
2022-10-19 10:44:02 -03:00
Salvador E. Tropea
c79e5b0b0f
[PcbDraw] Better support for variants
...
- All variant stuff is applied
- A new mode allows to get a more coherent behavior for the show_components
2022-10-19 10:19:00 -03:00
Salvador E. Tropea
0d3661ccca
[PcbDraw] Removed _create_style
...
- No longer needed
2022-10-19 09:01:30 -03:00
Salvador E. Tropea
aff00b44b6
[PcbDraw] Skipped the VCUTs layer check when the option is disabled
2022-10-19 08:59:54 -03:00
Salvador E. Tropea
0be6f40053
[PcbDraw] Individual margin control
2022-10-19 08:32:46 -03:00
Salvador E. Tropea
4b0965fc4d
[PcbDraw] Added option to control the size detection
...
- Now we can use the full method found in newer versions
- But we can also use simpler methods that are usable and needs
less dependencies (also they are faster)
2022-10-19 08:05:06 -03:00
Salvador E. Tropea
97dd675a6d
[PcbDraw] A `remap_components` option with better type checks
...
- The old option was simpler, but you could put anything there
2022-10-18 13:37:37 -03:00
Salvador E. Tropea
087b1aabe3
[PcbDraw] Added resistor remap and flip options
2022-10-18 13:16:43 -03:00
Salvador E. Tropea
f46f9557fd
[PcbDraw] Avoid creating a temporal file for the style
...
- This is exactly the same structure needed by PcbDraw
2022-10-18 12:55:19 -03:00
Salvador E. Tropea
5887b29bf2
[PcbDraw] Added support to set the V-CUTS layer
2022-10-18 12:49:28 -03:00
Salvador E. Tropea
ad2b4e48d1
[Fixed] The hide_stderr function when exception
...
- Needed a finally
2022-10-18 12:34:51 -03:00
Salvador E. Tropea
f78f8b3064
[PcbDraw] Added solder paste removal
2022-10-18 11:38:29 -03:00
Salvador E. Tropea
268e1ef2f7
[PcbDraw] Added support for the outline width
2022-10-18 11:34:12 -03:00
Salvador E. Tropea
00cea42cda
[PcbDraw] Added support for image margin
2022-10-18 11:27:11 -03:00
Salvador E. Tropea
801f7f5183
[PcbDraw] Avoid loading the PCB for each call to PcbDraw
2022-10-18 11:08:57 -03:00
Salvador E. Tropea
701824e4e4
Removed spurious KiCad messages during KiCad 5 PCB loads
...
- Seen on KiCad 6
2022-10-18 10:59:36 -03:00
Salvador E. Tropea
207dd8f67c
[PcbDraw] Removed PIL as dependency
...
- So now the save function only supports SVG as input and SVG/PNG as
output. All other cases are handled from outside
- This is because KiBot heavily uses ImageMagick and migrating to PIL
is not something simple.
- There is no point in using PIL just for file conversion, as we don't
use `render` this is the only use.
2022-10-18 10:49:13 -03:00
Salvador E. Tropea
f61ca58ffa
[PcbDraw][Fixed] Removed temporal style file
2022-10-18 10:11:53 -03:00
Salvador E. Tropea
bb6b0c6141
[PcbDraw] Replaced `unit` code
...
- So we have only one units conversion
- I think the only difference is that KiBot code currently supports
the locales decimal point
2022-10-18 09:57:56 -03:00
Salvador E. Tropea
473d1c27e2
[PcbDraw] Updated the components libs
...
- Added 0402 components
2022-10-18 08:58:48 -03:00
Salvador E. Tropea
749618782b
[PcbDraw] Removed numpy as dependency
...
- Currently svgpathtool is disabled, it really needs numpy
- `numpy` is used to:
- Multiply matrices (1 line code)
- Find the index of the smaller element (1 line code)
- I added a replacemt for the `array` function, it just makes all
matrix elements float
2022-10-18 08:56:29 -03:00
Salvador E. Tropea
a6f4173226
[PcbDraw] Included pcbnreTransition
...
- Just 2.8 kiB no worth the effort of pulling a dependency
- In fact it could be reduced to less than 10 lines, but I keep it
almost unchanged (just added author and license) to make it easy
to updated.
2022-10-18 08:51:25 -03:00
Salvador E. Tropea
7707ec3ef6
[PcbDraw] Fixed `collect_holes` for KiCad 5
...
- pad.GetDrillSizeX() and pad.GetDrillSizeY() are KiCad 6 specific,
you must use pad.GetDrillSize()
- KiCad 5 vias were skipped
- Vias detection crashed on KiCad 5
2022-10-18 08:22:09 -03:00
Salvador E. Tropea
c16fb7144e
[PCB_Print] Replaced external PcbDraw
...
- Using the internal module
2022-10-18 07:53:12 -03:00
Salvador E. Tropea
531ace00a1
[PcbDraw] Added mechanism to only plot the solder mask
2022-10-18 07:37:16 -03:00
Salvador E. Tropea
bca04a3222
[PcbDraw][Fixed] Avoid looking for PcbDraw as dependency
...
- No longer a dependency
2022-10-18 07:09:02 -03:00
Salvador E. Tropea
838129e69c
[PcbDraw] Embedded the PcbDraw.plot code
...
- Now PcbDraw is not a dependency of out_pcbdraw.py
2022-10-17 12:58:06 -03:00
Salvador E. Tropea
1fdd3c26d1
[Fixed][QR lib update] Problems on KiCad 5
...
- Related to moving the footprint to the bottom
2022-10-14 11:08:42 -03:00
Salvador E. Tropea
25d9806b47
[Diff] Added option to compare only the first schematic page.
...
- So now the default is to compare all the schematic pages.
Closes #319
2022-10-14 10:25:37 -03:00
Salvador E. Tropea
619a7da745
Bumped version to 1.4.0
2022-10-12 10:21:49 -03:00
Salvador E. Tropea
72cae7c787
Changes to write v6 schematics more similar to prior versions
2022-10-11 13:09:49 -03:00
Salvador E. Tropea
a337028007
[Internal BoM] Added some basic support for "Exclude from BoM" flag
...
Related to #316
2022-10-11 11:46:00 -03:00
Salvador E. Tropea
d28ecfd8c4
[Schematic v6][Fixed] Autoplace fields could be lost in variants.
2022-10-11 10:06:00 -03:00
Kevin Joly
bab8b97a76
[Position] Add "right_digits" option
...
KiCAD's generated position files have 6 digit mantissa. Some users would like to have the position file(s) generated in the same way than KiCAD. This option makes that possible while keeping the default behaviour of using 4 digits mantissa.
Signed-off-by: Kevin Joly <kevin.joly@armadeus.com>
2022-10-06 15:39:34 +02:00
Salvador E. Tropea
1106708a6d
[Fixed][Position] Wrong side classification
...
- When the side column wasn't the last column
Closes #313
2022-10-06 08:59:15 -03:00
Salvador E. Tropea
86a9c25949
[Diff] Added option to skip pages with no diffs
2022-10-05 11:30:00 -03:00
Salvador E. Tropea
5592f5a2d5
[Dependencies] Added max_version
...
- Needed for incompatible PcbDraw 1.x until this is solved.
2022-10-04 09:06:07 -03:00
Salvador E. Tropea
33566c719d
[Install Checker] Added Helvetica font detection
...
- Seems to be a problem on Arch Linux and derivatives
2022-10-04 08:40:28 -03:00
Salvador E. Tropea
925d3596dd
New filter `field_modify`
...
- Also added `pre_transform` shortcut.
2022-10-03 13:11:01 -03:00
Salvador E. Tropea
82b299a159
[iBoM] Fixed the name displayed in the HTML when using filters
...
- and/or variants
2022-10-03 13:08:48 -03:00
Salvador E. Tropea
c4cc6371a8
[Diff] Added mechanism to compare with the last Nth tag
...
Related to #312
2022-10-03 09:04:29 -03:00
Salvador E. Tropea
fe223e64f6
[DOCs] Added note about `checkout` GitHub action
...
- It produces a shallow checkout
Related to #308
2022-09-30 12:39:28 -03:00
Salvador E. Tropea
a9d5b8cd58
New filter `urlify` to convert URLs in fields to HTML links
...
Closes #311
2022-09-30 11:28:21 -03:00
Salvador E. Tropea
193632ff65
[Fixed] Sch v6 sub-sheet issues
...
- When saving a sub-sheet that was edited as a standalone sheet
- In this case we have symbo instances, but they weren't
processed, so we can't look for filter modifications.
Closes #307
2022-09-29 13:45:00 -03:00
Salvador E. Tropea
b24f3b4e3b
[PcbDraw] Added extension to temporal files
...
- More clear
- PcbDraw 1.0.0 doesn't support files without extension
Is this a Windows legacy?!
2022-09-29 10:45:37 -03:00
Salvador E. Tropea
63b4c526f8
Fixed missing XYRS information for components with multiple units
...
Closes #306
2022-09-29 07:54:32 -03:00
Salvador E. Tropea
92c4d4f15d
[DOCs][Fixed] Default values for KiBoM variant filters
...
Closes #303
2022-09-27 13:49:35 -03:00
Salvador E. Tropea
ee967235e6
[Fixed] KiCad 5 "assert "lower <= upper" failed in Clamp()"
...
Closes #304
2022-09-27 13:26:35 -03:00
Salvador E. Tropea
9c1d32fac3
[Debug] Added place where we use run_command
2022-09-27 11:01:44 -03:00
Salvador E. Tropea
5d6362f620
[Install checker] Added preliminar help for Arch Linux packages
...
- Not yet tested
2022-09-24 20:06:08 -03:00
Salvador E. Tropea
7acf971b55
[PCB_Print] Changed scale strategy to make it more similar to old
...
- Rounding the scale
2022-09-23 12:48:10 -03:00
Salvador E. Tropea
518d533887
[Fixed] Python 3.10 "Decimal" issue
2022-09-23 12:38:49 -03:00
Salvador E. Tropea
7ed371cd50
[Pcb_Print] RSVG 2.54 seems to solve scale issues
...
- So now we adjust the scale according to the resulting size,
instead of assuming RSVG will do it always wrong.
2022-09-23 12:34:54 -03:00
Salvador E. Tropea
4f0e0cc9cf
[Diff] Avoid warnings about no PDF reader
2022-09-23 09:47:41 -03:00
Salvador E. Tropea
d5c398e04e
[Dependencies] Avoid trying to remove older python versions
...
- Older packages could be installed at system level, so we will fail.
Also: we don't want to remove what the user has, just have a better
version.
2022-09-23 08:10:32 -03:00
Salvador E. Tropea
1042edbb0e
[Update_XML] Correct error when using wrong value
2022-09-21 12:41:30 -03:00
Salvador E. Tropea
58b7958899
[Update_XML] Now you can check PCB and schematic parity
...
Related to #297
2022-09-21 11:33:26 -03:00
Salvador E. Tropea
7238539a29
[CLI] Fixed the -w option
...
- Missing member in simple filter
Related to #296
2022-09-21 08:21:53 -03:00