gumyr/build123d

Add ColorLike with Color and CSS color string

Opened this issue · 0 comments

As an enhancement, add ColorLike = Union[Color, str] and allow CCS strings as .color attribute, e.g. obj.color="aliceblue"

Note: Open cascade color names and CSS color names are not identical. Open cascade has most of the CSS names, but e.g. not "crimson", but it does have the same color with different prefixes ("1", "2", "3", "4") that have different vales