-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Add additional Drag USECASES for parts in parts tree #11
Comments
Yes it is not yet implemented but should not be that hard as shown in your TODO. I'm also thinking of enabling multi-select for complete drag and drop use case, but this will probably also affect the REST API. |
Good idea on the multi-select. I have no pressing requirement for either. So I can look at sorting it out but will be a bit later. I am working on the integration with schematic component selection so need to look at getting Footprints easily and correctly populated and matching with kicad standard .pretty libraries. I will raise a [FEATURE] around footprints and put forward some suggestions. What are your thoughts around the BOM tab, I require to be able to select parts into the schematic from the curated parts list maintained in kipartman. I also have the import and export pluging working, just need to do some final checks and publish, That drag and drop issue sucked up to much time. |
I think this is same subject as issue #4, I was imagining creating the kicad parts and footpring libraries directly from the content of kipartman bu design is yet to be thought.
For now kipartman allows the user to match the parts inside the schematic with parts stored in kipartman, here is the workflow I use :
There is currently no strong link with PCB, you can match a kiparman part with a kicad part wrong footprint and it will not complain. And there is also no link with the schematic, as you noticed there is things to improve there. Can you describe more precisely the workflow you see with boms-away? |
Thanks for the great explanation. I am amending some diagrams and drawings and will post tomorrow. |
I detected a problem with drag and drop on Linux with wxPython (4.0.0b2): |
This workaround for a wxWidgets issue under windows will be the problem kipartman/kipartman/helper/tree.py Line 432 in 59d41cb
We are certainly going to have platform dependencies. Have you any recommendation how best to handle this ? Further links to wxWidget issue :: kipartman/kipartman/helper/tree.py Line 420 in 59d41cb
|
It reminds me something I read sometimes ago. There was an open issue about header columns (I don't remember where, will try to find it back), when they are shown it seems that the origin of the viewport has a wrong shift of the header height.
I found this https://stackoverflow.com/questions/1854/python-what-os-am-i-running-on, having platform dependent code is not always avoidable but it seems straightforward with python.
|
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
see kipartman/frames/parts_frame.py
#TODO: comments 5f3a8f4
The text was updated successfully, but these errors were encountered: