Commit 4ef16f53 authored by charras's avatar charras
Browse files

pcbnew: added BOM generator (in postprocess menu)

parent 534a64b4
Loading
Loading
Loading
Loading
+6 −1
Original line number Original line Diff line number Diff line
@@ -4,7 +4,12 @@ KiCad ChangeLog 2009
Please add newer entries at the top, list the date and your name with
Please add newer entries at the top, list the date and your name with
email address.
email address.


2009-mar-28 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
2009-mar-30 UPDATE Jean-Pierre Charras <jean-pierre.charras@gipsa-lab.inpg.fr>
================================================================================
++pcbnew:
    added BOM generator (in postprocess menu)

2009-mar-28 UPDATE Jean-Pierre Charras <jean-pierre.charras@gipsa-lab.inpg.fr>
================================================================================
================================================================================
++All
++All
    code cleanup in project_config.cpp.
    code cleanup in project_config.cpp.
+1 −1
Original line number Original line Diff line number Diff line
@@ -737,7 +737,7 @@ enum main_id {
	ID_MENU_PCB_SHOW_3D_FRAME,
	ID_MENU_PCB_SHOW_3D_FRAME,
	ID_PCB_USER_GRID_SETUP,
	ID_PCB_USER_GRID_SETUP,
	ID_PCB_DISPLAY_FOOTPRINT_DOC,
	ID_PCB_DISPLAY_FOOTPRINT_DOC,
	ID_PCBUNUSED2,
	ID_PCB_GEN_BOM_FILE_FROM_BOARD,
	ID_PCBUNUSED3,
	ID_PCBUNUSED3,
	ID_PCBUNUSED4,
	ID_PCBUNUSED4,
	ID_PCBUNUSED5,
	ID_PCBUNUSED5,
+14 −1
Original line number Original line Diff line number Diff line
@@ -422,7 +422,20 @@ public:
    bool             SavePcbFile( const wxString& FileName );
    bool             SavePcbFile( const wxString& FileName );
    int              SavePcbFormatAscii( FILE* File );
    int              SavePcbFormatAscii( FILE* File );
    bool             WriteGeneralDescrPcb( FILE* File );
    bool             WriteGeneralDescrPcb( FILE* File );
    bool             RecreateCmpFileFromBoard();

    /**
     * Function RecreateBOMFileFromBoard
     * Recreates a .cmp file from the current loaded board
     * this is the same as created by cvpcb.
     * can be used if this file is lost
     */
    void             RecreateCmpFileFromBoard(wxCommandEvent & aEvent);

    /**
     * Function RecreateBOMFileFromBoard
     * Creates a BOM file from the current loaded board
     */
    void             RecreateBOMFileFromBoard(wxCommandEvent & aEvent);


    void             ExportToGenCAD( wxCommandEvent& event );
    void             ExportToGenCAD( wxCommandEvent& event );


+3 −0
Original line number Original line Diff line number Diff line
@@ -42,10 +42,13 @@ const wxChar* s_AllowedExtensionsToList[] =
    wxT( "^.*\\.net$" ),
    wxT( "^.*\\.net$" ),
    wxT( "^.*\\.txt$" ),
    wxT( "^.*\\.txt$" ),
    wxT( "^.*\\.pho$" ),
    wxT( "^.*\\.pho$" ),
    wxT( "^.*\\.gbr$" ),
    wxT( "^.*\\.odt$" ),
    wxT( "^.*\\.odt$" ),
    wxT( "^.*\\.sxw$" ),
    wxT( "^.*\\.sxw$" ),
    wxT( "^.*\\.htm$" ),
    wxT( "^.*\\.htm$" ),
    wxT( "^.*\\.html$" ),
    wxT( "^.*\\.html$" ),
    wxT( "^.*\\.rpt$" ),
    wxT( "^.*\\.csv$" ),
    NULL                    // end of list
    NULL                    // end of list
};
};


+1 −0
Original line number Original line Diff line number Diff line
@@ -15,6 +15,7 @@ set(PCBNEW_SRCS
    block.cpp
    block.cpp
    block_module_editor.cpp
    block_module_editor.cpp
    board.cpp
    board.cpp
    build_BOM_from_board.cpp
    class_board_item.cpp
    class_board_item.cpp
    class_drawsegment.cpp
    class_drawsegment.cpp
    class_edge_mod.cpp
    class_edge_mod.cpp
Loading