Catgories filter syntax - do not show '~' parts in categories
Category name: Rim Category Filter: ^%Wheel Rim & !(%= | %_ | ^Pattern | ^Sticker)
'~' parts are showing at end of category
How do I prevent parts starting with special characters in general from appearing in custom categories?
@app4soft any related issue or trick to help? Thanks
Its probably somehow related to how LeoCAD handles "Helpers"/"Third Party" parts, which has | symbol in the title:
- https://github.com/leozide/leocad/issues/941#issuecomment-2419000519
- Parts with
~_=|prefixes are shown in "All Parts" list;- But, parts with
|in the prefixes are not shown in appropriate categories, even such parts has!CATEGORYcommand defined.- If create a new category with matching keywords, parts with
|in the prefixes appears in a such new category;- All parts with
|in the prefixes are recognized as "Decorated Parts", even there are parts not decorated at all.
I'm not sure its possible to hide parts with ~ symbol in the title (if only not just manually edit all the categories in "Properties > Categories")
@leozide, I propose to add 4 extra checkboxes in "Properties > Categories" to show/hide parts with special prefix symbols:
- Show parts with special prefixes
-
[*] ~(Subparts) -
[*] =(Aliases) -
[*] |(Helpers and Third Party parts) -
[ ] _(Physical colour parts) — this should be turned off by default.
-
This would solve both, this and https://github.com/leozide/leocad/issues/941 issues.