leocad icon indicating copy to clipboard operation
leocad copied to clipboard

Feature proposal: Named colors

Open felipesanches opened this issue 1 year ago • 4 comments

When working on a model, a designer may want to assign specific colors to each selection of related LEGO pieces and then be able to easily change their color assignment.

Currently one would have to manually select all pieces to do so. Or maybe keep those pieces grouped. Manually picking pieces is tedious and error prone. Keeping the pieces grouped gets in the way of easy editing because one would have to ungroup-edit-regroup (or perform other cumbersome gymnastics), while making changes to the model.

I propose the implementation of a new feature, that I call "Named Colors" which would be a way for users to create custom color palettes that are just a set of aliases to the official LEGO palette, but that would allow colors to have semantically meaninful names in the context of the model being built such as "Ground floor walls", "Chair seats", "Roof", "Windows", "Car 1", "Car 2", "Bicycle", "Staircase steps", "Handrails", etc. Then editing the named colors, alters the effective LEGO color assignment of the pieces that have that named-color assigned.

This can be seen as being analogous to some sort of "CSS style-sheets" for a LEGO model ;-)

felipesanches avatar Aug 08 '23 15:08 felipesanches