jean-pierre charras
46e82e4e18
Move HitTestForCorner and HitTestForEdge code from class_zone to polygon/PolyLine.cpp, to avoid redundant code.
Fix bug 1264248.
Fix a very minor issue in RemoveTrailingZeros, for countries where the separator in floating numbers is a comma.
12 years ago
jean-pierre charras
e9713bb291
Pcbnew: Block selection enhancement, from Bug #593997 (whishlist)
1. block created from-left-to-right selects only 100%inside selection objects (as it now does)
2.block created from-right-to-left selects all overlapping objects inside selection
From the patch sent by mathieulj (mathieulj), and some fixes and code cleaning.
12 years ago
jean-pierre charras
ac1386a5a2
Pcbnew: fix bug 1179877, due a bad default copy constructor, after my changes about CPOLYGONS_LIST class.
More about CPOLYGONS_LIST work.
13 years ago
jean-pierre charras
2554575656
More work on CPOLYGONS_LIST class.
Pcbnew: fix minor bug about plot line width.
13 years ago
jean-pierre charras
2e6969fe96
More work on CPOLYGONS_LIST class.
13 years ago
jean-pierre charras
b2a76062c7
All: use CPOLYGONS_LIST, a typedef of std::vector<CPolyPt> to handle a Corners Polygons List.
This is a starting point of some code enhancements relative to polygons in Pcbew and 3D viewer.
13 years ago
Lorenzo Marcantonio
9fd79dfa91
Implemented the LAYER_NUM typedef (LAYER was already taken as a class name...) to represent a layer number.
13 years ago
Lorenzo Marcantonio
e0303a4558
- New typedef LAYER_MSK to encapsulate a layer bitmap
- Renamed ReturnMaskLayer to GetLayerMask (since it's a plain getter)
13 years ago
jean-pierre charras
77945c4eb8
Pcbnew: Export vrml: fix an issue for 3D shapes having a local offset defined: the local offset was not correctly scaled.
13 years ago
jean-pierre charras
92b43c7407
Fix 0 length segment in outline zone creation, that breaks zone chamfer option.
13 years ago
jean-pierre charras
1f277fd66d
Remove Kbool from Kicad. Use Clipper instead.
13 years ago
jean-pierre charras
7fd24c7f03
Very minor fixes.
13 years ago
jean-pierre charras
899d23d4fd
Polygon code cleanup
13 years ago
jean-pierre charras
dfdd2cfdbf
Remove freepcb arc legacy code from PolyLine.
13 years ago
jean-pierre charras
ae05cd80c3
Remove arcs support in zone outlines: this is a legacy code from FreePCB, never used, never tested, never maintained.
13 years ago
jean-pierre charras
f96d557e73
Fix issues in zones creation (DRC and merging) I created in 3658.1
13 years ago
jean-pierre charras
99b90d2fa3
More work on a better support of polygons in Kicad (code cleaning).
13 years ago
jean-pierre charras
ef5f1b9e6b
Start work on a better support of polygons in Kicad (code cleaning).
Some coding style policy fix.
13 years ago
jean-pierre charras
018b080001
Pcbnew: Add keepout areas (Copper zones without tracks or/and vias).
This is *a work in progress*, so some features are missing, and/or could be modified.
Mainly keepout zones are not yet exported to autorouters, and pads are not taken in account.
Some code cleanup in polygon.*
14 years ago
Dick Hollenbeck
d3f9554841
CPolyPt constructors
14 years ago
Marco Mattila
64c1ea5cec
Add missing checks and undo support to pcbnew zone duplication.
14 years ago
jean-pierre charras
fa3ebc4043
Define MM_TO_IU_SCALING_FACTOR (scaling factor from mm to internal units) only in convert_to_biu.h
Other scaling factors (MILS_TO_IU_SCALING_FACTOR and DECIMILS_TO_IU_SCALING_FACTOR)
also defined only in convert_to_biu.h.
Allows different scaling value for Gerbview.
Needs more tests.
14 years ago
jean-pierre charras
36dac0c14d
Pcbnew nanometer: fix hatch lines issue in polyline.cpp
Some minor code cleaning.
14 years ago
Dick Hollenbeck
107ef8f102
see CHANGELOG.txt
14 years ago
Dick Hollenbeck
b8a0ab4c52
switch to <> for includes from "" per conversation with Jean-Pierre and Wayne, adjust search paths
14 years ago
jean-pierre charras
3383d6c8a5
Code cleaning and better comments.
Gebview: fix issue in export to pcbnew (Track arc shapes are now exported, approximated by segments)
14 years ago
jean-pierre charras
1c98200721
Pcbnew: fix issue when KICAD_NANOMETER is defined: when zones use htcth to show zones areas, hatch lines were incorrectly calculated (hunded of thousand lines created)
Eeschema: fix issue in search: search not made in reference strings.
Minor fixes, code cleaning and comment enhancements.
14 years ago
Dick Hollenbeck
b6508af0f4
KICAD_PLUGIN and nanometer intermediate checkin, work in progress...
14 years ago
Wayne Stambaugh
baa0d7920a
EESchema bug fixes and other minor changes (fixes lp:793373).
* Fix debug build warning (lp:793373).
* Changed sheet edit restore and undo to use object copy and replace method.
* Add minimum width and height constraints when resizing sheets that have
hierarchical pins.
* Fix drag sheet hot key bug.
* Change Doxygen configuration to extract private methods and members
when creating documentation.
* Fix a bunch of Doxygen comment warnings.
15 years ago
Marco Mattila
d3932f5f25
Pcbnew: Fix add similar/cutout zone. Fix zone corner smoothing for zones with cutouts.
15 years ago
Marco Mattila
cbee247737
Add zone corner smoothing to pcbnew.
15 years ago
jean-pierre charras
e7d5770f42
Fix some Doxygen warnings.
Eeschema: cleaning code. Start work to enhance annotation algorithm.
Already added an option to annotate using sheet number (sheet 1 uses numbers 100 to 199, sheet 2 uses 200 to 299..).
Works fine if deleting existing annotation, but needs work to be used when the existing annotation is kept .
15 years ago
Dick Hollenbeck
6c9244e8c3
fix function comments, this time ones in *.cpp files until they
can be deleted later if they exist in the headers, or moved to
headers if they should exist in the headers.
15 years ago
Dick Hollenbeck
845d61acc5
coding standards consistency updates
15 years ago
jean-pierre charras
fd1c159a59
Fix bug in PolyLine.cpp, Fix bug in DRC calculations (see changelog). Cvpcb: move dialog files in dialogs/
15 years ago
charras
cfdb28394e
Pcbnew: Work on undo/redo in Pcbnew almost finished.
16 years ago
charras
cffe0cfcaa
support for bezier curves
17 years ago
stambaughw
689579bde1
Global variable unobfuscation, new library path search, and lots of other changes. See CHANGELOG.txt.
17 years ago
charras
521f428c35
Using the last version (1.9) of kbool, downloaded from the wxArt2D project site.
17 years ago
charras
3c97a45f48
code cleaning, and some minor bugs solved
17 years ago
charras
b7db0ef850
updating polygon lib code. A bug removed.
17 years ago
charras
7c5feb61e7
pcbnew: insulated islands in copper pour removed
17 years ago
charras
ab1df3f1d7
more about non copper zones (see changelog)
17 years ago
charras
27cf4ad0ad
pcbnew: addded zones in non copper areas and starting work to use polygons in zone fill algos in not copper areas
work in progress: see changelog
17 years ago
charras
9131e2a104
compiling problems in kbool
18 years ago
charras
44743723d1
removed GPC library due to its unacceptable license. Using the great and powerfull kbool library insteed
18 years ago
charras
b8ea76fe63
Solved netlist problems for multiple parts per package components in complex hierarchies.
B.O.M. generation still have a minor problem wih this.
18 years ago
charras
9039a0a579
minor changes and cleanup
18 years ago
CHARRAS
af445e70ea
remove the old EDGEZONE class. Cleaning code in polyline.x
18 years ago
CHARRAS
e9b3322fc0
On line DRC when creating a zone outline
18 years ago