Maciej Suminski
2b62a85263
Refactoring: made VIEW, VIEW_CONTROLS, BOARD and PCB_EDIT_FRAME fields in DRAWING_TOOL.
2014-02-14 09:49:49 +01:00
Henner Zeller
31fea1e766
PATCH: making component choosing (much!) more usable
2014-02-14 09:07:20 +01:00
Henner Zeller
4340ceeb8b
PATCH: making component choosing (much!) more usable
2014-02-14 09:05:04 +01:00
Maciej Suminski
597e98dbf4
Cursor is in world coordinates.
2014-02-13 20:23:28 +01:00
Maciej Suminski
f9f0b46b63
Small GAL refactorization, mostly correcting constness.
2014-02-13 19:31:27 +01:00
jean-pierre charras
63eac42d07
Fix a minor error in class D_PAD: void D_PAD::Flip( int Y ) changed to virtual void D_PAD::Flip( const wxPoint& aCentre ) (as defined in BOARD_ITEM)
...
Scripting: fix compatibility current pcbnew version in 2 examples and the default extension of board files in board.i (was .kicad_brd, now is .kicad_pcb)
2014-02-13 18:27:48 +01:00
Maciej Suminski
3106d25361
Added keepout areas drawing tool.
2014-02-13 16:24:33 +01:00
Maciej Suminski
fce753ba24
Added zone drawing tool.
2014-02-13 16:10:32 +01:00
Maciej Suminski
042b6a1002
Changed PCB_EDIT_FRAME::setTopLayer() to PCB_EDIT_FRAME::SetTopLayer() and changed to public (as it had exactly the same functionality).
2014-02-13 15:57:57 +01:00
Maciej Suminski
45c5a3de7f
Placing modules with a minor bug.
2014-02-13 12:46:39 +01:00
Miguel Angel Ajo
3329ed26f3
switching to the new python scripting console icon
2014-02-12 22:19:12 +01:00
Miguel Angel Ajo
4da4a558a9
Enforces python2.6 / 2.7, thanks to orsonmmz
2014-02-12 22:17:19 +01:00
Maciej Suminski
ba1867fe0e
Merged fix from the selection_tool branch.
2014-02-12 18:04:27 +01:00
Maciej Suminski
ec763dfede
NETINFO_ITEM for orphaned items now have empty netname and net code = 0 (to avoid problems).
...
Fixed case for the footprint legacy plugin when added module's do not have set parent (BOARD).
Added copyright notice for pcbnew/class_netinfolist.cpp (feel free to correct, it is just copied from corresponding header file).
2014-02-12 18:01:03 +01:00
Fabrizio Tappero
b4f6cc45f2
Some icons update
2014-02-12 14:56:52 +01:00
jean-pierre charras
29a1bdb32a
Fix issues in print mirror. (include some changes coming from Cirilo Berdarno's patch)
...
gr_basic.cpp: rewrite the function which draws the outlines of a thick segment.
2014-02-12 11:03:34 +01:00
Nick Østergaard
f214a57629
Fix wrong numbering in the QFP footprint wizard python script
2014-02-12 08:59:56 +01:00
Fabrizio Tappero
b954478621
Update icon_bitmap2component.
2014-02-12 08:53:55 +01:00
Marco Serantoni
73898d5954
[MacOSX] Refines in building system, now bundles lib migration supports symbolic links
2014-02-12 00:13:14 +01:00
Henner Zeller
3132c70e54
* Apply Henner Zeller's patch to add connecting line from reference and labels to component position whilst moving to help identify which component the reference or label belongs too
2014-02-11 21:54:30 +00:00
Fabrizio Tappero
7061d6c2a5
Icon update, and an other very minor fix.
2014-02-11 19:32:09 +01:00
Maciej Suminski
87d3458ea9
Added PCB_TARGET placing tool.
2014-02-11 17:15:33 +01:00
Maciej Suminski
e43b5f7c0f
Small fix for crippled polylines containing 0 points.
2014-02-11 15:01:49 +01:00
Maciej Suminski
c09e8ade2a
Fixed ratsnest related segfaults on BOARD destruction.
2014-02-11 14:39:14 +01:00
Maciej Suminski
ae5fa23285
Added DIMENSION drawing tool.
2014-02-11 14:38:44 +01:00
Maciej Suminski
e6a01e5a41
Fixed ratsnest related segfaults on BOARD destruction.
2014-02-11 14:26:33 +01:00
Maciej Suminski
46db6ac182
Removed redundant fields DIMENSION::m_arrowD1O, m_arrowD2O, m_arrowG1O, m_arrowG2O (==m_crossBarO/F).
...
Added DIMENSION::SetOrigin(), DIMENSION::SetEnd(), DIMENSION::GetOrigin(), DIMENSION::GetEnd(), DIMENSION::GetHeight().
Fixed flipping for DIMENSION class.
Added an information that helps to understand roles of the points in the DIMENSION class.
Some minor changes to PCB_PAINTER (mainly using const COLOR4D& for taking the result of GetColor() function).
2014-02-11 13:22:30 +01:00
Lorenzo Marcantonio
29dcb49c62
- Do not autonumber NPTH pads on add in module editor (keep the number blank)
...
Factored out the next-pad-number function
2014-02-10 18:19:15 +01:00
Maciej Suminski
2aef11a5fc
Made rotate & flip tool actions generic.
...
Drawing tool reacts to rotate & flip events while placing a text.
2014-02-10 17:08:55 +01:00
Maciej Suminski
4b27778451
Basic text placing tool.
2014-02-10 15:40:25 +01:00
jean-pierre charras
8c5292207f
Use environment KISYS3DMOD to know the default path for 3D shapes in footprint editors dialogs, and build short 3D file names.
...
This value is now shown in these dialogs.
2014-02-10 11:01:11 +01:00
Maciej Suminski
02316e02c3
Drawing arcs - version 1
2014-02-10 10:58:58 +01:00
jean-pierre charras
81c84fcac5
fix linux compil.
2014-02-10 10:58:17 +01:00
jean-pierre charras
c935624779
Use environment KISYS3DMOD to know defaut path for 3D shapes in footprint editors dialogs.
2014-02-10 10:30:08 +01:00
Miguel Angel Ajo
26ca1ad03d
Fix py26 testing for OSX, assertIsNotNone unavailable for py26
2014-02-10 10:15:48 +01:00
jean-pierre charras
788b38c09b
Cosmetic enhancement: better icon for bitmap2component.
2014-02-09 21:06:05 +01:00
Miguel Angel Ajo
bbcd2c61d6
BOARD saving test
2014-02-09 00:21:47 +01:00
Marco Serantoni
9263a4e798
[MacOSX] Setting Set3DShapesPath
2014-02-08 18:33:21 +01:00
Marco Serantoni
2acaa2871d
[MacOSX] Fixing build system, sorry guys, refining build system and make building smoother.
2014-02-08 16:15:06 +01:00
jean-pierre charras
e7d2b9b456
Add the environment variable KYSYS3DMOD to define a default path for 3D models.
...
If it is not defined by user, it is set to a legacy 3D files path.
The default value needs to be fixed on MACOSX.
This change could be better, but it is compatible with environment variables and the old way ( defined search paths) to find 3D shape files.
3D shapes files names can also include an environment variable definition, like libraries names.
However using KYSYS3DMOD in these names is not required.
If the 3D filename is a legacy name, KYSYS3DMOD is automatically used as default path.
2014-02-08 12:54:24 +01:00
jean-pierre charras
fff54d759e
Add the environment variable KYSYS3DMOD to define a default path for 3D models.
2014-02-08 11:44:55 +01:00
jean-pierre charras
6a9771f24b
main CMakeLists: build lib-wxpython only if KICAD_SCRIPTING_WXPYTHON is ON
2014-02-08 08:42:41 +01:00
Miguel Angel Ajo
8df3326df1
More BOARD unit tests
2014-02-08 01:02:29 +01:00
Marco Serantoni
a2483d48f3
[MacOSX] Fixing qa, thanks Miguel Angel for the feedback
2014-02-08 00:40:11 +01:00
Marco Serantoni
bbff6c0d30
[MacOSX] Adding patches for wxPython && http://trac.wxwidgets.org/ticket/15957
2014-02-07 23:00:19 +01:00
Maciej Suminski
222017758c
Moved PCB_VISIBLE size check to .cpp.
2014-02-07 20:54:58 +01:00
Maciej Suminski
9ef713dfa8
Right click on an item when there is nothing selected - enables the context menu.
2014-02-07 20:44:34 +01:00
jean-pierre charras
d6f348f41e
Remove duplicate icon apply.svg (use ckecked_ok.svg instead which is the same icon).
...
Add a workaround to fix a new bug in wxWidgets 3.0 ( Windows specific ) which shows icons only with a size = 16x16 in menus which have attribute wxITEM_CHECK
2014-02-07 20:32:08 +01:00
Marco Serantoni
c441c287b0
[MacOSX] Fixing minor issue for wxPython
2014-02-07 20:19:53 +01:00
Maciej Suminski
63e4defd2a
Corrected bounding box for arcs (DRAWSEGMENT).
2014-02-07 19:55:40 +01:00