aboutsummaryrefslogtreecommitdiff
path: root/src/ee/part/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* part: Adding category concept.Trygve Laugstøl2019-10-161-1/+60
| | | | Useful for later classifiying components.
* part: Adding description property to Part.Trygve Laugstøl2019-10-161-0/+4
|
* 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.
* split-parts-by-supplier: rename to split-bom-by-supplier.Trygve Laugstøl2019-06-141-1/+1
| | | | digikey-create-bom: Implementing CSV generation for Digi-Key.
* 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.
* common_fact_types: Adding key for footprint.Trygve Laugstøl2019-05-201-0/+3
| | | | | | | | | | 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-201-4/+48
| | | | | | | | | 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-141-9/+16
| | | | | | | | | 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-111-6/+196
| | | | | | 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.
* o Renaming part-create-distributor-search-list to pn-part-search-list.Trygve Laugstøl2019-04-131-0/+11
| | | | | Making the search more narrow, it is only responsible to find parts based on MPN or SPN.
* ee.xsd:Trygve Laugstøl2019-03-281-9/+150
| | | | | | | | | | | | | 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.
* 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-151-18/+6
| | | | | | | | 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-151-42/+14
| | | | <part-db> document.
* o Merging XSD files into one.Trygve Laugstøl2019-03-151-10/+10
|
* 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-271-1/+4
| | | | | | 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-261-0/+103
file per part. o Switching xml-based code to use PartDb.