Commit Graph

35 Commits

Author SHA1 Message Date
Salvador E. Tropea 8404cd7613 [Tests][Fixed] test_step_alias_2 fails
- Cascaded by other fails
2023-05-12 09:51:45 -03:00
Salvador E. Tropea 05105cdc9a [3D] colored 3D models for THT resistors 2023-03-20 14:26:09 -03:00
Salvador E. Tropea 6eb631d5bd [Tests] Relaxed the test_render_3d_variant_1 test
- Having problems with new KiCad 6 images
2023-03-14 11:32:55 -03:00
Salvador E. Tropea 70d716e561 [3D Models] Added support for models relative to libs
- New on KiCad v7, but will work for olders
2023-02-28 14:00:55 -03:00
Salvador E. Tropea c7a1a25369 [Tests][KiCad 7] More adjusts to the references
Introduced by:
- Fixes in the vertical alignment of text in the PCB
- A much usable default for the edge to copper distance
2023-02-28 07:32:09 -03:00
Salvador E. Tropea 45b1e27d5e [Tests] Adapted for the new Blender output name 2023-01-18 21:08:07 -03:00
Salvador E. Tropea 96daf7e4a8 [Tests] Added very naive Blender test 2023-01-17 19:45:57 -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 adcd77a821 [Experiment] Trying to figure out why KiAuto isn't using the interposer 2022-07-30 12:48:31 -03:00
Salvador E. Tropea 061ed0488e [Tests] Separated kicad2step, pcbnew and eeschema tests 2022-07-14 19:23:28 -03:00
Salvador E. Tropea 9532422984 [Tests] Run slow tests separately
- Also run the faster ones in parallel
- The slowest use KiCad, not sure how safe is to run it in parallel
- Changed mechanism of coverage collection to allow parallel execution
2022-07-09 16:33:09 -03:00
Salvador E. Tropea 35c7286229 Added test for gloabl environment vars 2022-06-12 11:30:44 -03:00
Salvador E. Tropea e6b98bd5aa More test simplifications 2022-06-10 21:09:34 -03:00
Salvador E. Tropea 3a5042ea96 Simplified the tests 2022-06-10 19:55:13 -03:00
Salvador E. Tropea e15f18de2c Simplified the tests initialization
- Now output dirs are named after the test function
2022-06-10 14:01:56 -03:00
Salvador E. Tropea b48a9e5ab0 Fixed (KiCad 6) traces not visible in 3D render
Fixes #177
2022-04-07 15:44:22 -03:00
Salvador E. Tropea bb0f86ae61 Fixed KiCad 6 text variables not expanded in `render_3d` output
- We must copy the project file to the temporal dir
Fixes #173
2022-04-02 12:14:56 -03:00
Salvador E. Tropea dad1f91439 Added: text vars expansion for 3D model paths
Closes #172
2022-03-31 14:58:39 -03:00
Salvador E. Tropea 780fc25b26 Enabled render_3d output for KiCad 6 now KiCad bug is fixed. 2022-03-08 12:06:49 -03:00
Salvador E. Tropea 358fb4f816 Added message about problems with 3D Viewer on KiCad 6.0.0. 2021-12-28 18:04:20 -03:00
Salvador E. Tropea 057f8688da Added support for STEP generation using KiCad 6
- Uses a new KiAuto release (1.6.0) to workaround KiCad 6 limitation
- Updated the tests
- Updated the board samples, another "limitation" in KiCad 6 (no longer
  looks for .step files when the model is a .wrl)
2021-12-28 17:44:36 -03:00
Diego Capusotto d989857ac7 Removed temporal project left by out_step
Closes #124
2021-12-18 11:11:55 -03:00
Salvador E. Tropea 1bb8a56209 Added a small test for the render_3d output.
- I used it to reproduce the temporal project generation.
2021-11-18 13:55:08 -03:00
Salvador E. Tropea 7961209b0f Experimental mechanism to change 3D models according to the variant. 2021-03-31 18:00:43 -03:00
Salvador E. Tropea 602f0dd261 Added a STEP test using a model that is inside our tree.
Ensures all models will be found.
2021-02-03 11:26:37 -03:00
Salvador E. Tropea 0b3891d942 Added tests for bogus 3D model and another shipped. 2021-02-03 11:12:24 -03:00
Salvador E. Tropea 3d5547f6c6 Changed the way we get the target test directory.
- Pytest 6 removed the old global mechanism.
- Now using a `fixture`
2021-02-01 11:16:33 -03:00
Salvador E. Tropea 3b1f62ac8e Added a check for the 3D model in the STEP tests.
Now that they get downloaded this should work even in the docker image.
2020-12-30 15:41:48 -03:00
Salvador E. Tropea adf6c7a5b1 Modified tests to keep kibom-variant_3.pro 2020-10-24 17:22:08 -03:00
Salvador E. Tropea cf46a8ba86 Added variants support to the STEP output.
3D Models of excluded components are removed.
2020-09-03 18:50:30 -03:00
Salvador E. Tropea 9d10c991da Changed default name for step files (adds -3D) 2020-07-12 18:55:08 -03:00
Salvador E. Tropea 3382b4fe7b Fixed the way options with arguments are passed to kicad2step. 2020-06-15 15:58:08 -03:00
Salvador E. Tropea c2a735e9a6 For some reason Python sys.path vector has a limit and I was abusing it.
Each test module setups the path to find the needed modules, but didn't check
if it was necesary. Creating a long path that finally started to fail.
2020-06-15 15:14:53 -03:00
Salvador E. Tropea 685fef2ef6 Added test for STEP files generation 2020-06-15 13:39:59 -03:00