Commit Graph

1364 Commits

Author SHA1 Message Date
Salvador E. Tropea ebbfbb7b62 [KiCad 7] Solved UI_PER_MM and UI_PER_MILS changes 2023-02-09 08:47:21 -03:00
Salvador E. Tropea cb0465bcde Bumped version to 1.6.1
- Just to make it different
2023-02-06 13:15:46 -03:00
Salvador E. Tropea 943d6008d0 Bumped version to 1.6.0
- Updated the docs
2023-02-06 09:12:36 -03:00
Salvador E. Tropea 129889a0f5 [Dependency Downloader] Fixed last patch (arguments) 2023-02-06 07:22:12 -03:00
Salvador E. Tropea aa7c8145dd [Tests][Dependency Downloader] Added retries on 403
- GitHub randomly generates it
2023-02-06 07:01:06 -03:00
Salvador E. Tropea 624f7ff68f [3D download] Fixed cases where we have no components from the SCH 2023-01-31 13:31:59 -03:00
Salvador E. Tropea df085fa8bc Added mechanism to download 3D models from EasyEDA
- Using LCSC codes

Closes #380
2023-01-31 13:12:06 -03:00
Salvador E. Tropea 305bfb7d0c [PCB2Blender] Fixed problems with components with some values
- That includes invalida characters for a file name
2023-01-31 13:03:43 -03:00
Salvador E. Tropea fd6f225a72 [K6 3D Model aliases] Avoid confusing the Windows drive letter
- C:.... looks like ALIAS = C
2023-01-31 13:02:35 -03:00
Salvador E. Tropea 4db3788830 [LCSC field] Fixed the detection
- Randomly confused the reference
2023-01-31 13:00:58 -03:00
crides 6b89f42399 don't show warning if footprint has attribute "not in schematics" 2023-01-30 08:43:33 -03:00
Robin Modisch 353614a6ab fix typo 2023-01-30 08:41:14 -03:00
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