Inspired by MarbleMachineX and NASA's PBS.
PBS spreadsheet includes macros to generate a Bill Of Materials (BOM).
Example Google Spreadsheet (license: CC BY-SA Wintergatan, Andrew Smart). Example spreadsheet also included as '01 - Product Breakdown Structure - Dexter.ods' in this repo, but macros.gs won't work on it.
Other files in this repository are licensed by GPLv2.
macros.gs consists of javascript macros (which use the Google Apps Script API) meant for use within a Google Spreadsheet. The macros classify CAD components, assign PBS #'s to components, and generate Bill Of Materials.
export_to_pbs_csv.FCMacro consists of FreeCAD python macros meant for use within FreeCAD. It processes a FreeCAD model (possibly imported as a STEP file exported from a different CAD suite) and outputs a CSV meant for import into the PBS spreadsheet. Intended to speed up the update of the PBS document as the CAD model is updated. Tested against FreeCAD 0.17 Revision: 12595 (Git).