kicad/pcbnew
Seth Hillbrand 283aaff2df Use board polygon instead of bbox for size
Board BBox uses the visible size of the board, which includes edge cut
thickness.  This is not appropriate for the Board characteristics.
Using the outline polygon gives accurate results and falls back to a
bounding box in the case where the outline is invalid

Fixes https://gitlab.com/kicad/code/kicad/issues/10972

(cherry picked from commit 54f621c570)
2022-02-25 11:14:54 -08:00
..
autorouter Sprinkle in some make_unique 2022-02-05 21:26:36 -05:00
board_stackup_manager pcbnew: fix incorrect calculation of the board thickness from board stackup. 2022-02-18 18:09:16 +01:00
connectivity Commenting. 2022-02-21 12:26:59 +00:00
dialogs DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS: fix a wx alert. 2022-02-24 19:33:29 +01:00
drc Apply a19d9105f0 to zone case as well. 2022-02-21 13:48:34 +00:00
exporters GERBER_JOBFILE_WRITER: allows all *_User layers to be listed in *gbrjob file. 2022-02-17 15:22:18 +01:00
import_gfx Fixes in the SVG import polygon postprocessing: 2022-02-14 00:54:31 +01:00
microwave More wide-string declarations. 2022-02-05 22:26:31 +00:00
navlib Fix warning: declaration shadows a previous local [-Wshadow]. 2022-01-31 10:41:51 +00:00
netlist_reader Replace inserts/push_backs with emplace in some spots 2022-02-05 19:53:31 -05:00
plugins altium: Parse solder and paste mask settings of tracks and arcs 2022-02-20 20:18:40 +01:00
python Reconcile zone-auto-fill with undo. 2022-02-25 13:05:49 +00:00
ratsnest Auto reduction and std::shared_ptr cover types reduction. 2022-02-13 12:04:03 +00:00
router Implement real layer test for visibility. 2022-02-24 21:32:43 +00:00
specctra_import_export EDA_ANGLE for plotters. 2022-01-16 01:19:45 +00:00
teardrop teardrops: fix a not very good shape for not round targets after code change. 2022-02-02 13:31:29 +01:00
tools Use board polygon instead of bbox for size 2022-02-25 11:14:54 -08:00
widgets Debounce layer visibility buttons and fix issues with FP Editor. 2022-02-23 17:52:08 +00:00
CMakeLists.txt SWIG mappings for all shapes 2022-02-16 20:58:52 +00:00
Doxyfile_python
Doxyfile_xml
action_plugin.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
action_plugin.h Pcbnew header housekeeping round 1. 2021-06-04 09:08:38 -04:00
array_creator.cpp TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
array_creator.h Array creator tool: Add option to assign unique reference designators 2021-10-25 22:38:49 +01:00
array_pad_number_provider.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
array_pad_number_provider.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
board.cpp Remove broken call to normalize outlines 2022-02-18 09:31:52 -08:00
board.h Remove broken call to normalize outlines 2022-02-18 09:31:52 -08:00
board_commit.cpp Reconcile zone-auto-fill with undo. 2022-02-25 13:05:49 +00:00
board_commit.h Reconcile zone-auto-fill with undo. 2022-02-25 13:05:49 +00:00
board_connected_item.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
board_connected_item.h More NULL expunging. 2021-07-20 07:27:18 -04:00
board_design_settings.cpp Copy Pad_Master when copying BOARD_DESIGN_SETTINGS. 2022-02-23 18:11:27 +00:00
board_item.cpp Don't try to fetch layer of multi-layer objects. 2022-02-18 13:20:36 +00:00
board_item_container.h Pcbnew: fix missing connectivity update when adding an item. 2022-02-18 13:24:14 +01:00
build_BOM_from_board.cpp Pcbnew: honor footprint exclude from BOM setting. 2022-01-09 11:27:34 -05:00
cleanup_item.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
cleanup_item.h Pcbnew header housekeeping round 1. 2021-06-04 09:08:38 -04:00
collectors.cpp Add asserts to flush out incorrect uses of GetLayer(). 2022-02-18 12:14:38 +00:00
collectors.h Add asserts to flush out incorrect uses of GetLayer(). 2022-02-18 12:14:38 +00:00
convert_shape_list_to_polygon.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
convert_shape_list_to_polygon.h Neurotically update position wxPoint usages 2022-01-01 11:55:51 -05:00
cross-probing.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
edit.cpp TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
edit_track_width.cpp Optimize DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS: a time consuming call (OnModify()) 2022-02-20 20:07:33 +01:00
edit_zone_helpers.cpp Reconcile zone-auto-fill with undo. 2022-02-25 13:05:49 +00:00
files.cpp Reconcile zone-auto-fill with undo. 2022-02-25 13:05:49 +00:00
footprint.cpp Pcbnew: fix missing connectivity update when adding an item. 2022-02-18 13:24:14 +01:00
footprint.h Pcbnew: fix missing connectivity update when adding an item. 2022-02-18 13:24:14 +01:00
footprint_edit_frame.cpp ADDED: automatic zone refilling. 2022-02-24 18:16:45 +00:00
footprint_edit_frame.h Pcbnew: fix rotation angle issue in rotate commands. 2022-01-20 10:50:26 +01:00
footprint_editor_settings.cpp Convert strings to wide when using wxString routines 2022-02-03 13:08:33 -08:00
footprint_editor_utils.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
footprint_info_impl.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
footprint_info_impl.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
footprint_libraries_utils.cpp Cancel or commit pad edit mode when switching footprints. 2022-02-19 19:36:19 +00:00
footprint_preview_panel.cpp Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
footprint_preview_panel.h Kill the last of wx/wx.h in headers 2021-06-07 17:59:20 -04:00
footprint_tree_pane.cpp Rename SCH_COMPONENT to SCH_SYMBOL. 2021-06-10 10:34:49 -04:00
footprint_tree_pane.h
footprint_viewer_frame.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
footprint_viewer_frame.h Reconcile zone-auto-fill with undo. 2022-02-25 13:05:49 +00:00
footprint_wizard.cpp More NULL expunging. 2021-07-20 07:27:18 -04:00
footprint_wizard.h More wxString wide literals. 2022-02-05 21:29:34 +00:00
footprint_wizard_frame.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
footprint_wizard_frame.h Flatten out some more preferences. 2021-12-24 15:43:20 +00:00
footprint_wizard_frame_functions.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
fp_shape.cpp TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
fp_shape.h TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
fp_text.cpp fp texts are not upright when footprint rot is not n*90deg 2022-02-24 09:08:09 +01:00
fp_text.h Fix some issues related to new textboxes and python: 2022-02-03 13:55:37 +01:00
fp_text_grid_table.cpp Excise deci-degrees from UNIT_BINDER. 2022-01-19 00:10:32 +00:00
fp_text_grid_table.h Add hot-updating of units in common wxGrids. 2021-12-23 16:54:03 +00:00
fp_textbox.cpp Get rid of FP_TEXTBOX::ViewBBox(). We want to inherit FP_SHAPE's. 2022-02-01 12:49:28 +00:00
fp_textbox.h Fix some issues related to new textboxes and python: 2022-02-03 13:55:37 +01:00
fp_tree_model_adapter.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
fp_tree_model_adapter.h
fp_tree_synchronizing_adapter.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
fp_tree_synchronizing_adapter.h
generate_footprint_info.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
generate_footprint_info.h
graphics_cleaner.cpp Fix incorrect conversion from lines to rect in fp editor. 2022-02-25 12:41:57 +01:00
graphics_cleaner.h Pull some name changes back from 7.0 to ease merging. 2021-07-21 20:58:59 +01:00
grid_layer_box_helpers.cpp All the preferences, all the time. 2021-12-24 13:08:44 +00:00
grid_layer_box_helpers.h Cleanup. 2021-12-23 20:36:18 +00:00
initpcb.cpp More NULL expunging. 2021-07-20 07:27:18 -04:00
invoke_pcb_dialog.h
io_mgr.cpp altium: Allow extraction of names of footprints stored in *.PcbLib file 2022-01-17 19:51:51 +01:00
io_mgr.h Move GUI queries in PLUGIN to a callback. 2022-02-11 22:09:22 +00:00
kicad_clipboard.cpp Move GUI queries in PLUGIN to a callback. 2022-02-11 22:09:22 +00:00
kicad_clipboard.h Kicad has many plugins. This one is for the pcb. 2021-11-25 12:56:46 +00:00
load_select_footprint.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
menubar_footprint_editor.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
menubar_pcb_editor.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
netinfo.h More wxString wide literals. 2022-02-05 21:29:34 +00:00
netinfo_item.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
netinfo_list.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
pad.cpp Handle hidden layers in FP Editor. 2022-02-23 15:31:07 +00:00
pad.h Don't ask for layer of multi-layer objects. 2022-02-18 14:19:13 +00:00
pad_custom_shape_functions.cpp Handle invalid pads more gracefully 2022-02-02 13:40:07 -08:00
pcb_base_edit_frame.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
pcb_base_edit_frame.h Reconcile zone-auto-fill with undo. 2022-02-25 13:05:49 +00:00
pcb_base_frame.cpp Fix repaints getting done after the wrong dialog. 2022-02-13 13:06:35 +00:00
pcb_dimension.cpp PCB_DIM_ALIGNED and DIALOG_DIMENSION_PROPERTIES: fix bad text rotation. 2022-02-19 10:24:44 +01:00
pcb_dimension.h Remove unit-less angles from VECTOR2I/D APIs. 2022-01-20 23:58:20 +00:00
pcb_draw_panel_gal.cpp Don't shrink progress reporter when message changes; only grow. 2022-02-15 19:19:02 +00:00
pcb_draw_panel_gal.h Use progress reporting in more places when loading a board 2021-11-25 11:19:03 -05:00
pcb_edit_frame.cpp Reconcile zone-auto-fill with undo. 2022-02-25 13:05:49 +00:00
pcb_edit_frame.h Fix code style. 2022-01-28 12:21:42 +00:00
pcb_expr_evaluator.cpp Allow Rule Areas on all physical layers. 2022-02-17 23:59:09 +00:00
pcb_expr_evaluator.h Add a compile error for ill-defined rules, and more performance. 2021-08-16 12:14:17 +01:00
pcb_group.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
pcb_item_containers.h Prefix TRACK, ARC and VIA. 2021-06-11 22:07:02 +01:00
pcb_layer_box_selector.cpp All the preferences, all the time. 2021-12-24 13:08:44 +00:00
pcb_layer_box_selector.h Cleanup. 2021-12-23 20:36:18 +00:00
pcb_marker.cpp Move BOARD_ITEM::Rotate() to EDA_ANGLE. 2022-01-14 16:08:19 +00:00
pcb_marker.h Bring ERC & DRC dialogs into parity. 2022-01-22 22:27:41 +00:00
pcb_origin_transforms.cpp Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
pcb_origin_transforms.h Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
pcb_painter.cpp Don't call GetLayer() on a multi-layer object. 2022-02-21 00:08:43 +00:00
pcb_painter.h Improve SNR. 2022-02-12 18:38:11 +00:00
pcb_plot_params.cpp SVG plotter rework: use mm as units in file. Remove useless inch option. 2022-01-28 19:33:51 +01:00
pcb_plot_params.h SVG plotter rework: use mm as units in file. Remove useless inch option. 2022-01-28 19:33:51 +01:00
pcb_plot_params_parser.h
pcb_screen.cpp Rename layer ids file. 2021-07-29 16:03:25 +01:00
pcb_shape.cpp TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
pcb_shape.h TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
pcb_target.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
pcb_target.h PCB_TARGET: add missing TransformShapeWithClearanceToPolygon() method. 2022-01-29 18:19:22 +01:00
pcb_text.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
pcb_text.h TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
pcb_textbox.cpp TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
pcb_textbox.h TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
pcb_track.cpp A more discerning un-flashed-connectivity test. 2022-02-20 23:49:02 +00:00
pcb_track.h More EDA_ANGLE. 2022-01-14 16:08:19 +00:00
pcb_view.cpp Flatten out some more preferences. 2021-12-24 15:43:20 +00:00
pcb_view.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
pcbnew.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
pcbnew.h Add Python Tool to pcbnew 2021-06-01 20:18:24 +00:00
pcbnew.icns Add drop shadows to MacOS icons 2021-07-30 20:55:34 -07:00
pcbnew_config.cpp Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
pcbnew_config.h
pcbnew_doc.icns Add drop shadows to MacOS icons 2021-07-30 20:55:34 -07:00
pcbnew_id.h Add code and dialog to create/add/remove teardrops, step 1 2022-01-10 20:04:40 +01:00
pcbnew_printout.cpp Remove some more duplicated preferences. 2021-12-26 13:37:28 +00:00
pcbnew_printout.h Prefix TRACK, ARC and VIA. 2021-06-11 22:07:02 +01:00
pcbnew_settings.cpp Improve SNR. 2022-02-12 18:38:11 +00:00
pcbnew_settings.h Improve SNR. 2022-02-12 18:38:11 +00:00
pcbplot.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
pcbplot.h TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
plot_board_layers.cpp Handle negative arc angles 2022-02-24 17:27:08 -08:00
plot_brditems_plotter.cpp Plotters: add plot Arcs using EDA_SHAPE or center, start point and end point. 2022-02-20 17:17:20 +01:00
plotcontroller.h Cleanup. 2021-12-23 20:36:18 +00:00
plugin.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
sel_layer.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
toolbars_footprint_editor.cpp TextBoxes for PCBNew. 2022-01-31 20:00:47 +00:00
toolbars_footprint_viewer.cpp Move show-bounding-boxes to a tool on the toolbars. 2022-01-17 11:56:40 +00:00
toolbars_pcb_editor.cpp More wxString wide literals. 2022-02-05 21:29:34 +00:00
tracks_cleaner.cpp Prevent merging tracks across pads 2022-02-17 19:43:04 -08:00
tracks_cleaner.h Clean up formatting. 2022-02-04 13:43:57 +00:00
undo_redo.cpp Reconcile zone-auto-fill with undo. 2022-02-25 13:05:49 +00:00
zone.cpp Respect ERROR_OUTSIDE when inflating polygons. 2022-02-21 15:19:46 +00:00
zone.h Respect ERROR_OUTSIDE when inflating polygons. 2022-02-21 15:19:46 +00:00
zone_filler.cpp Respect ERROR_OUTSIDE when inflating polygons. 2022-02-21 15:19:46 +00:00
zone_filler.h Slightly cleaner impl. 2022-02-17 12:48:29 +00:00
zone_settings.cpp Allow Rule Areas on all physical layers. 2022-02-17 23:59:09 +00:00
zone_settings.h Allow Rule Areas on all physical layers. 2022-02-17 23:59:09 +00:00
zones.h DIALOG_COPPER_ZONE: add option to set the pitch of hatches around the zone outlines 2022-02-12 18:57:02 +01:00
zones_functions_for_undo_redo.cpp Cleanup. 2021-12-23 20:36:18 +00:00
zones_functions_for_undo_redo.h Cleanup. 2021-12-23 20:36:18 +00:00