Jeff Young
62d959ed0e
Don't assume an error location for PAD::GetEffectivePolygon().
While ERROR_INSIDE was good for plotting, 3D generation, etc., it's
not good for generating router hulls.
Also reverts part of the change to always use polygons for PNS::SOLIDs. A single shape in a SHAPE_COMPOUND will be faster (and
more accurate).
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14898
2 years ago
jean-pierre charras
38c7fa6db9
Pcbnew: do not display the outlines of a very special zone used by DRC
to show layer mask bridges created by DRC to show these bridges.
This is not a real ZONE, just a container to displays these filled areas.
2 years ago
jean-pierre charras
57efde1bbb
Pcbnew: rename ZONE* m_SolderMask to m_SolderMaskBridges
(It is a container to build bridges on solder mask layers by DRC, not real zone)
Disable also this special zone selection by adding it in
PCB_SELECTION_TOOL::itemPassesFilter
2 years ago
Jon Evans
96f9f2c658
PNS: Allow for approximation error in hull clearance
Also revert to using exact hulls for non-compound shapes
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14898
2 years ago
Jon Evans
660c407095
ADDED: Control of multi-layer plot order from plot dialog
Enabled by 0b136ae0
2 years ago
Marek Roszko
0fe2e06949
Fix ambiguous cast compiler errors on MSVC
2 years ago
Marek Roszko
5a8f38952b
Move vcpkg forwards
2 years ago
Thomas Pointhuber
7cb198e021
fix SEGV in pcb_generator_meanders
2 years ago
jean-pierre charras
79a45c4803
TestBoardOutlinesGraphicItems(): handle small arcs.
2 years ago
Jeff Young
af020f4f9a
Fixes for diff-pair meander rectangle & edit points.
2 years ago
Jeff Young
78ee6f2e42
Fix a couple of undo bugs.
The first caused items coming back from undo to be hidden.
The second caused them to be ungrouped from the parent meander.
2 years ago
Jeff Young
cdc9c2e409
Fix undo bug where items come back hidden.
2 years ago
Jeff Young
16d904d47e
Add support for diff-pair meanders.
2 years ago
Jeff Young
d4b8b550f3
Go back to using VIEW::Hide() instead of ForcedTransparency().
(The issue was that the selection VIEW_GROUP drawing ignores the
HIDDEN flag so we need to make sure the PCB_GENERATOR_MEANDERS isn't
in the selection VIEW_GROUP while we're editing it.)
2 years ago
Jeff Young
1b676985f6
Retire length tuning tool in favour of first-class meanders.
2 years ago
Jeff Young
1ca477aeee
Unroll from PICKER_TOOL so we can handle amplitude/spacing events.
Also fixes a bug where we didn't clear the router on an <ESC>.
2 years ago
Jeff Young
d6c2ad7503
Unroll from PICKER_TOOL so we can handle amplitude/spacing events.
Also fixes a bug where we didn't clear the router on an <ESC>.
2 years ago
Jeff Young
1aeccc5895
Unroll from PICKER_TOOL so we can handle amplitude/spacing events.
2 years ago
Jeff Young
a57c9967f3
Draw meander borders while placing.
2 years ago
Jeff Young
4da3e0ff93
Make meander dashed-line borders constant size.
2 years ago
Jeff Young
d04641c868
ADDED: support for editing target length in Meander Properties dialog.
Also supports overriding the custom rules.
2 years ago
Wayne Stambaugh
e3c491424b
Coding policy, Doxygen comment, and spelling fixes.
2 years ago
Wayne Stambaugh
50ec069a01
Fix build warnings.
2 years ago
jean-pierre charras
a7d540ce94
TestBoardOutlinesGraphicItems(): add missing case.
DRC_TEST_PROVIDER_MISC::testOutline(): use a smaller size to dectedt small items.
2 years ago
Wayne Stambaugh
5d6ef69726
Coding policy and Doxygen comment fixes.
2 years ago
jean-pierre charras
499f3ca95b
DRC_TEST_PROVIDER_MISC::testOutline(): add test to detect questionable items.
Graphic items (segments, rects, circles) on Edge.Cuts can create issues when
building board outlines, when they are very small (a few nm in size), because
they are not easily handled when trying to search connected graphics.
Also protect RC_ITEM::SetItems() against null pointer.
Fixes #15865
https://gitlab.com/kicad/code/kicad/-/issues/15865
2 years ago
Alex Shvartzkop
b0f4adf052
Improve borderless items logic in schematic plotting.
2 years ago
Alex Shvartzkop
d9c123b1ec
HPGL plotting: write rects as polygons to prevent always filling.
2 years ago
Alex Shvartzkop
45791ff8d6
HPGL plotting: fix random lines connecting to circles.
2 years ago
Alex Shvartzkop
4c0a75cbd4
Fix an assert in HPGL plotter.
2 years ago
Alex Shvartzkop
3e82e59c24
DXF plotting: write zero-sized rects and circles as points.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15862
2 years ago
Alex Shvartzkop
843bd4f79c
PDF plotting: fix zero-sized or too thick rectangles.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15862
2 years ago
Alex Shvartzkop
0ea85ec9f5
Restore fill polygons on proper layers when flipping zones.
2 years ago
Marek Roszko
5a1c300cff
Remove unused headers in pgm_base
2 years ago
Jon Evans
0b136ae0df
CLI: Allow controlling layer order for multilayer plots
2 years ago
Seth Hillbrand
dc47d251f5
Fix richio vprint
stdlib checks do not allow dereferencing the first element of a vector
when there are no elements in the vector (regardless of whether we have
allocated memory for them). This whole function is rather
over-engineered, setting up multiple allocations and branches depending
of the string size. This commit reduces the function to the actions
needed (get the string size, print it into the output)
2 years ago
jean-pierre charras
97fe27350f
symbol_checker: add more tests to validate the ssymbol.
especially, null sized rectangles and circles are tested.
2 years ago
jean-pierre charras
42384bcbd0
OPENGL_GAL: ensure 0 sized rect with thickness is shown (already shown by Cairo)
Fixes #15850
https://gitlab.com/kicad/code/kicad/-/issues/15850
2 years ago
Jeff Young
d8f35633d4
Modify interactive delete tool to respect groups & selection filter.
2 years ago
Jeff Young
8c017be24a
Clearer naming.
2 years ago
Jeff Young
0683313ecb
Fix ghosted image while moving meander.
Also cleans up some undo description strings. (They go in the menu
so they should be title-caps.)
2 years ago
Jeff Young
d3b50f0607
Cleanup (no functional changes).
2 years ago
Jeff Young
04e23bf5e3
Fix build.
2 years ago
Jeff Young
d916e650f1
Tuning status popup for point editor.
2 years ago
Jeff Young
bb74445dda
Code clarity.
2 years ago
Jeff Young
4226839586
Switch to diff-pair mode if startItem is a diff-pair member.
2 years ago
Jeff Young
099e5dd9e7
More undo bugs.
2 years ago
Jeff Young
994f9f8823
Cleanup & compiler warnings.
2 years ago
Jeff Young
642938455e
Add status popup for meander placer.
2 years ago
Jeff Young
1afa6ddbd5
Rename getLineBetweenPoints() to getLine().
While it uses the first point to find the line, it in fact returns
the entire connection, not just the part between the two points.
2 years ago