Salvador E. Tropea
71f72f2746
[KiBoM] Fixed the column name in last patch
2023-01-28 18:24:16 -03:00
Salvador E. Tropea
c39d21f3cf
[Global Options] Added field_lcsc_part: to select the LCSC/JLCPCB part field
2023-01-28 17:59:23 -03:00
Salvador E. Tropea
aa56322241
[3D][Changed] Downloaded 3D models are no longer discarded
...
- They are stored in ~/.cache/kibot/3d
- You can change the directory using KIBOT_3D_MODELS
2023-01-28 11:26:34 -03:00
Salvador E. Tropea
96822923b4
[3D][Added] A mechanism to cache downloaded 3D models
2023-01-27 12:12:16 -03:00
Salvador E. Tropea
5e34697471
[DOCs] Added link to KiCOst CI/CD example
2023-01-27 11:38:31 -03:00
Salvador E. Tropea
9f0c527667
[Blender Export] Fixed when no camera
2023-01-27 11:34:19 -03:00
Salvador E. Tropea
d0c63f8a59
[Blender Export][DOCs] More clear how to get auto position
2023-01-27 11:33:41 -03:00
Salvador E. Tropea
193f1e3a53
[Blender export] Added orthographic camera
2023-01-27 11:20:54 -03:00
Salvador E. Tropea
9d7426f3a2
[VRML] Also download the WRL
...
- When we download a STEP file
2023-01-27 00:20:30 -03:00
Salvador E. Tropea
171eeae099
[Blender Export] Remove solder paste for "not shown" components
...
- Can be disabled
2023-01-26 23:13:51 -03:00
Salvador E. Tropea
e16086ca70
[Blender Export] Now can be used as renderer
...
- Tested with kikit_present and populate
- Also added `auto_crop`
2023-01-26 18:13:38 -03:00
Salvador E. Tropea
8506fb78db
[Report][Fixed] Computed size
...
- When using circles and some arcs in the PCB edge
Closes #375
2023-01-25 11:05:01 -03:00
Salvador E. Tropea
19588f1d61
[Blender Export] Some fixes to the targets and dependencies
2023-01-24 21:25:42 -03:00
Salvador E. Tropea
a7063ea937
[Blender Export] Multiple Point of Views
...
- Moved the POV options to a separated section
- Allowed to have more than one POV
2023-01-24 20:29:08 -03:00
Salvador E. Tropea
f860b7eb11
[Blender Options] Moved the point of view options to Render Options
...
- So we can have more than one
2023-01-24 18:05:25 -03:00
Salvador E. Tropea
bf5ae1a3fd
[Blender Export][Fixed] Main options must inherit from BaseOptions
2023-01-24 17:48:59 -03:00
Salvador E. Tropea
f6251deb86
[Blender Export] Fixed file ID
...
- Now we don't inherit from 3D base
2023-01-24 16:18:07 -03:00
Salvador E. Tropea
87aa2565d0
Moved some repeated code to kiplot.py
2023-01-24 16:13:16 -03:00
Salvador E. Tropea
4e194306d1
[Blender Export] Added PCB3D generation
...
- Also control over which components are included
- Also highlight components
2023-01-24 16:00:49 -03:00
Salvador E. Tropea
72eb6e9f90
[VRML] Added options to select and highlight components
...
- Uses the same code as render_3d
2023-01-23 18:44:17 -03:00
Salvador E. Tropea
525deaadff
[DRC] Changed "errors" to "violations"
...
- Because they include warnings
2023-01-23 14:44:30 -03:00
Salvador E. Tropea
910777735f
[DOCs] Clarified how KiCad 6 warnings are counted
...
Closes #374
2023-01-23 14:20:38 -03:00
Salvador E. Tropea
b0a2c7af88
[Navigate Results] Added blender icons
...
- Also moved pads information to an "Auxiliar" section
2023-01-20 14:19:25 -03:00
Salvador E. Tropea
47bdc26154
[Report][Added] Expansion for KiCad text variables and environment variables
2023-01-19 21:05:32 -03:00
Salvador E. Tropea
2ba55ba817
[Blender Export] Moved the Z position of auto-camera
...
- 10% to avoid going too close for small PCBs
2023-01-18 20:18:29 -03:00
Salvador E. Tropea
02608daed8
[Blender Export] 30deg -> _30deg in ID
2023-01-18 20:17:42 -03:00
Salvador E. Tropea
43746ed801
[Blender Export] Added blender file to quick-start
...
- For easier debug
2023-01-18 20:13:53 -03:00
Salvador E. Tropea
eaa61b7c08
[Blender Export] Fixed %i value
...
- Must include the View like in render_3d
2023-01-18 20:12:59 -03:00
Salvador E. Tropea
9f436a5294
[Presentation] Fixed file permissions
...
- When creating using a local render
2023-01-18 19:50:13 -03:00
Salvador E. Tropea
b6240d5fea
[Copy Files][Fixed] Problems when using with `compress`
...
- Wrong targets and dependencies.
2023-01-18 15:09:10 -03:00
Salvador E. Tropea
b868a55d20
[Copy files][Added] Error message when copying files over itself
2023-01-18 14:13:17 -03:00
Salvador E. Tropea
e182ab75b8
Added debug for case sensitive differences in file name
...
Related to #366
2023-01-18 13:50:21 -03:00
Salvador E. Tropea
d61cd013b2
[Blender export][Fixed] get_target
2023-01-17 20:59:39 -03:00
Salvador E. Tropea
2f2ac6f8ae
[VRML][Fixed] Problems with missing 3D models and targets
2023-01-17 20:35:21 -03:00
Salvador E. Tropea
16e61e6f23
[DOCs] Added examples and warnings about spaces in names
...
- For the replace pre-flights
Related to #366
2023-01-17 15:40:32 -03:00
Salvador E. Tropea
eb8c04f870
[Blender Export] Added Blender render
...
- Impressive quality thanks to the pcb2blender plug-in
2023-01-16 23:42:52 -03:00
Salvador E. Tropea
e6059c6508
[DOCs] Added warning about PcbDraw and complex PCBs
2023-01-16 20:37:37 -03:00
Salvador E. Tropea
edfc2e80f1
Added the kicad_prl back-up to the list of files to remove
2023-01-16 20:35:28 -03:00
Salvador E. Tropea
b8529e7b6f
[Set Text Variables] Added more debug information
2023-01-16 12:48:31 -03:00
Salvador E. Tropea
abb0989a2a
[PCB_Print][Fixed] Missing default layer argument
2023-01-12 18:45:03 -03:00
Salvador E. Tropea
6998fd87de
[PCB_Print][Added] A mechanism to create a page for each copper layer
...
See #365
2023-01-12 18:35:27 -03:00
Salvador E. Tropea
de1bdb6cf7
[Patterns expansion] Added %C5 to %C9 to the list of detected
2023-01-12 18:34:18 -03:00
Salvador E. Tropea
6554393bd9
[PCB_Print][Fixed] Problems when trying to use groups of layers
...
- i.e. copper
2023-01-12 17:18:47 -03:00
Salvador E. Tropea
f8eb021098
[SCH_Print] Added PS, DXF and HPGL formats
2023-01-12 00:30:38 -03:00
Salvador E. Tropea
0f5ada05ee
[SCH_Print] Added color theme and color background options
...
See #362
2023-01-11 20:11:53 -03:00
Salvador E. Tropea
7fc02734b8
[Tests][Fixed] Missing fix in optionable
2023-01-10 15:11:05 -03:00
Salvador E. Tropea
db6fa6767a
[DOCs][Fixed] annotate_pcb docs and example
...
- Missing options in docs
- Wrong example
Fixes #360
2023-01-10 15:05:05 -03:00
Salvador E. Tropea
c35e218857
[Blender] Added script to load the PCB3D and export various formats
2023-01-09 16:16:17 -03:00
Salvador E. Tropea
62cce4da92
[PCB2Blender] Added support for @Haschtl fork variant
2023-01-07 18:01:45 -03:00
Salvador E. Tropea
1387bbbb49
[PCB2Blender_tools][Fixed] Name for the SilkS SVGs
...
- Must be the old KiCad 5 name
- Otherwise the importer aborts
2023-01-07 11:34:55 -03:00
Salvador E. Tropea
f66f34aebc
[PCB2Blender_tools][Fixed] The boards dir must be included
...
- Even when empty
- Otherwise we get an error from the importer
2023-01-07 11:33:22 -03:00
Salvador E. Tropea
54e4279c5f
[PCB2Blender_tool] Added support for board definitions
...
- This is a sub-PCB mechanism
2023-01-06 19:14:43 -03:00
Salvador E. Tropea
e51d59d805
[Fixed] Missleading error on run_with_retry
...
- The code was intended to run on exit
2023-01-06 19:12:32 -03:00
Salvador E. Tropea
d469d846fc
Added the .kicad_pro-bak to the list of files to clean
2023-01-06 19:11:46 -03:00
Salvador E. Tropea
f49d679b7c
[PCB2Blender_tools][Added] Stackup support
2023-01-06 16:32:58 -03:00
Salvador E. Tropea
466f97a0e3
[PCB2Blender][Fixed] SVGs must be generated without drill marks
2023-01-06 13:39:48 -03:00
Salvador E. Tropea
76bf264350
[Added] PCB2Blender_2_1 template
...
- Generates pcb2blender 2.1 files to import on Blender
2023-01-06 13:31:55 -03:00
Salvador E. Tropea
59b90283ed
[Compress][Added] Option to use the output's `dir` as reference
...
- `from_output_dir`
2023-01-06 13:16:48 -03:00
Salvador E. Tropea
42f5dcd8d6
[SVG][Added] Options to limit the view box to the used area.
2023-01-05 19:29:31 -03:00
Salvador E. Tropea
b2f5612b77
[Filters] Moved _only_smd to be truly internal
...
- Defined _only_tht and _only_virtual
- Simplified the internal filters generation
2023-01-05 17:52:02 -03:00
Salvador E. Tropea
bda5c159ae
[Quick-Start] Changes in variants use
...
- Avoid importing PCB/SCH stuff that isn't needed
- We no longer use variants in Quick-Start, just filters
2023-01-05 14:16:19 -03:00
Salvador E. Tropea
315a089300
[Fixed][BoM] pre_transform filers can't be logic filters
2023-01-05 14:15:25 -03:00
Salvador E. Tropea
cb9b353220
[Templates] Added MacroFab XYRS
2023-01-05 14:13:03 -03:00
Salvador E. Tropea
d274ada385
[Quick-Start] Recycled the templates for gerbers
...
- Now we use the internal templates for the Gerber examples
2023-01-05 13:08:49 -03:00
Salvador E. Tropea
1ff0a48596
[Fixed] Import separated code (missing dir)
2023-01-05 10:48:25 -03:00
Salvador E. Tropea
c9437e244d
[Import] Simplified the templates import
...
- Now we detect if the name is internal
- A mechanism to skip the detection was added, just in case
2023-01-05 09:33:15 -03:00
Salvador E. Tropea
745e8758ad
Added correct detection for unknown outputs/groups inside groups
2023-01-05 08:37:55 -03:00
Salvador E. Tropea
1202351fed
[Templates] Moved JLCPCB+stencil to a separated import
...
- So now the compress target includes the stencil
2023-01-05 08:36:17 -03:00
Salvador E. Tropea
bdffcfa508
[Internal templates] Added for all the known manufacturers
2023-01-04 13:47:03 -03:00
Salvador E. Tropea
c8ae01c374
[Import] Marked filters from internal imports as internal
...
- Allows using _* as name
2023-01-04 13:45:17 -03:00
Salvador E. Tropea
5a5967c6b3
[Added] Support for internal imports
...
- A mechanism to implement templates
- Also fixed some groups import issues
2023-01-04 11:39:48 -03:00
Salvador E. Tropea
17aacf8daf
[Added] Support for `groups` of `outputs`
2023-01-04 08:38:21 -03:00
Salvador E. Tropea
12b3f1e5de
Simplified exec_with_retry use
...
- No need to call remove_temporals
- We keep temporals when using debug and got a crash
- Temporals removed on crash
- We inform is temoprals were kept
2023-01-03 11:29:45 -03:00
Salvador E. Tropea
f7b9092a2a
Simplified the KiAuto use
...
- Temporal video remove
- Other temporals
- Messages on execution error
2023-01-03 10:04:44 -03:00
Salvador E. Tropea
cfee399110
[Sub-PCB][Added] KiCad 5 workaround
...
- The GetBoundingBox member returns values with 1 IU of error (1 fm)
- So now we use at least 2 fm of tolerance
2023-01-02 10:42:19 -03:00
Salvador E. Tropea
16cb739ae4
[Copy_Files][Fixed] Problems on KiCad 5
...
- No 3rd party dir
Fixes #357
2023-01-02 09:47:07 -03:00
Salvador E. Tropea
1fdb8a6c4b
Merge branch 'subpcb' into dev
2022-12-28 13:33:42 -03:00
Salvador E. Tropea
eb911f35d1
[PCB_Print][Added] Support for sketch_pads_on_fab_layers
...
Closes #356
2022-12-28 13:26:15 -03:00
Salvador E. Tropea
284b9df12a
[Any Layer][Added] Support for sketch_pads_on_fab_layers
...
Related to #356
2022-12-28 13:06:39 -03:00
Salvador E. Tropea
27247c17b6
[Sub-PCBs] Implemented centered PCB
...
- Also added option to disable it, at least for the internal tool
- KiKit 1.1.2 is not centering, but using top-left ... but the docs
says it should center.
2022-12-28 11:07:27 -03:00
Salvador E. Tropea
356c16de83
[Sub-PCBs] When using KiKit now we use preserveArcs
2022-12-28 09:57:38 -03:00
Salvador E. Tropea
728bded7ad
[Sub-PCBs] Implementad annotation removal
2022-12-28 09:44:44 -03:00
Salvador E. Tropea
002dba631d
[sub-PCB] Implemented the `tolerance`
2022-12-28 09:23:50 -03:00
Salvador E. Tropea
1e3962762c
[sub-PCB] Added some comments for the members
2022-12-28 08:54:45 -03:00
Salvador E. Tropea
081932f8bb
[sub-PCB] Now you can choose between internal implementation and KiKit
2022-12-28 08:48:50 -03:00
Salvador E. Tropea
ae035a4c0e
[sub-PCBs] Implemented annotations mode
...
- Most of the algorithm is an adaptation of what KiKit does, just
adapted to what we really need here.
- Now separating boards is really fast.
2022-12-28 08:05:18 -03:00
Salvador E. Tropea
983c91be1d
[Fixed] Problems when no pcbnew installed
...
- New code interference with proper detection
2022-12-27 13:45:15 -03:00
Salvador E. Tropea
10accfa4ff
[sub-PCBs][Fixed] Problems when we don't have components
2022-12-27 12:48:44 -03:00
Salvador E. Tropea
b8dff52fa3
[sub-PCBs] Implemented the rectangle separation
...
- Notably faster
2022-12-27 12:37:33 -03:00
Salvador E. Tropea
6b432f3de6
[sub-PCBs] Just a debug message when we restore excluded components
2022-12-27 09:10:50 -03:00
Salvador E. Tropea
41c5701d33
[sub-PCB] Avoided saving the PCB before separate
...
- Now isn't needed because we filter stuff after it
2022-12-27 09:07:33 -03:00
Salvador E. Tropea
1dbe58aab1
Moved sub-PCB specific stuff to var_base (from out_base)
...
- To allow more than one mechanism
- Also changed the order in which sub-PCBs are applied, will make
things faster
- Also removed board as parameter for un/filter_pcb*
Isn't really supported and the sub-PCBs clearly breaks it
2022-12-27 08:48:44 -03:00
Salvador E. Tropea
7760019bf0
[Position] Added support for sub-PCBs
2022-12-26 13:40:47 -03:00
Salvador E. Tropea
89be5dacdd
[Populate] Added support for sub-PCBs
...
- Fixed problems when using variants and sub-PCBs, some changes
reverted during separation.
2022-12-26 13:04:49 -03:00
Salvador E. Tropea
9da30b2c5e
[Panelize] Added sub-PCBs support
2022-12-26 11:06:46 -03:00
Salvador E. Tropea
819555e668
[Netlist] Added support for sub-PCBs
2022-12-26 11:00:06 -03:00
Salvador E. Tropea
3f74105c82
[KiBoM] Added one more warning about variants
...
- They aren't KiBot variants
2022-12-26 10:48:30 -03:00
Salvador E. Tropea
e82049cdea
[iBoM] Changed to use will_filter_pcb_components
2022-12-26 10:45:54 -03:00
Salvador E. Tropea
2282334986
[GenCAD] Added support for sub-PCBs.
2022-12-26 10:38:19 -03:00
Salvador E. Tropea
c2924ed503
Updated (c) year
2022-12-26 10:36:37 -03:00
Salvador E. Tropea
4d5152032d
[Copy Files] Added support for sub-PCBs
2022-12-26 09:48:17 -03:00
Salvador E. Tropea
5dacb969b1
[BoardView] Added sub-PCBs support
2022-12-26 09:33:04 -03:00
Salvador E. Tropea
71f2894ef4
[PDF/SVG PCB Print] Implemented sub-PCBs
2022-12-26 09:06:37 -03:00
Salvador E. Tropea
6d8ca3f163
[Windows] One more use of rename changed to replace
2022-12-26 09:06:00 -03:00
Salvador E. Tropea
ebabc0b37b
[Windows] Fixed problems with os.rename
...
- Now using os.replace
- It removes the target if already there
2022-12-26 08:02:14 -03:00
Salvador E. Tropea
cd89f8b235
[KiBoM][Fixed] Its variants has nothing to do with KiBot
2022-12-22 13:41:01 -03:00
Salvador E. Tropea
c9aab5d4cc
[Any layer] Added support for sub-PCBs
2022-12-22 13:22:36 -03:00
Salvador E. Tropea
ed33913327
[Fixed][Sub-PCBs] Unfilter must be applied even if no _comps
2022-12-22 13:06:16 -03:00
Salvador E. Tropea
b4fa74e774
[Fixed] Missing sub-PCB name resolve for pre-flights
2022-12-22 13:00:20 -03:00
Salvador E. Tropea
421dcf34b7
[Added] Sub-PCB support to drill outputs
2022-12-22 12:42:21 -03:00
Salvador E. Tropea
b2b528e4ec
[Fixed] Some times we need %V, %v, %S before full config
...
- So now we solve the variant on-the-fly
2022-12-22 12:40:12 -03:00
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
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
Salvador E. Tropea
82229e126d
[Copy_Files] Made 3D models use the project path as base
...
- To avoid problems when KiCad is running from other place
2022-09-21 08:00:58 -03:00
Salvador E. Tropea
dff7d9d299
[3D models] More flexible about relative dirs
...
- When solving a relative path accept it to be relative to the
PCB or relative to the current working directory.
2022-09-20 13:42:06 -03:00
Salvador E. Tropea
e2fdf87d6b
[Copy_Files] Now you can copy the 3D models
...
- Also save a PCB modified to use them
- Changed the syntax so we can copy other stuff
2022-09-20 13:13:12 -03:00
Salvador E. Tropea
39eabd996f
[Schematic v5] Better error message when mixing v5/6 files
...
Related to #298
2022-09-20 09:18:25 -03:00
Salvador E. Tropea
49b21c8e93
[DOCs] Made the filters for ERC/DRC vs globals more clear
...
- Now the KiBot ones doesn't mention KiCad versions
- If the user uses Wxxx for the `error` in the KiBot ones we filter xxx
- Added text to clarify how to get rid of W058 warnings
- Also now we report warning counts when all filtered
Related to #214
2022-09-16 10:16:20 -03:00
Salvador E. Tropea
098b38c462
[DOCs] Documented the error level for diff fail
2022-09-16 09:24:47 -03:00
Salvador E. Tropea
751e8e8c2f
Removed debug messages in run_drc/run_erc
2022-09-16 08:45:27 -03:00
Salvador E. Tropea
67175dcbd9
Now the error about differences bigger than the threshold is more clear
...
- KiBot also returns a distinct error level.
2022-09-16 08:41:15 -03:00
Salvador E. Tropea
e273d615f2
Fixed -w implementation issues
...
- Crash when not used
2022-09-16 08:13:10 -03:00
Salvador E. Tropea
252f10e8f3
Added command line option to specify warnings to be excluded.
...
- Useful for warnings issued before applying the global options
(i.e during import).
Fixes #296
2022-09-16 07:48:22 -03:00
Salvador E. Tropea
a8e48031c8
[Diff] Added mechanism to specify the PCB/Schematic in memory
...
- Now this is the default
Closes #295
2022-09-16 07:07:43 -03:00
Salvador E. Tropea
de4daddc52
Assigned a number to the experimetal warning about missing refs
...
Related to #248
2022-09-16 06:21:24 -03:00
Salvador E. Tropea
0cf25c3295
Allow empty references in the generic filter
...
Related to #248
2022-09-16 06:17:34 -03:00
Salvador E. Tropea
4f54712a94
Added experimental option to accept CSV files without reference.
2022-09-15 14:05:24 -03:00
Salvador E. Tropea
5c825151b0
[Import] Global options are now "merged"
...
Close #291
2022-09-15 13:27:54 -03:00
Salvador E. Tropea
06152348ff
Report unknown stuff in kibot/kiplot section
2022-09-15 12:57:00 -03:00
Salvador E. Tropea
e49cbc2b93
[Global Ops] Added mechanism to give more priority to local globals.
...
- `imported_global_has_less_priority` in the KiBot section
Related to #291
2022-09-15 12:51:25 -03:00
Salvador E. Tropea
488f2dcbc2
[Global options] Now the global `dir` option also applies to the preflights
...
- Can be disabled using `use_dir_for_preflights`.
Closes #292
2022-09-15 09:33:57 -03:00
Salvador E. Tropea
74d8b57830
Moved the BaseVariants import to the place where we use it
...
- Seems to solve macros issues
2022-09-15 07:38:57 -03:00
Salvador E. Tropea
3e03228b7b
[DOCs] Added help about the variant options
...
- Generated by a new command line `--help-variants`
Related to #257
2022-09-15 07:13:33 -03:00
Salvador E. Tropea
76742bb69f
[Fixed] Problems when aggregating a CSV without footprint
...
See #248
2022-09-15 06:34:17 -03:00
Salvador E. Tropea
e4ee39eadf
[DOCs] Added details about what poor means regarding to worksheet
...
Related to #233
2022-09-14 13:33:38 -03:00
Salvador E. Tropea
d51791f197
Added a warning whe we download 3D models
2022-09-14 10:58:05 -03:00
Salvador E. Tropea
446364fb32
[Fixed] Download datasheet abort on connection error
...
- Now it isn't fatal
- This is PR #290 applied to master
Closes #289
2022-09-14 10:45:06 -03:00
Salvador E. Tropea
d01943ed87
Added support for 3D models aliases
...
- Also a global option to define them in the KiBot configuration
Related to #261
2022-09-14 09:38:47 -03:00
Salvador E. Tropea
418b74b2f3
Environment and text variables now can be used as 3D model aliases.
...
- Environment and text variables expansion is now recursive.
So in `${VAR}` the *VAR* can contain `${OTHER_VAR}`
Related to #261
2022-09-14 07:30:13 -03:00
Salvador E. Tropea
23d46b9a10
[Fixed] --define wasn't allowed for --list
...
- So people couldn't use definitions and use --list
Fixes #288
2022-09-14 06:45:17 -03:00
Salvador E. Tropea
08a0628eff
Added some basic preprocessing
...
- Now you can parametrize the YAML config.
Related to #233 and #243
2022-09-13 13:31:25 -03:00
Salvador E. Tropea
4cbb7a3405
[Fixed] 2D PCB processing didn't show in 3D targets
...
- I.e. solder paste not removed in the 3D render.
Related to #270
2022-09-13 11:32:27 -03:00
Salvador E. Tropea
87ce073e77
[Fixed][BoM] CSV detection
2022-09-13 11:01:57 -03:00
Salvador E. Tropea
6f2c4ccf24
[Globals] Added options to control which stuff is changed on PCB variants
...
- cross_footprints_for_dnp
- remove_adhesive_for_dnp
- remove_solder_paste_for_dnp
- hide_excluded (default value)
Related to #270
2022-09-13 10:44:07 -03:00
Salvador E. Tropea
661677608e
[Internal BoM] Added CSV aggregate
...
Related to #248
2022-09-13 09:25:14 -03:00
Salvador E. Tropea
1f1a56e5ac
Added support for changing text variables with variants
...
- During outputs creation.
- Option `set_text_variables_before_output`.
Related to #233
2022-09-12 13:35:40 -03:00
Salvador E. Tropea
9a70f2e141
New output copy_files
...
Closes #279
2022-09-12 10:39:44 -03:00
Salvador E. Tropea
70a2788df0
[Render 3D] Added options to control render aspects
...
- To disable some technical layers
- To control the silkscreen clipping
Closes #282
2022-09-12 08:25:32 -03:00
Salvador E. Tropea
877695378c
[Fixed][Diff] Link name for git diffs
...
- Also adapted file test to new name
2022-09-09 13:30:27 -03:00
Salvador E. Tropea
e871efe4bd
[Diff] Option to use variant's file_id for the link
...
- Also changed None by Current/FILE
2022-09-09 13:09:56 -03:00
Salvador E. Tropea
6cf6b08450
[SCH Variant] Added option to change the title
...
- Similar to PCB Variant
2022-09-09 12:51:51 -03:00
Salvador E. Tropea
f615790ddc
[Diff] Added schematic variants compare
...
Closes #278
2022-09-09 11:36:48 -03:00
Salvador E. Tropea
b85aca8c29
[Base3DOptions] Removed initialization now done in the constructor
2022-09-09 11:34:25 -03:00
Salvador E. Tropea
11cba00a1f
[SCH Variant] Added option to copy the project
...
- May contain text variables
2022-09-09 11:33:40 -03:00
Salvador E. Tropea
0a817bfc60
[Diff] Added two mechanisms to compare PCB variants in one output
...
- Taking pairs
- Using a reference
Related to #278
2022-09-09 10:57:36 -03:00
Salvador E. Tropea
584ef5354b
[Diff] Added mechanism to compare using a variant
...
Related to #278
2022-09-09 09:42:06 -03:00
Salvador E. Tropea
2111eaf6d2
[PCB Variant] Options for title and conditional project copy
2022-09-09 09:08:26 -03:00
Salvador E. Tropea
4dc93da42b
[PCB Variant] Implemented the 3D filtering
...
- The PCB filtering code was moved to make it, some errors could be
introduced
2022-09-09 08:57:05 -03:00
Salvador E. Tropea
b0b7c6c041
[Netlist] Problems to compress
...
Fixes #287
2022-09-09 06:51:38 -03:00
Salvador E. Tropea
409640c681
Starting to add an output to create PCB variants
...
- WIP, some part is working
2022-09-08 13:54:37 -03:00
Salvador E. Tropea
42aa142a56
[Report] Added support for Eurocircuits drill adjust to fix small OARs.
...
Closes #227
2022-09-08 11:37:58 -03:00
Salvador E. Tropea
9fdbfa5411
Bumped version to 1.3.0
2022-09-08 09:05:59 -03:00
Salvador E. Tropea
241eca63ff
[PCB Print] Added option to customize the page numbers
...
Related to #283
2022-09-08 07:24:56 -03:00
Salvador E. Tropea
2f37a5c6b4
[3D models] Various small details about missing models
...
- Fail to expand a VAR is reported once. Not for every model.
- Warnings no longer printed if the model is missing but we can
download it. It confuses people when the problem is solved.
- When we fail to expand a VAR and the result is "${VAR}..."
we tried to make it an absolute path creating a path that was
confusing. Now we keep the original name.
2022-09-07 14:15:31 -03:00
Salvador E. Tropea
99bfaec4dc
[Tests] Make the logger tollerant to wrong init sequence
2022-09-07 14:05:02 -03:00
Salvador E. Tropea
f127312b27
[Diff] Added example for quick start
2022-09-07 13:26:48 -03:00
Salvador E. Tropea
33dda2c3ac
[Quick Start] Avoid starting a browser when no index is generated
2022-09-07 13:26:06 -03:00
Salvador E. Tropea
f156a23f3f
[Info] Added environment vars, KiBot paths and KiAuto info.
2022-09-07 12:45:56 -03:00
Salvador E. Tropea
6354ccdd7d
[Diff] More changes to the link name
...
- Adding the tag to branches
2022-09-07 10:52:51 -03:00
Salvador E. Tropea
ba5164ffa4
[PCB Print] Added option to move the page number to the extension
...
- page_number_as_extension
- Can be used to easily create custom output names
Related to #283
2022-09-07 09:46:57 -03:00
Salvador E. Tropea
9cd284a9c0
[Quick Start][PCB Print] Fixed tools check
...
- Changes in the toolchain
2022-09-07 09:11:27 -03:00
Salvador E. Tropea
e177ed1079
[DOCs] Added note about DXF output and dimensions
...
Related to #284
2022-09-07 09:01:55 -03:00
Salvador E. Tropea
3684889060
[PCB Print] Changed the conversion strategy
...
- Now we can control the resolution
- Added option for this
Related to #259
2022-09-07 08:40:18 -03:00
Salvador E. Tropea
22d618a425
[PCB Print] Added option to configure the forced edge color.
...
Closes #281
2022-09-06 11:06:44 -03:00
Salvador E. Tropea
43aae8b0fe
[Diff] Give priority to a tag if we are exactly at the tag
2022-09-06 10:37:48 -03:00
Salvador E. Tropea
947542747f
[Diff] Added some logic to support new=''
...
- Pretends to be HEAD
- Detects if we have a dirty state
Related to #276
2022-09-06 10:12:10 -03:00
Salvador E. Tropea
f603301d59
[Diff] Changed the name of the link
...
- It now tries with the branch, then the tag and finally what the user
named.
Related to #276
2022-09-06 08:56:28 -03:00
Salvador E. Tropea
b704c2ab41
[DOCs] `pcb_print` added all extensions for %i reference
2022-09-06 08:54:00 -03:00
Salvador E. Tropea
460ffca49b
[Diff] Better `copy_instead_of_link` description
...
Related to #275
2022-09-05 13:56:56 -03:00
Salvador E. Tropea
e34d4a01e0
[Diff] Added option to force the checkouts
2022-09-05 13:48:14 -03:00
Salvador E. Tropea
a4abb65ef3
[Diff] Added support for stashing submodules
...
Related to #265
2022-09-05 13:35:04 -03:00
Salvador E. Tropea
11d1b7ffcb
[Diff] Now the link contains the git point name and the hash
...
Related to #276
2022-09-05 10:58:27 -03:00
Salvador E. Tropea
40526ed012
[Fixed] Avoid reloading the project is none loaded
2022-09-05 10:30:29 -03:00
Salvador E. Tropea
795e56b6d7
[PCB_Print] Text vars generated in the same run didn't show up
...
Fixes #280
2022-09-05 10:05:05 -03:00
Salvador E. Tropea
01536726a1
New output "Info": collects info about the environment.
...
Related to #209
2022-09-05 09:07:08 -03:00
Salvador E. Tropea
0631836f29
When restoring the project now we maintain the original EOLs
...
- Not doing it in KiAuto raised problems, so now we also do it in
KiBot
Related to #265
2022-09-02 09:38:16 -03:00
Salvador E. Tropea
560ce80c7d
[Debug] Logged executed command in a cut & paste friendly way
...
Closes #269
2022-09-02 08:49:39 -03:00
Salvador E. Tropea
de4d6c0714
[Diff] Added error message when KIBOT_LAST doesn't point to a hash
2022-09-02 08:14:55 -03:00