Commit Graph

1231 Commits

Author SHA1 Message Date
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