- 24 Nov, 2013 1 commit
-
-
jean-pierre charras authored
Pcbnew: Code cleaning and bug fix in autoplace functions Dialog exchange footprints has now a separate button to update the .cmp file, only on request.
-
- 21 Sep, 2013 1 commit
-
-
jean-pierre charras authored
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.
-
- 05 Aug, 2013 1 commit
-
-
Maciej Suminski authored
Moved VIEW_ITEM::ViewGetRequiredLayers() functionality to the VIEW class. Now required layers are set per layer basis instead of per item.
-
- 08 Jul, 2013 2 commits
-
-
Maciej Suminski authored
-
Maciej Suminski authored
-
- 05 May, 2013 1 commit
-
-
Lorenzo Marcantonio authored
-
- 03 May, 2013 1 commit
-
-
jean-pierre charras authored
This is a starting point of some code enhancements relative to polygons in Pcbew and 3D viewer.
-
- 01 May, 2013 2 commits
-
-
jean-pierre charras authored
* All items shapes are converted to polygons. * Polygons are merged layer by layer (for calculation time reasons,zones are not merged) * for copper layers, vias and pads holes are substracted from polygons (but, for calculation time reasons, not inside zones areas). * the look is better, mainly when displaying the copper thickness * solder and paste layers are now shown in 3D viewer. * the code was seriously cleaned (but still needs to be enhanced). * Note this is a work in progress which needs refinements.
-
Lorenzo Marcantonio authored
- Removed spurious int casts (these are truncated anyway and will break doubles) - Applied the Distance, GetLineLength, EuclideanNorm, DEG2RAD, RAD2DEG ArcTangente and NORMALIZE* functions where possible - ArcTangente now returns double and handles the 0,0 case like atan2, so it's no longer necessary to check for it before calling - Small functions in trigo moved as inline
-
- 09 Apr, 2013 1 commit
-
-
Lorenzo Marcantonio authored
Dynamic contrast for netname and pin numbers ('halo' text) Handle netname drawing even on diagonal tracks
-
- 02 Apr, 2013 1 commit
-
-
Maciej Suminski authored
New classes: - VIEW - represents view that is seen by user, takes care of layer ordering & visibility and how it is displayed (which location, how much zoomed, etc.) - VIEW_ITEM - Base class for every item that can be displayed on VIEW (the biggest change is that now it may be necessary to override ViewBBox & ViewGetLayers method for derived classes). - EDA_DRAW_PANEL_GAL - Inherits after EDA_DRAW_PANEL, displays VIEW output, right now it is not editable (in opposite to usual EDA_DRAW_PANEL). - GAL/OPENGL_GAL/CAIRO_GAL - Base Graphics Abstraction Layer class + two different flavours (Cairo is not fully supported yet), that offers methods to draw primitives using different libraries. - WX_VIEW_CONTROLS - Controller for VIEW, handles user events, allows zooming, panning, etc. - PAINTER/PCB_PAINTER - Classes that uses GAL interface to draw items (as you may have already guessed - PCB_PAINTER is a class for drawing PCB specific object, PAINTER is an abstract class). Its methods are invoked by VIEW, when an item has to be drawn. To display a new type of item - you need to implement draw(ITEM_TYPE*) method that draws it using GAL methods. - STROKE_FONT - Implements stroke font drawing using GAL methods. Most important changes to Kicad original code: * EDA_ITEM now inherits from VIEW_ITEM, which is a base class for all drawable objects. * EDA_DRAW_FRAME contains both usual EDA_DRAW_PANEL and new EDA_DRAW_PANEL_GAL, that can be switched anytime. * There are some new layers for displaying multilayer pads, vias & pads holes (these are not shown yet on the right sidebar in pcbnew) * Display order of layers is different than in previous versions (if you are curious - you may check m_galLayerOrder@pcbnew/basepcbframe.cpp). Preserving usual order would result in not very natural display, such as showing silkscreen texts on the bottom. * Introduced new hotkey (Alt+F12) and new menu option (View->Switch canvas) for switching canvas during runtime. * Some of classes (mostly derived from BOARD_ITEM) now includes ViewBBox & ViewGetLayers methods. * Removed tools/class_painter.h, as now it is extended and included in source code. Build changes: * GAL-based rendering option is turned on by a new compilation CMake option KICAD_GAL. * When compiling with CMake option KICAD_GAL=ON, GLEW and Cairo libraries are required. * GAL-related code is compiled into a static library (common/libgal). * Build with KICAD_GAL=OFF should not need any new libraries and should come out as a standard version of Kicad Currently most of items in pcbnew can be displayed using OpenGL (to be done are DIMENSIONS and MARKERS). More details about GAL can be found in: http://www.ohwr.org/attachments/1884/view-spec.pdf
-
- 31 Mar, 2013 1 commit
-
-
Lorenzo Marcantonio authored
Implemented the LAYER_NUM typedef (LAYER was already taken as a class name...) to represent a layer number.
-
- 30 Mar, 2013 1 commit
-
-
Lorenzo Marcantonio authored
- Renamed ReturnMaskLayer to GetLayerMask (since it's a plain getter)
-
- 28 Mar, 2013 1 commit
-
-
Lorenzo Marcantonio authored
-
- 13 Jan, 2013 1 commit
-
-
Heikki Pulkkinen authored
-
- 12 Jan, 2013 1 commit
-
-
Wayne Stambaugh authored
* Improve MSG_PANEL_ITEM to handle message panel information. * Create containers for passing message panel items between objects and the message panel. * Rename EDA_ITEM::DisplayInfo to EDA_ITEM::GetMsgPanelInfo. * Remove all direct manipulation of EDA_DRAW_FRAME from all objects derived from EDA_ITEM.
-
- 01 Sep, 2012 1 commit
-
-
Lorenzo Marcantonio authored
-
- 22 Apr, 2012 1 commit
-
-
Wayne Stambaugh authored
* Move board item object Format() functions into PCB_IO object. * Change file format to use layer names instead of numbers. * Change file extension to kicad_pcb.
-
- 17 Apr, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 01 Apr, 2012 1 commit
-
-
Wayne Stambaugh authored
* Add s-expression Format() function to all objects derived from BOARD_ITEM. * Add s-expression Format() function to base objects as required. * Add functions to convert coordinates from base internal units (nanometers) to millimeter string for writing to s-expression file. * Add temporary dummy conversion functions to prevent link errors until schematic and board object and action code can be separated into DSO/DLL. * Add CMake build option to build Pcbnew with nanometer internal units.
-
- 26 Mar, 2012 1 commit
-
-
Wayne Stambaugh authored
* BLOCK_SELECTOR class is not longer derived from EDA_ITEM. * Encapsulate BLOCK_SELECTOR class member variables and add access methods. * Move HandleBlockBegin() function from block_commande.cpp to drawframe.cpp. * Remove virtual methods from top level derived objects per future coding policy change. * Remove Doxygen copydoc statement from objects derived from EDA_ITEM since the comments are automatically copied to the derived object. * Removed copy and pasted Doxygen comments from objects derived from EDA_ITEM.
-
- 17 Mar, 2012 1 commit
-
-
Wayne Stambaugh authored
* Remove double Clone() function calls from all classes derived from EDA_ITEM. * Lots of Doxygen comment warning fixes.
-
- 15 Mar, 2012 1 commit
-
-
Wayne Stambaugh authored
* All objects derived from EDA_ITEM now have consistent hit test method definitions. * Remove double function calls from all classes derived from SCH_ITEM. * Lots of Doxygen comment fixes.
-
- 20 Feb, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 23 Jan, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 14 Jan, 2012 1 commit
-
-
Wayne Stambaugh authored
* Remove unnecessary copy constructors from board and module library objects. * Add doClone() method to board and library objects. * Add comment to class definitions where the default copy constructor generated by the compiler was adequate. * Replace copy method with clone method where applicable. * Remove DuplicateStruct() function. * Remove track object copy function.
-
- 29 Dec, 2011 1 commit
-
-
Wayne Stambaugh authored
* EDA_DRAW_PANEL completely encapsulated. * Moved OSX m_overlay member from EDA_DRAW_PANEL to EDA_DRAW_FRAME where it is used. * Doxygen comment warning fixes.
-
- 22 Dec, 2011 1 commit
-
-
Dick Hollenbeck authored
-
- 14 Dec, 2011 2 commits
-
-
Dick Hollenbeck authored
-
Dick Hollenbeck authored
-
- 13 Dec, 2011 1 commit
-
-
jean-pierre charras authored
-
- 07 Dec, 2011 1 commit
-
-
jean-pierre charras authored
In common.cpp GetTimeStamp is renamed GetNewTimeStamp (a better name). Pcbnew: prepare work to calculate connections between pads that inteserct and therefore can be connected without any track (composite pads).
-
- 01 Dec, 2011 1 commit
-
-
Dick Hollenbeck authored
-
- 30 Nov, 2011 2 commits
-
-
jean-pierre charras authored
Pcbnew: prepare work on new algos for connections calculations.
-
Dick Hollenbeck authored
-
- 29 Nov, 2011 1 commit
-
-
Dick Hollenbeck authored
the GetPosition() and SetPosition() changes. It also starts towards making m_Orientation and m_Thickness fields private with accessors, but does not complete this latter goal.
-
- 24 Nov, 2011 1 commit
-
-
Dick Hollenbeck authored
-
- 03 Nov, 2011 1 commit
-
-
jean-pierre charras authored
Pcbnew: connect.cpp: enhanced ( faster and more powerful ) algorithm to calculate connections between pads. Code cleaning.
-
- 31 Oct, 2011 2 commits
-
-
jean-pierre charras authored
More work about code refactoring in connect.cpp
-
jean-pierre charras authored
This first draft should fix bug 851670 and is faster than existing alogorithm.
-