- 05 May, 2013 2 commits
-
-
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.
-
- 25 Apr, 2013 6 commits
-
-
Felix Morgner authored
-
Felix Morgner authored
-
Felix Morgner authored
-
Wayne Stambaugh authored
* Create separate NETLIST object to hold contents of netlist files. * Read entire netlist and footprint link files before making applying changes to board. * Add BOARD::ReplaceNetlist() function to eliminate the calls between the NETLIST_READER, PCB_EDIT_FRAME, and BOARD objects. * Change placement of new components below the center of the current board or in the center of the page if the BOARD is empty. * Add dry run option to netlist dialog to print changes to message control without making changes. * Add button to netlist dialog to allow saving contents of message control to a file. * Eliminate the need to compile netlist_reader_*.cpp in both CvPcb and Pcbnew. * Add netlist_reader_*.cpp to the pcbcommon library. * Remove redundant load component link file code from CvPcb. * Modify CvPcb new to work with the new NETLIST_READER object. * Add compare() function and < and == operators to FPID object. * Add REPORTER class to hide an underlying string writing implementation for use in low level objects. Thank you Dick for the idea. * Lots of minor coding policy, Doxygen comment, and missing license fixes.
-
Dick Hollenbeck authored
pcb_parser failed on (fill yes (arc_segments 16) (thermal_gap 1.99898) (thermal_bridge_width 1.99898)) See http://tech.groups.yahoo.com/group/kicad-users/message/15105
-
jean-pierre charras authored
-
- 22 Apr, 2013 1 commit
-
-
Felix Morgner authored
-