compas-dev / compas-dev/compas

GhPython mesh artist issues with color handling

Open
#1,060 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
386
Forks
122
Avg merge
11d 46m
Merged PRs (30d)
1

Description

The GH python mesh artist makes too many assumptions about color handling, specifically, there are (at least two issues):

* If a color is specified, it is converted to `rgb255` when creating the object, which discards the alpha value of the color. This could be fixed by changing all `rgb255` instances to `rgba255`
* It seems impossible to not define a color and get Rhino's default color. This might actually be intentional, but it's a bit of a questionable default behavior.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.