Skip to content

Commit

Permalink
[DOCs][Added] New SVG option
Browse files Browse the repository at this point in the history
  • Loading branch information
set-soft committed Oct 5, 2024
1 parent 90898da commit d2059c5
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 15 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.8.2] - UNRELEASED
### Added
- Experimental GUI
- SVG: `use_aux_axis_as_origin` option (#681)

### Fixed
- PCB Print: allow specifying `repeat_for_layer` with empty `repeat_layers`.
Expand Down
2 changes: 2 additions & 0 deletions docs/samples/generic_plot.kibot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3819,6 +3819,8 @@ outputs:
tent_vias: true
# [boolean=false] Use uppercase names for the extensions
uppercase_extensions: false
# [boolean=false] Use the auxiliary axis as origin for coordinates
use_aux_axis_as_origin: false
# [string=''] Board variant to apply
variant: ''
layers: all
Expand Down
1 change: 1 addition & 0 deletions docs/source/Changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Added
~~~~~

- Experimental GUI
- SVG: ``use_aux_axis_as_origin`` option (#681)

Fixed
~~~~~
Expand Down
1 change: 1 addition & 0 deletions docs/source/configuration/outputs/SVGOptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ SVGOptions parameters
Note that for an A4 paper Firefox 91 and Chrome 105 can't handle more than 5.
- ``tent_vias`` :index:`: <pair: output - svg - options; tent_vias>` [:ref:`boolean <boolean>`] (default: ``true``) Cover the vias.
- ``uppercase_extensions`` :index:`: <pair: output - svg - options; uppercase_extensions>` [:ref:`boolean <boolean>`] (default: ``false``) Use uppercase names for the extensions.
- ``use_aux_axis_as_origin`` :index:`: <pair: output - svg - options; use_aux_axis_as_origin>` [:ref:`boolean <boolean>`] (default: ``false``) Use the auxiliary axis as origin for coordinates.
- ``variant`` :index:`: <pair: output - svg - options; variant>` [:ref:`string <string>`] (default: ``''``) Board variant to apply.

.. toctree::
Expand Down
7 changes: 7 additions & 0 deletions tests/GUI/outputs
Original file line number Diff line number Diff line change
Expand Up @@ -12821,6 +12821,13 @@
],
null
],
[
"use_aux_axis_as_origin",
[
"DataTypeBoolean"
],
null
],
[
"limit_viewbox",
[
Expand Down
30 changes: 15 additions & 15 deletions tests/GUI/stats
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
48 outputs types with a total of 1872 different parameters
Single type parameters: 1698 (91 %)
48 outputs types with a total of 1873 different parameters
Single type parameters: 1699 (91 %)
Multi type parameters: 174 (9 %)
Average parameters: 39
Maximum number of parameters: 213
Expand All @@ -9,8 +9,8 @@ Histogram:
10- 19: ******
20- 29: *********************
30- 39: *******
40- 49: *******
50- 59: *
40- 49: ******
50- 59: **
60- 69: **
70- 79: *
80- 89: *
Expand Down Expand Up @@ -68,7 +68,7 @@ Outputs sorted by parameters:
- kibom: 45
- ibom: 46
- ps: 46
- svg: 49
- svg: 50
- pcbdraw: 58
- pdf: 63
- render_3d: 66
Expand Down Expand Up @@ -138,7 +138,7 @@ Outputs sorted by depth:
--------------------------------------------------------------------------------
14 different data types
- String: 843
- Boolean: 468
- Boolean: 469
- Number: 266
- ListStringSingular: 222
- Choice: 94
Expand All @@ -154,7 +154,7 @@ Outputs sorted by depth:
--------------------------------------------------------------------------------
Used as single data type:
- String: 689
- Boolean: 412
- Boolean: 413
- ListStringSingular: 219
- Number: 172
- Choice: 91
Expand Down Expand Up @@ -384,8 +384,8 @@ Used as single data type:
- Number,String: 15
================================================================================
================================================================================
84 totals types with a total of 2201 different parameters
Single type parameters: 2006 (91 %)
84 totals types with a total of 2202 different parameters
Single type parameters: 2007 (91 %)
Multi type parameters: 195 (9 %)
Average parameters: 26
Maximum number of parameters: 213
Expand All @@ -395,8 +395,8 @@ Histogram:
10- 19: **************
20- 29: *************************
30- 39: ********
40- 49: *******
50- 59: *
40- 49: ******
50- 59: **
60- 69: **
70- 79: *
80- 89: *
Expand Down Expand Up @@ -490,7 +490,7 @@ Totals sorted by parameters:
- kibom: 45
- ibom: 46
- ps: 46
- svg: 49
- svg: 50
- pcbdraw: 58
- pdf: 63
- render_3d: 66
Expand Down Expand Up @@ -596,7 +596,7 @@ Totals sorted by depth:
--------------------------------------------------------------------------------
14 different data types
- String: 987
- Boolean: 556
- Boolean: 557
- Number: 295
- ListStringSingular: 251
- Choice: 124
Expand All @@ -612,7 +612,7 @@ Totals sorted by depth:
--------------------------------------------------------------------------------
Used as single data type:
- String: 818
- Boolean: 494
- Boolean: 495
- ListStringSingular: 248
- Number: 186
- Choice: 121
Expand All @@ -638,4 +638,4 @@ Used as single data type:
- Dict,Number: 2 ['pcbdraw.options.margin', 'svg.options.margin']
- Boolean,Choice: 1 ['ibom.options.highlight_pin1']
- String,StringDict: 1 ['pcbdraw.options.remap']
Found 2 unique warning/s (3 total)
Found 3 unique warning/s (4 total)

0 comments on commit d2059c5

Please sign in to comment.