diff --git a/README.md b/README.md index 2ac93fdc..13d4292e 100644 --- a/README.md +++ b/README.md @@ -1613,6 +1613,7 @@ Notes: - `plot_footprint_refs`: [boolean=true] Include the footprint references. - `plot_footprint_values`: [boolean=true] Include the footprint values. - `polygon_mode`: [boolean=true] Plot using the contour, instead of the center line. + You must disable it to get the dimensions (See https://gitlab.com/kicad/code/kicad/-/issues/11901). - `sketch_plot`: [boolean=false] Don't fill objects, just draw the outline. - `tent_vias`: [boolean=true] Cover the vias. - `uppercase_extensions`: [boolean=false] Use uppercase names for the extensions. diff --git a/docs/samples/generic_plot.kibot.yaml b/docs/samples/generic_plot.kibot.yaml index 25aeaf0f..0c2ee235 100644 --- a/docs/samples/generic_plot.kibot.yaml +++ b/docs/samples/generic_plot.kibot.yaml @@ -525,7 +525,8 @@ outputs: # [boolean=false] Include the frame and title block. Only available for KiCad 6 and you get a poor result # The `pcb_print` output can do a better job for PDF, SVG, PS, EPS and PNG outputs plot_sheet_reference: false - # [boolean=true] Plot using the contour, instead of the center line + # [boolean=true] Plot using the contour, instead of the center line. + # You must disable it to get the dimensions (See https://gitlab.com/kicad/code/kicad/-/issues/11901) polygon_mode: true # [boolean=false] Don't fill objects, just draw the outline sketch_plot: false diff --git a/kibot/out_dxf.py b/kibot/out_dxf.py index 20740cf7..96e12355 100644 --- a/kibot/out_dxf.py +++ b/kibot/out_dxf.py @@ -22,7 +22,8 @@ class DXFOptions(DrillMarks): self.use_aux_axis_as_origin = False """ Use the auxiliary axis as origin for coordinates """ self.polygon_mode = True - """ Plot using the contour, instead of the center line """ + """ Plot using the contour, instead of the center line. + You must disable it to get the dimensions (See https://gitlab.com/kicad/code/kicad/-/issues/11901) """ self.metric_units = False """ Use mm instead of inches """ self.sketch_plot = False