aboutsummaryrefslogtreecommitdiff
path: root/src/ee/part
Commit message (Collapse)AuthorAgeFilesLines
* ee.part.bom: Creating a proper Bom class to keep BomLines.Trygve Laugstøl2019-08-231-18/+23
| | | | digikey-create-bom: Adding support for --quantity.
* kicad.dl: Always add fact-type/value for all components. Still addingTrygve Laugstøl2019-08-151-2/+2
| | | | | | the more specific values for known part types. bom: Use the correct URI for finding the value. Don't die if a part has both value and mpn, and they reference the same part.
* bom-to-csv: Starting on a generic tool to generate CSV files from BOMs.Trygve Laugstøl2019-06-141-6/+56
|
* split-parts-by-supplier: rename to split-bom-by-supplier.Trygve Laugstøl2019-06-142-1/+111
| | | | digikey-create-bom: Implementing CSV generation for Digi-Key.
* create-bom: Adding a way to ignore schematic entries from the bom withTrygve Laugstøl2019-06-121-0/+2
| | | | the new "include-in-bom" fact.
* kicad.dl: Classifying net-ties and test points as such.Trygve Laugstøl2019-05-292-17/+20
| | | | | pn-part-search-list: Better value-based searches. Better filtering of irrelevant parts.
* create-bom: Don't skip unmatched parts from the BOM.Trygve Laugstøl2019-05-281-0/+3
| | | | | | part-validate-parts: Read parts from the schematic, BOM and supplier's parts for even better rules. Enhancing footprint rule to check that the BOM part has the same footprint.
* part-find-requirements: wipTrygve Laugstøl2019-05-263-8/+24
|
* o Creating a map_footprints function for digikey's footprints similar toTrygve Laugstøl2019-05-211-0/+38
| | | | kicad's function.
* common_fact_types: Adding key for footprint.Trygve Laugstøl2019-05-203-1/+7
| | | | | | | | | | functions: o Changing the structure of the functions, they're now factories that will be given kwargs and must return a function that processes the parts. o Adding new function to default set; 'map_footprint' that maps the KiCAD footprints to common footprints. part_validate_parts: Using only common keys.
* ee:Trygve Laugstøl2019-05-204-4/+114
| | | | | | | | | o Adding FactType as a smaller wrapper around the fact uri. o Adding ee.part.Facts, used as Part.facts o Renaming 'type' uri to 'ee-component-type'. kicad-make-bom: Removing strategy functionality, replaced with part-apply-function. Moving default strategy contents into ee.kicad.functions.
* ee.logging: New module to handle logging. Need something better forTrygve Laugstøl2019-05-141-0/+15
| | | | | messages too. create-bom: Resolving parts from their value fact too.
* ee.xsd:Trygve Laugstøl2019-05-142-22/+55
| | | | | | | | | o Removing distributor info, wasn't useful. o Removing part type, using a fact instead. part-search-list: o Putting in some smart rules about values for parts. Might be too smart for its own good. o Removing duplication checking, that is up to the searcher to decide.
* drawio-to-parts: new tool.Trygve Laugstøl2019-05-112-10/+201
| | | | | | ee.xsd: new type: Assembly and AssemblyPart. Should probably be its own file type. ee.part: Better DSL instead of using the raw xml types.
* kicad: Better export:Trygve Laugstøl2019-05-071-0/+10
| | | | | * Allow unannotated parts in the export. * Export value and footprint too.
* part:Trygve Laugstøl2019-04-301-5/+0
| | | | o Removing debugging info.
* part:Trygve Laugstøl2019-04-301-0/+61
| | | | o Experimental importer from Excel-like files.
* o Renaming part-create-distributor-search-list to pn-part-search-list.Trygve Laugstøl2019-04-132-4/+15
| | | | | Making the search more narrow, it is only responsible to find parts based on MPN or SPN.
* create-distributor-search-list: Ignore mechanical parts.Trygve Laugstøl2019-03-282-1/+12
| | | | | | create-order: Adding an option for a strategy to ignore/modify parts. ninja/init: Moving strategy from ninja to init so they're more persistent.
* seeed-download-oplTrygve Laugstøl2019-03-281-2/+2
| | | | | | | o Change to download one OPL at the time. Enables Ninja to run the downloads concurrently. init/ninja: o Learning about seeed-download-opl.
* ee.xsd:Trygve Laugstøl2019-03-282-16/+158
| | | | | | | | | | | | | o Renaming <part-uri> to <part-reference>. o Adding <supplier> on <part>, removing from <supplier-part-number>. A part can have exactly one part. create-order: o Creating anonymous part objects, with two references, one schematic reference and one part-uri reference to the selected part. o Redoing how the order is calculated with the new ObjDb structure. ee.part.Part: o Absorbing bom_file_utils into Part. Much better wrapper object around the xml goop.
* ninja tool: changing to generate the files in the current directory.Trygve Laugstøl2019-03-251-0/+13
| | | | | build.ninja.j2: nits. olinuxino: Improving parsing of part values.
* xsd:Trygve Laugstøl2019-03-231-3/+2
| | | | | | | | | | | o Adding <link> list on <part>. For media, datasheets etc. digikey: o Parsing out media. PartDb: o starting on a more generic object db with indexes. order: o Using the new object db for building data while resolving parts. o Creating a report from the order.
* Refactoring:Trygve Laugstøl2019-03-152-23/+11
| | | | | | | | o Renaming part.id to part.uri. Changing to URIs and use that as an identifier if the part is known. Schematic part does not have an URI. o Merging <schema-reference> and <part-numbers> into <references> o Creating <part-uri> as a possible <reference>. Used by order to point to other parts.
* o Switching PartDb to serialize into many xml files into a singleTrygve Laugstøl2019-03-152-47/+17
| | | | <part-db> document.
* o Merging XSD files into one.Trygve Laugstøl2019-03-152-12/+12
|
* o Adding module for searching on element14.Trygve Laugstøl2019-03-151-2/+3
| | | | | | | o Starting on functionality create orders. Very WIP. o Adding a concept of an "ee project". Can load a gitconfig-like config file. o Adding a tool to import a yaml file into a part xml file.
* o PartDB: don't die if the directory exist *and* is empty. Ninja createsTrygve Laugstøl2019-03-041-2/+4
| | | | | | empty parent directories. o PartDB: escape some path names. o new comamnd: "ninja". Generates a build.ninja from a sch. Not done!
* o Emptying the directory before trying to remove it.Trygve Laugstøl2019-02-281-0/+4
|
* o Always sorting index.xml for better git diffs.Trygve Laugstøl2019-02-272-3/+9
| | | | | | o Normalizing more Digikey facts. o When creating distributor search lists, create a new plain <part> with containing only the part numbers.
* o Creating a PartDb that manages a file system directory with one xmlTrygve Laugstøl2019-02-262-0/+136
file per part. o Switching xml-based code to use PartDb.