Commit f311bb4d authored by jean-pierre charras's avatar jean-pierre charras
Browse files

Pcbnew:

    Enhanced algorithms to calculate board connections:
    Previously, a track was seen connected to a pad only if the track end is
    exactly on the pad position.
    Now a track is seen connected to a pad if the track end is inside the pad shape.
    Algorithm to calculate pads connections to track is still very fast.
    However some other functions (drag pads, track len calculation ...)
    still need the track end exactly on the pad position.
Dead code removal.
parent 2ae221d9
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -4,6 +4,16 @@ KiCad ChangeLog 2010
Please add newer entries at the top, list the date and your name with
email address.

2011-Dec-04, UPDATE Jean-Pierre Charras <jean-pierre.charras@gipsa-lab.inpg.fr>
================================================================================
Pcbnew:
    Enhanced algorithms to calculate board connections:
    Previously, a track was seen connected to a pad only if the track end is
    exactly on the pad position.
    Now a track is seen connected to a pad if the track end is inside the pad shape.
    Algorithm to calculate pads connections to track is still very fast.
    However some other functions (drag pads, track len calculation ...)
    still need the track end exactly on the pad position.

2011-Nov-27 UPDATE Dick Hollenbeck <dick@softplc.com>
================================================================================
@@ -40,7 +50,7 @@ Pcbnew:

2011-Sept-01, UPDATE Jean-Pierre Charras <jean-pierre.charras@gipsa-lab.inpg.fr>
================================================================================
    Add Fabrizio Tappero <fabrizio-dot-tappero[at]gmail-dot-com> in contribuotors list.
    Add Fabrizio Tappero <fabrizio-dot-tappero[at]gmail-dot-com> in contributors list.
Eeschema:
    Graphic texts ans labels: fix fully broken undo/redo code relative to the way undo/redo command
    handles changes (maintly move) for labels
+3 −11
Original line number Diff line number Diff line
@@ -933,19 +933,11 @@ public:
    bool Other_Layer_Route( TRACK* track, wxDC* DC );
    void HighlightUnconnectedPads( wxDC* DC );

    /**
     * Function DisplayNetStatus
     * shows the status of the net at the current mouse position or the
     * PCB status if no segment selected.
     */
    void DisplayNetStatus( wxDC* DC );

    /**
     * Function Delete_Segment
     * removes 1 segment of track.
     * 2 cases:
     * If There is evidence of new track: delete new segment.
     * Otherwise, delete segment under the cursor.
     * removes a track segment.
     * If a new track is in progress: delete the current new segment.
     * Otherwise, delete segment under the mouse cursor.
     */
    TRACK* Delete_Segment( wxDC* DC, TRACK* Track );

+271 −138

File changed.

Preview size limit exceeded, changes collapsed.

+0 −15
Original line number Diff line number Diff line
@@ -216,21 +216,6 @@ bool PCB_EDIT_FRAME::Other_Layer_Route( TRACK* aTrack, wxDC* DC )
}


void PCB_EDIT_FRAME::DisplayNetStatus( wxDC* DC )
{
    TRACK* pt_segm;
    int    layerMask = (1 << getActiveLayer());
    wxPoint pos = GetScreen()->RefPos( true );

    pt_segm = GetBoard()->GetTrace( GetBoard()->m_Track, pos, layerMask );

    if( pt_segm == NULL )
        GetBoard()->DisplayInfo( this );
    else
        TestNetConnection( DC, pt_segm->GetNet() );
}


void PCB_EDIT_FRAME::Show_1_Ratsnest( EDA_ITEM* item, wxDC* DC )
{
    D_PAD*   pt_pad = NULL;
+40 −45

File changed.

Preview size limit exceeded, changes collapsed.