leocad
leocad copied to clipboard
Filter parts by set
Hi,
Thanks for this great tool! I have a feature request, though it may be that I'm ignorant and its already possible somehow - please forgive me if so, I'm new to Lego modelling.
My use case is that I have a physical Lego set - specifically Lego Education WeDo 2.0. I want to create some models in LeoCad using only parts from this set. This would be much easier for me if:
- LeoCad could allow me to filter parts only from specific sets. This would enable me to scroll/browse around to find parts rather than searching by brick number each time, (which I currently use an external reference for - afaict this particular Lego set doesn't show part numbers in the physical supplied parts list card) and I feel would save me lots of time
- When I use a part, it could count how many of that part is left from those sets and hide or disable those that have been fully used
- restrict the available colors of a part to those in the set(s) I filtered
What do you think? Is there some other way I could improve my current workflow without requiring any changes to this awesome software? (sorry if this isn't the best place to ask for workflow advice)
Thanks for your time :)
@keith-hall this is already possible, you can browse parts used in the model using the filter that's is already built into the parts widget, in the upper list, called 'Parts in use'
Thanks for the advice @nathaneltitane :) but what if I am modelling something new, and am starting from a blank state? then, there are no parts in use currently, so I would like to filter by set to easily find parts available to me for building in the real world. or to help me record something I made in the real world so I can document the building instructions ;) I guess I could build a fake model, whereby I add all parts from the set I am interested in, and copy from that into the model I am building, but it doesn't seem ideal to me.
Having the search results show up in a separate list box (this may be similar to what you were describing recently at https://github.com/leozide/leocad/issues/401#issuecomment-570945487) could also be a huge help, assuming searching by set number or name would work (I didn't try yet and I'm not at a computer to computer to test it right now)
Well in the case of a new model, it builds up that list as you use the parts.
If you introduce or merge any submodel from a. Previous file containing what you're interested in, it can have the same effect you are describing.
Bottom line, if you do not populate the model file with parts, that entry remains empty
If you have a predefined part list with LDraw part descriptions for the model you wish to build, you can use it to create and import a custom part category list.
To see the category list format, export an existing category/set of categories. As far as I can tell, category entries key on the part name (description).
Cheers,
This is an often requested feature, I started working on part of it last month but didn't finish it.
Right now you can use File->Import Set Inventory and it will add all parts from a set to the current model.
I can import the parts into a custom category fairly easily, but counting parts will take some work.
220fb26a3ab463aba5a1f8d9aeba314527cbca26 will let you import a set inventory to a palette (without color or quantity)
Is there something to add to this issue, or can it be closed as fixed?
I still need to add color and quantity