- 21 Jul, 2014 1 commit
-
-
jean-pierre charras authored
3d viewer: Add high quality mode option is realistic mode (Shows holes in copper zones, but with longer calculation time) Gal: fix a very minor issue: the keys to switch between copper layers are now - and + (according to the doc and the normall mode), instead of - and =
-
- 29 Jun, 2014 1 commit
-
-
Dick Hollenbeck authored
-
- 24 Jun, 2014 1 commit
-
-
Dick Hollenbeck authored
2) Change from legacy Cu stack to counting down from top=(F_Cu or 0). The old Cu stack required knowing the count of Cu layers to make sense of the layer number when converting to many exported file types. The new Cu stack is more commonly used, although ours still gives B_Cu a fixed number. 3) Introduce class LSET and enum LAYER_ID. 4) Change *.kicad_pcb file format version to 4 from 3. 5) Change fixed names Inner1_Cu-Inner14_Cu to In1_Cu-In30_Cu and their meanings are typically flipped. 6) Moved the #define LAYER_N_* stuff into legacy_plugin.cpp where they can die a quiet death, and switch to enum LAYER_ID symbols throughout. 7) Removed the LEGACY_PLUGIN::Save() and FootprintSave() functions. You will need to convert to the format immediately, *.kicad_pcb and *.kicad_mod (=pretty) since legacy format was never going to know about 32 Cu layers and additional technical layers and the reversed Cu stack.
-
- 26 May, 2014 1 commit
-
-
jean-pierre charras authored
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.
-
- 17 May, 2014 1 commit
-
-
jean-pierre charras authored
-
- 30 Apr, 2014 1 commit
-
-
Lorenzo Marcantonio authored
- Converted the Next/Prev C casts to static casts and removed the type unsafe ones - Splitted as virtual the VIA::Flip member instead of using RTTI - Heavily refactored the 'unconnected track' cleanup routine - Misc constification
-
- 27 Apr, 2014 1 commit
-
-
jean-pierre charras authored
-
- 25 Apr, 2014 1 commit
-
-
Lorenzo Marcantonio authored
- SEGVIA becomes VIA - Drill size moved from TRACK to VIA - Removed shape from TRACK, becomes ViaType in VIA - GetTrace becomes GetTrack, for uniformity - Some minor constification and typo fixes
-
- 20 Mar, 2014 1 commit
-
-
Dick Hollenbeck authored
! The initial testing of this commit should be done using a Debug build so that all the wxASSERT()s are enabled. Also, be sure and keep enabled the USE_KIWAY_DLLs option. The tree won't likely build without it. Turning it off is senseless anyways. If you want stable code, go back to a prior version, the one tagged with "stable". * Relocate all functionality out of the wxApp derivative into more finely targeted purposes: a) DLL/DSO specific b) PROJECT specific c) EXE or process specific d) configuration file specific data e) configuration file manipulations functions. All of this functionality was blended into an extremely large wxApp derivative and that was incompatible with the desire to support multiple concurrently loaded DLL/DSO's ("KIFACE")s and multiple concurrently open projects. An amazing amount of organization come from simply sorting each bit of functionality into the proper box. * Switch to wxConfigBase from wxConfig everywhere except instantiation. * Add classes KIWAY, KIFACE, KIFACE_I, SEARCH_STACK, PGM_BASE, PGM_KICAD, PGM_SINGLE_TOP, * Remove "Return" prefix on many function names. * Remove obvious comments from CMakeLists.txt files, and from else() and endif()s. * Fix building boost for use in a DSO on linux. * Remove some of the assumptions in the CMakeLists.txt files that windows had to be the host platform when building windows binaries. * Reduce the number of wxStrings being constructed at program load time via static construction. * Pass wxConfigBase* to all SaveSettings() and LoadSettings() functions so that these functions are useful even when the wxConfigBase comes from another source, as is the case in the KICAD_MANAGER_FRAME. * Move the setting of the KIPRJMOD environment variable into class PROJECT, so that it can be moved into a project variable soon, and out of FP_LIB_TABLE. * Add the KIWAY_PLAYER which is associated with a particular PROJECT, and all its child wxFrames and wxDialogs now have a Kiway() member function which returns a KIWAY& that that window tree branch is in support of. This is like wxWindows DNA in that child windows get this member with proper value at time of construction. * Anticipate some of the needs for milestones B) and C) and make code adjustments now in an effort to reduce work in those milestones. * No testing has been done for python scripting, since milestone C) has that being largely reworked and re-thought-out.
-
- 18 Mar, 2014 1 commit
-
-
jean-pierre charras authored
-
- 09 Mar, 2014 1 commit
-
-
jean-pierre charras authored
-
- 08 Mar, 2014 1 commit
-
-
jean-pierre charras authored
Rework on 3D viewer (work in progress): Disable or enable layers, grid or 3D footprint shapes should be now faster.
-
- 05 Mar, 2014 1 commit
-
-
jean-pierre charras authored
-
- 30 Jan, 2014 1 commit
-
-
jean-pierre charras authored
-
- 25 Jan, 2014 1 commit
-
-
jean-pierre charras authored
-
- 13 Oct, 2013 1 commit
-
-
jean-pierre charras authored
specctra_export.cpp: fix a bug in my export function to 3D viewer which generates bad shapes for holes generated by outlines inside the main board outlines. specctra_export.cpp: always approximate arcs in outlines by 36 segm for 360 degrees, even for arc angle which differs from 90 degrees. 90 degrees is the default when creating an arc, but the arc value can be edited and have any value between 0 and 360 degrees. Previously, 9 segments were used regardless the arc angle.
-
- 07 Oct, 2013 2 commits
-
-
jean-pierre charras authored
-
jean-pierre charras authored
-
- 04 Oct, 2013 1 commit
-
-
jean-pierre charras authored
3D board display: better rendering of the board: the board polygon outlines (generated by the specctra function) is now used to create the 3D body of the board.
-
- 16 May, 2013 1 commit
-
-
jean-pierre charras authored
-
- 14 May, 2013 1 commit
-
-
jean-pierre charras authored
Pcbnew: fix bug 1179877, due a bad default copy constructor, after my changes about CPOLYGONS_LIST class. More about CPOLYGONS_LIST work.
-
- 09 May, 2013 1 commit
-
-
jean-pierre charras authored
Pcbnew: fix minor bug about plot line width.
-
- 08 May, 2013 1 commit
-
-
jean-pierre charras 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
-
- 06 Apr, 2013 2 commits
-
-
Lorenzo Marcantonio authored
-
Lorenzo Marcantonio authored
Charras beat me on fixing the include/sch_item_struct.h include issue from 4069
-
- 04 Apr, 2013 1 commit
-
-
Lorenzo Marcantonio authored
In particular the new mechanism for handling extended color palettes is in place, included renaming the ini keys and saving the color name instead of its index; this means better forward compatibility with palette changes. Since ini keys are changed, colors will be reset
-
- 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.
-
- 20 Mar, 2013 1 commit
-
-
Wayne Stambaugh authored
* Complete encapsulation of the ZONE_CONTAINER class. * Fixed a bug in the EDA_TEXT::Format() default effects behavior due to improper conversion to internal units and missing test for default thickness. * Improved grammar of some Pcbnew context menu strings. * Moved some more cleverly hidden BOARD object methods into class_board.cpp. * Lots of coding policy and documentation fixes.
-
- 18 Mar, 2013 1 commit
-
-
Wayne Stambaugh authored
* Complete encapsulation of the MODULE class. * Complete encapsulation of the EDA_TEXT class. * Encapsulate most of the ZONE_CONTAINER class. * Add pcbcommon library as a dependency for reSWIGging the scripting support. This should cover most dependency cases.
-
- 14 Mar, 2013 1 commit
-
-
jean-pierre charras authored
-
- 13 Mar, 2013 1 commit
-
-
Wayne Stambaugh authored
* Encapsulate most of the MODULE class. * Start encapsulating the DIMENSION class. * Lay some groundwork for EDA_TEXT encapsulation. * Move cleverly hidden MODULE functions into class_module.cpp. * Use std::swap to exchange TEXTE_PCB values for undo/redo. * Remove unused members from MODULE class. * The usual coding policy and documentation fixes.
-
- 13 Jan, 2013 1 commit
-
-
Heikki Pulkkinen authored
-
- 15 Dec, 2012 1 commit
-
-
jean-pierre charras authored
-
- 04 Oct, 2012 1 commit
-
-
jean-pierre charras authored
Pcbnew: fix an issue when collecting vias (for instance when left clicking on a via, it was not always detected) This bug was mainly noticeable when using buried vias (some were never detected) Minor other fixes (typos, strings hard to translate ...)
-
- 11 Sep, 2012 1 commit
-
-
jean-pierre charras authored
Code cleaning, minor fixes and minor coding style fixes. wxWidgets 2.9.4 compatibility fix( deprecated function MakeModal )
-
- 28 Aug, 2012 1 commit
-
-
jean-pierre charras authored
-
- 27 Aug, 2012 1 commit
-
-
jean-pierre charras authored
-