GithubHelp home page GithubHelp logo

kipartman's People

Contributors

auphofbsf avatar turdusmerula avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

kipartman's Issues

[FEATURE] Add additional Drag USECASES for parts in parts tree

In testing #8 Drag and Drop functionality in Parts Tree seemed to be missing these usecases.

USE CASE: 1. Drag a part in the tree_parts onto an line that is a Category Path
Essentially changing a parts category

USE CASE: 2. Drag a category in the tree_parts onto a line That is a Category path
Essentially changing all items to a sub category of the selected Category path

This works on the Categories Tree

see kipartman/frames/parts_frame.py
#TODO: comments 5f3a8f4

[FEATURE] Enhance configuration window

There is still items to be added to the configuration windows:

  • choice of default user currency
  • path to kicad in case of several instances or not found in system path

[BUG] Octopart lookup occasionally throws "List Index out of Range ?" error

OctopartExtractor Method GetUnits catching error for unit not in kipartbase.
A TODO: is marked in code to create unit if not found.

Commit f7cc013
improves the warning/error displayed and updates todo

Does the Api need extending with a add_unit method ?,
Will this be a Swagger spec to be created ?

Additionally

  1. the UnitPrefix should have the same treatmentent
  2. Modal Error messages should possibly be directed to logging ( this is probably through out codebase)
  3. If Errors in Octopart Lookup happen, should they be added to the part comment field ?

[FEATURE] Add grouping criterias to enhance metapart concept

Allow to automatically group parts upon some criteria inside a metapart:

For example a 10k - 0805 metapart could match all parts with :

  • resistance = 10k
  • footprint = 0805

And another part 10k - 0805 - 1% would match all parts with matching parameters:

  • resistance = 10k
  • footprint = 0805
  • tolerance = 1%

[FEATURE] Realtime Update Kicad Eeschema fields with design data in kipartman

As discussed in #4
We can now successfully populate kicad fields from kipartman data in realtime
kipartman17w50b21
HD MP4 version of above GIF @ https://vimeo.com/247526685

This Enhancement is in prototype so is immature (not fully developed) but stable for component Properties Edit, Kicad Eeschema. This enhancement at present will only work in a Windows environment, . As such I think it should stay on a development branch. It will expand, mutate and change, I will sync it with master periodically. For the moment I have published to my Fork https://github.com/auphofBSF/kipartman/tree/FEATURE17W48-KICADlink-Eeschema.

The python classes I am using are developing for linux as well, and MSW specific functions are separated. The method to do the integration with kicad is using the UIA (User interface Accessibility) interfaces to monitor for window/dialog s ,to then parse and automate there field manipulation. This enhancement adds multi-process and threads to improve and isolate functionality for smooth UI processing between Kicad and Kipartman

TODO:

Handle corner cases, Kicad not running and Kicad Eeschema (Schematic) , fields not defined
Kicad Eeschema add component to schematic - Automate Dialog from Kipartman
Kicad Eeschema schematic Component Table View - Automate Dialog from Kipartman

Wishes

Ideally there should be better API and extension support in eeschema,

Items to explore:

see: http://docs.kicad-pcb.org/doxygen/v5_road_map.html#v5_sch_plugin

[BUG?] PARTS, Drag and Drop functionality not working smoothly

Dragging part over category items (Left pane) indicates no options
image

However dragged to the top of frame displays + on the floating tooltip and then usually drags into the top most displayed category but not always
image

Trying to debug various other issues with Drag and Drop . I have some patches that improve error handling and debugging I will publish as pull requests, but as yet no solution.

[FEATURE] Import and Export of part lists

Provide a means for exporting and importing of parts lists.

  1. allow for a plugin architecture to enable easy integration with other Kicad tools
  2. This could form the basis of moving parts from 1 category to another

I have already a working prototype with export to csv or SQL database and import from SQL through a plugin architecture. It has all the core parts but is currently hardcoded into Kipartman for SQLimport, I have a few tidyup's todo and I will publish in the next day or 2 a working branch with this support for comment and possible integration.

My primary goals are,

1 populate kipartman parts list with existing detailed inventory in my MRP system (maintained in Odoo)
2 retrieve in kipartman component data using the octopart / snapeda interfaces
3 automatically populate the @http://joshuacox.github.io/bomsaway schematic component selection tool

Secondary goals

1 update the Odoo MRP bom directly from (Git version controlled schematic / pcb)
2 update Odoo MRP database with a richer component data

[BUG] Prevent adding a part to itself

Adding a part to itself should be forbidden as it corrupts the database.
This is a regression, checks are already implemented but not working well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.