Commit Graph

1141 Commits

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