jean-pierre charras
25a801ed8a
Modify usage of Inflate/deflate polygon in zone calculations, in order to be compatible with boost::polygon >= 1.56
...
Some code cleanup.
2014-11-30 18:07:02 +01:00
jean-pierre charras
6a93777a51
Polyline.h: remove useless class CRect. Use the more powerful EDA_RECT instead. Clean and remove duplicate code.
2014-11-08 13:25:29 +01:00
jean-pierre charras
29e6a93d01
Add license information to PolyLine.h and PolyLine.cpp files.
2014-10-29 13:18:02 +01:00
jean-pierre charras
afc5d13172
Apply a workaround in 3D_draw.cpp to avoid crash in boost::polygon (try to fix Bug #1322804 )
...
This workaround was already used (bzr 4301, in file plot_board_layers.cpp) also to avoid similar crashes (uses 18 segments instead of 16 to approximate a circle by segments).
Minor code cleanup in dialog_plot.
2014-05-26 08:54:04 +02:00
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.
2013-12-29 11:15:06 +01:00
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.
2013-09-21 20:09:41 +02:00
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.
2013-05-14 20:47:01 +02:00
jean-pierre charras
2554575656
More work on CPOLYGONS_LIST class.
...
Pcbnew: fix minor bug about plot line width.
2013-05-09 21:08:12 +02:00
jean-pierre charras
2e6969fe96
More work on CPOLYGONS_LIST class.
2013-05-08 20:20:58 +02:00
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.
2013-05-03 19:51:10 +02:00
Lorenzo Marcantonio
9fd79dfa91
Implemented the LAYER_NUM typedef (LAYER was already taken as a class name...) to represent a layer number.
2013-03-31 15:27:46 +02:00
Lorenzo Marcantonio
e0303a4558
- New typedef LAYER_MSK to encapsulate a layer bitmap
...
- Renamed ReturnMaskLayer to GetLayerMask (since it's a plain getter)
2013-03-30 18:24:04 +01:00
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.
2013-02-19 10:21:55 +01:00
jean-pierre charras
92b43c7407
Fix 0 length segment in outline zone creation, that breaks zone chamfer option.
2012-08-31 15:58:23 +02:00
jean-pierre charras
1f277fd66d
Remove Kbool from Kicad. Use Clipper instead.
2012-08-04 11:43:27 +02:00
jean-pierre charras
7fd24c7f03
Very minor fixes.
2012-08-03 17:43:15 +02:00
jean-pierre charras
899d23d4fd
Polygon code cleanup
2012-08-02 19:32:42 +02:00
jean-pierre charras
dfdd2cfdbf
Remove freepcb arc legacy code from PolyLine.
2012-07-31 19:51:58 +02:00
jean-pierre charras
ae05cd80c3
Remove arcs support in zone outlines: this is a legacy code from FreePCB, never used, never tested, never maintained.
2012-07-31 15:12:51 +02:00
jean-pierre charras
f96d557e73
Fix issues in zones creation (DRC and merging) I created in 3658.1
2012-07-30 09:40:25 +02:00
jean-pierre charras
99b90d2fa3
More work on a better support of polygons in Kicad (code cleaning).
2012-07-25 20:46:25 +02:00
jean-pierre charras
ef5f1b9e6b
Start work on a better support of polygons in Kicad (code cleaning).
...
Some coding style policy fix.
2012-07-25 09:36:56 +02:00
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.*
2012-07-13 20:55:29 +02:00
Dick Hollenbeck
d3f9554841
CPolyPt constructors
2012-06-10 04:48:42 -05:00
Marco Mattila
64c1ea5cec
Add missing checks and undo support to pcbnew zone duplication.
2012-06-05 14:44:22 +03:00
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.
2012-04-25 21:33:24 +02:00
jean-pierre charras
36dac0c14d
Pcbnew nanometer: fix hatch lines issue in polyline.cpp
...
Some minor code cleaning.
2012-04-11 11:47:57 +02:00
Dick Hollenbeck
107ef8f102
see CHANGELOG.txt
2012-02-19 22:33:54 -06:00
Dick Hollenbeck
b8a0ab4c52
switch to <> for includes from "" per conversation with Jean-Pierre and Wayne, adjust search paths
2012-01-22 22:33:36 -06:00
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)
2012-01-13 19:35:46 +01:00
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.
2012-01-10 21:12:46 +01:00
Dick Hollenbeck
b6508af0f4
KICAD_PLUGIN and nanometer intermediate checkin, work in progress...
2011-11-30 15:15:56 -06:00
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.
2011-06-07 11:29:01 -04:00
Marco Mattila
d3932f5f25
Pcbnew: Fix add similar/cutout zone. Fix zone corner smoothing for zones with cutouts.
2011-02-23 23:34:28 +02:00
Marco Mattila
cbee247737
Add zone corner smoothing to pcbnew.
2011-02-21 21:43:59 +02:00
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 .
2011-01-01 18:28:21 +01:00
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.
2010-11-12 10:59:16 -06:00
Dick Hollenbeck
845d61acc5
coding standards consistency updates
2010-11-12 09:17:10 -06:00
jean-pierre charras
fd1c159a59
Fix bug in PolyLine.cpp, Fix bug in DRC calculations (see changelog). Cvpcb: move dialog files in dialogs/
2010-10-28 15:02:07 +02:00
charras
cfdb28394e
Pcbnew: Work on undo/redo in Pcbnew almost finished.
2009-08-23 15:22:44 +00:00
charras
cffe0cfcaa
support for bezier curves
2009-06-25 20:45:27 +00:00
stambaughw
689579bde1
Global variable unobfuscation, new library path search, and lots of other changes. See CHANGELOG.txt.
2009-04-05 20:49:15 +00:00
charras
521f428c35
Using the last version (1.9) of kbool, downloaded from the wxArt2D project site.
2008-11-14 19:38:58 +00:00
charras
3c97a45f48
code cleaning, and some minor bugs solved
2008-10-25 10:21:46 +00:00
charras
b7db0ef850
updating polygon lib code. A bug removed.
2008-10-12 15:29:43 +00:00
charras
7c5feb61e7
pcbnew: insulated islands in copper pour removed
2008-10-11 19:27:43 +00:00
charras
ab1df3f1d7
more about non copper zones (see changelog)
2008-09-27 19:26:29 +00:00
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
2008-09-26 19:51:36 +00:00
charras
9131e2a104
compiling problems in kbool
2008-06-02 10:23:50 +00:00
charras
44743723d1
removed GPC library due to its unacceptable license. Using the great and powerfull kbool library insteed
2008-05-30 18:06:21 +00:00