- 08 May, 2013 1 commit
-
-
jean-pierre charras authored
-
- 07 May, 2013 2 commits
-
-
jean-pierre charras authored
Eechema: fix bug : when saving the schematic project, the lib cache was saved under the current sheet opened, not the root sheet. Pcbnew: clamp default plot line width between 0.02 and 2 mm. the other bug (saving this parameter in internal units instead of mm is not fixed)
-
Lorenzo Marcantonio authored
(explanation: float is implicitly promoted to double anyway, it's only useful for storage; also a fp variable forces conversion of other int in the expression without needing a cast) Typo fixes in some comments 'floatting' -> 'floating' :D
-
- 06 May, 2013 3 commits
-
-
Wayne Stambaugh authored
-
Lorenzo Marcantonio authored
Mass parameters in gerbers can't use scientific notation (altough some software allow it), so the %g format was not correct.
-
jean-pierre charras authored
-
- 05 May, 2013 3 commits
-
-
Lorenzo Marcantonio authored
-
Lorenzo Marcantonio authored
A specctra layer is not a LAYER_NUM, so that's probably why it was difficult to use.
-
Lorenzo Marcantonio authored
The plan goes like this: - eeschema still uses int in decidegrees - all the other things internally use double in decidegrees (or radians in temporaries) - in pcbnew UI the unit is *still* int in decidegrees The idea is to have better precision everywhere while keeping the user with int i angles. Hopefully, if a fractional angle doesn't come in from the outside, everything should *look* like an integer angle (unless I forgot something and it broke) When the time comes, simply updating the UI for allowing doubles from the user should be enough to get arbitrary angles in pcbnew.
-
- 04 May, 2013 1 commit
-
-
Lorenzo Marcantonio authored
-
- 03 May, 2013 2 commits
-
-
jean-pierre charras authored
This is a starting point of some code enhancements relative to polygons in Pcbew and 3D viewer.
-
Felix Morgner authored
Adds "kicad_pcb" to the list of file-extensions for PCBnew in its Info.plist to make Launch Services recognize the file associations. Change 8 bit string to UTF8 so fancy mew in "um" can be shown.
-
- 02 May, 2013 5 commits
-
-
Lorenzo Marcantonio authored
Note: ArcTangente gives a double but *takes* ints, so it's not good to use for nontrivial things
-
jean-pierre charras authored
-
Lorenzo Marcantonio authored
New conversion routines and sin/cos implementation for angles in decidegrees
-
Dick Hollenbeck authored
-
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.
-
- 01 May, 2013 5 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
-
Dick Hollenbeck authored
-
Dick Hollenbeck authored
-
Dick Hollenbeck authored
-
- 30 Apr, 2013 4 commits
-
-
Dick Hollenbeck authored
-
Dick Hollenbeck authored
-
Dr. Thomas Spindler authored
Interior regions on Edge.Cuts are out as keepouts for specctra DSN file and downstream routers. Point to point matching during polygon assembly can have individual thresholds, one for board edge and another for interior polygons. This is more forgiving for sloppy graphical mousers, or those that work without grid snap on. Currently the threshold for board edge is at zero, meaning the board edge has to be precisely defined as a polygon, just as before. But it is easily tunable for experimentation.
-
Lorenzo Marcantonio authored
-
- 29 Apr, 2013 4 commits
-
-
Wayne Stambaugh authored
* Fixed a bug in PCB_EDIT_FRAME::loadFootprints when no footprint libraries are found when attempting to load footprints. * Add a warning to PCB_EDIT_FRAME::loadFootprints to inform the user when a footprint library file cannot be found in any of the standard library search paths. * Changed FOOTPRINT_INFO::m_padCount to unsigned to prevent signed/unsigned comparison compiler warnings. * Put NestedSpace() function in netlist_reader.cpp inside conditional debug build statement to prevent warning in release builds.
-
Felix Morgner authored
-
Felix Morgner authored
This seems to me like the defacto standard for this menu command. * Added a default filename for save as. Currently it's set to "Unnamed file" using _() so its translatable. * Changed the save dialog in PCBnew to use the path of the "original" file as a base for the new file.
-
Dick Hollenbeck authored
-
- 28 Apr, 2013 6 commits
-
-
Felix Morgner authored
-
Wayne Stambaugh authored
* Fix both legacy and s-expression netlist readers when footprints are assigned in the netlist. * Add some helper functions to NETLIST for detecting when footprints are set or not set and when they have been changed while loading the .cmp file. * Rename a few functions to improve their readability.
-
Lorenzo Marcantonio authored
-
Lorenzo Marcantonio authored
In most case the assignment to null was not necessary since it was easily provable that the (local) variable wouldn't have referenced after that anyway.
-
Lorenzo Marcantonio authored
-
jean-pierre charras authored
Pcbbnew: fix bug Bug #1172892 (bad drill map file names, when a point is used inside a board file name)
-
- 27 Apr, 2013 2 commits
-
-
Felix Morgner authored
-
Dick Hollenbeck authored
-
- 26 Apr, 2013 2 commits
-
-
Felix Morgner authored
-
Wayne Stambaugh authored
* Tweak the NETLIST_READER code to allow for component footprint names that are not found in any library to generate a warning instead of an error and update the board accordingly. * Don't display undo warning in netlist dialog when dry run option selected. * Rename netlist_reader_common.cpp to netlist_reader.cpp * Rename netlist_reader_firstformat.cpp to legacy_netlist_reader.cpp * Rename netlist_reader_kicad.cpp to kicad_netlist_reader.cpp * Remove cvpcb/read_write_cmpfile.cpp and move the single function it contained into cvframe.cpp * Remove cvpcb/loadcmp.cpp and move the single function it contained into class_DisplayFootprintsFrame.cpp. * Remove cvpcb/readschematicnetlist.cpp and move the single function it contained into cvframe.cpp. * Remove cvpcb/setvisu.cpp and move the few functions it contained into the appropriate source file.
-